Fix ldbl-128ibm fmodl handling of equal arguments with low part zero (bug 19602).
[glibc.git] / ChangeLog
blob3e480edb1ae4b88b131da05efe3f20b84b0474dd
1 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #19602]
4         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5         equal high parts and both low parts zero specially.
6         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8         Add test-fmodl-ldbl-128ibm.
10         [BZ #19595]
11         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
12         common logic for all cases of shifting subnormal results.  Do not
13         insert sign bit in shifted mantissa.  Always pass -1023 as biased
14         exponent to ldbl_insert_mantissa in subnormal case.
16         [BZ #19594]
17         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18         on high and low parts then adjust result and use
19         ldbl_canonicalize_int if needed.
21         [BZ #19593]
22         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23         on high part and __floor or __ceil on low part then use
24         ldbl_canonicalize_int if needed.
26         [BZ #19592]
27         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
28         high and low parts then use ldbl_canonicalize_int if needed.
30         [BZ #17899]
31         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
32         New function.
33         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
34         on high and low parts then use ldbl_canonicalize_int if needed.
36 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38         * configure: Regenerated.
40         * po/libc.pot: Regenerated.
42         * po/be.po: Updated translation.
43         * po/bg.po: Likewise.
44         * po/ca.po: Likewise.
45         * po/cs.po: Likewise.
46         * po/da.po: Likewise.
47         * po/el.po: Likewise.
48         * po/eo.po: Likewise.
49         * po/es.po: Likewise.
50         * po/fi.po: Likewise.
51         * po/fr.po: Likewise.
52         * po/gl.po: Likewise.
53         * po/hr.po: Likewise.
54         * po/hu.po: Likewise.
55         * po/ia.po: Likewise.
56         * po/id.po: Likewise.
57         * po/it.po: Likewise.
58         * po/ja.po: Likewise.
59         * po/lt.po: Likewise.
60         * po/nb.po: Likewise.
61         * po/nl.po: Likewise.
62         * po/pt_BR.po: Likewise.
63         * po/rw.po: Likewise.
64         * po/sk.po: Likewise.
65         * po/sl.po: Likewise.
66         * po/sv.po: Likewise.
67         * po/tr.po: Likewise.
68         * po/zh_CN.po: Likewise.
69         * po/zh_TW.po: Likewise.
71         * version.h (RELEAES): Set to "development".
72         (VERSION): Set to 2.23.90.
74         * version.h (RELEASE): Set to "stable".
75         (VERSION): Set to 2.23.
76         * include/feature.h (__GLIBC_MINOR__): Set to 23.
78         * NEWS: Updated fixed bugs.
80 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
81             Wilco Dijkstra  <wdijkstr@arm.com>
83         [BZ #19462]
84         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
85         (_STRING_INLINE_unaligned): This.
86         * include/string.h: Include <string_private.h>.
87         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
88         _STRING_INLINE_unaligned.
89         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
90         (_STRING_INLINE_unaligned): New.
91         * sysdeps/aarch64/string_private.h: New file.
92         * sysdeps/generic/string_private.h: Likewise.
93         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
94         * sysdeps/s390/string_private.h: Likewise.
95         * sysdeps/x86/string_private.h: Likewise.
96         * sysdeps/m68k/m680x0/m68020/bits/string.h
97         (_STRING_ARCH_unaligned): Renamed to ...
98         (_STRING_INLINE_unaligned): This.
99         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
100         to ...
101         (_STRING_INLINE_unaligned): This.
102         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
103         to ...
104         (_STRING_INLINE_unaligned): This.
105         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
106         to ...
107         (_STRING_INLINE_unaligned): This.
109 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
110             H.J. Lu  <hongjiu.lu@intel.com>
112         [BZ #19590]
113         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
114         relocation.
116 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
118         [BZ #18665]
119         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
120         *herrno_p.
121         (gaih_getanswer): Document functional behviour. Return tryagain
122         if any result is tryagain.
123         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
124         when freed.
125         * resolv/res_send.c: Add copyright text.
126         (__libc_res_nsend): Document that MAXPACKET is expected.
127         (send_vc): Document. Remove buffer reuse.
128         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
129         size of the buffer. Add Dprint for truncated UDP buffer.
131 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
133         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
134         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
135         * INSTALL: Regenerate.
137 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
138             Jonathan Wakely  <jwakely@redhat.com>
139             Carlos O'Donell  <carlos@redhat.com>
141         [BZ 19439]
142         * math/Makefile (tests): Add test-math-isinff.
143         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
144         * math/bits/mathcalls.h [__USE_MISC]: Use
145         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
146         functions not in C++11 and which don't conflict e.g. isinff,
147         isinfl etc.
148         * math/test-math-isinff.cc: New file.
150 2016-02-12  Florian Weimer  <fweimer@redhat.com>
152         * misc/bug18240.c (do_test): Set RLIMIT_AS.
154 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
156         [BZ #19529]
157         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
159 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
161         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
163 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
165         [BZ #19550]
166         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
167         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
168         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
169         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
171         New syscall entry.
172         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
173         New syscall entry.
174         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
175         syscall entry.
177 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
179         [BZ #18240]
180         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
181         unsigned int wraparound.
183 2016-01-27  Florian Weimer  <fweimer@redhat.com>
185         [BZ #18240]
186         * misc/bug18240.c: New test.
187         * misc/Makefile (tests): Add it.
189 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
190             Joseph Myers  <joseph@codesourcery.com>
192         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
193         load in branch delay slot when less than a word of input left.
195 2016-01-27  Andreas Schwab  <schwab@suse.de>
197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
198         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
199         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
200         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
202 2016-01-26  David S. Miller  <davem@davemloft.net>
204         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
206 2016-01-25  David S. Miller  <davem@davemloft.net>
208         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
209         __sqrtl_finite.
210         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
211         instead using versioned_symbol.
212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
213         of entries.
215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
216         __sqrtl_finite to GLIBC_2.23
218 2016-01-25  Ricchard Henderson  <rth@redhat.com>
220         * sysdeps/alpha/fpu/libm-test-ulps: Update.
222 2016-01-25  Andreas Schwab  <schwab@suse.de>
224         [BZ #17514]
225         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
226         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
227         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
228         * nptl/tst-mutex-errorcheck.c: New file.
230 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
232         [BZ #18560]
233         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
234         (IPCOP_semop): Likewise.
235         (IPCOP_semget): Likewise.
236         (IPCOP_semctl): Likewise.
237         (IPCOP_msgsnd): Likewise.
238         (IPCOP_msgrcv): Likewise.
239         (IPCOP_msgget): Likewise.
240         (IPCOP_msgctl): Likewise.
241         (IPCOP_shmat): Likewise.
242         (IPCOP_shmdt): Likewise.
243         (IPCOP_shmget): Likewise.
244         (IPCOP_shmctl): Likewise.
246 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
248         * string/tst-endian.c: Include <libc-internal.h>.
249         (do_test): Ignore tautological-compare warnings around
250         "htobeXX (beXXtoh (i)) != i" and
251         "htoleXX (leXXtoh (i)) != i" if-statements.
253 2016-01-24  David S. Miller  <davem@davemloft.net>
255         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
256         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
257         alias.
258         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
259         __sqrtl_finite.
261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
263 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
265         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
266         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
267         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
269 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
271         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
272         (thread_func): Use new function to simplify barrier check.
273         (do_test): Use new function to simplify checking barrier exit
274         code, and actually join the child thread.
276 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
278         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
279         semicolon.
280         (__libc_tend): Likewise.
281         (__libc_tabort): Likewise.
283 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
285         * sysdeps/nios2/libm-test-ulps: Update.
286         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
287         (__gtsf2): Likewise.
288         (__unorddf2): Likewise.
289         (__unordsf2): Likewise.
290         (__ledf2): Likewise.
292 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
294         * nis/nis_table.c (__follow_path): Disable diagnostic for
295         uninitialized variable that is a false positive for gcc 4.7.
296         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
298 2016-01-20  Roland McGrath  <roland@hack.frob.com>
300         * sysdeps/nacl/lowlevellock-futex.h
301         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
302         Always evaluate PRIVATE argument.
304 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
306         [BZ #19490]
307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
308         (pthread_cond_broadcast): Use ENTRY/END
309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
310         (pthread_cond_signal): Likewise
311         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
312         Likewise
313         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
314         Likewise
315         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
316         Likewise
318 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
320         * sysdeps/ieee754/dbl-64/s_finite.c
321         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
322         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
323         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
324         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
325         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
328         (__gtsf2): Add as optional for libc.so.
329         (__unordsf2): Likewise.
330         (__signbit): Remove for libc.so.
331         (__signbitl): Likewise.
333 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
335         * iconvdata/bug-iconv11.c (test_ibm93x):
336         Use %zu printf format specifier for size_t argument.
338 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
340         * math/gen-libm-test.pl (parse_ulps): Do not reduce
341         already-recorded ulps.
342         * sysdeps/arm/libm-test-ulps: Regenerated.
343         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
344         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
345         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
347 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
348             Paul Pluzhnikov  <ppluzhnikov@google.com>
350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
351         assembler not supporting AVX-512.
353 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
355         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
357 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
359         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
362         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
364         * sysdeps/arm/libm-test-ulps: Regenerated.
366 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
368         [BZ #19451]
369         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
371 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
373         [BZ #19486]
374         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
375         * sysdeps/generic/fix-fp-int-convert-overflow.h
376         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
377         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
378         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
379         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
380         Likewise.
381         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
382         Avoid conversions to long int where inexact exceptions
383         could be raised.
384         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
385         Likewise.
386         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
387         Avoid conversions to long long int where inexact exceptions
388         could be raised.
389         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
390         Likewise.
392 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
394         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
395         * configure: Regenerated.
397 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
399         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
401 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
404         outside of comment.
406 2016-01-15  Torvald Riegel  <triegel@redhat.com>
408         * nptl/tst-barrier1.c: Add description on first line.
409         * nptl/tst-barrier2.c: Likewise.
410         * nptl/tst-barrier3.c: Likewise.
411         * nptl/tst-barrier4.c: Likewise.
412         * nptl/tst-barrier5.c: Likewise.
414 2016-01-15  Torvald Riegel  <triegel@redhat.com>
416         [BZ #18868]
417         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
419 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
423         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
424         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
425         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
426         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
427         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
428         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
429         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
430         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
431         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
433 2016-01-15  Torvald Riegel  <triegel@redhat.com>
435         [BZ #13065]
436         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
437         new implementation.
438         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
439         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
440         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
441         (BARRIER_IN_THRESHOLD): New macro.
442         * nptl/pthread_barrierattr_setpshared.c
443         (pthread_barrierattr_setpshared): Clean up.
444         * nptl/tst-barrier4.c: Correct comment.
445         * nptl/tst-barrier5.c: New file.
446         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
447         (gen-as-const-headers): Remove lowlevelbarrier.sym.
448         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
449         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
450         * nptl/lowlevelbarrier.sym: Remove.
451         * nptl/DESIGN-barrier.txt: Remove.
452         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
453         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
454         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
455         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
456         error.
457         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
458         implementation.
460 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
462         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
463         (do_child): Mask SIGRTMIN while thr is running.
465 2016-01-15  Martin Sebor  <msebor@redhat.com>
467         [BZ #19432]
468         * iconvdata/Makefile: Add bug-iconv11.
469         * iconvdata/bug-iconv11.c: New test.
470         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
471         * iconvdata/ibm933.c: Same.
472         * iconvdata/ibm935.c: Same.
473         * iconvdata/ibm937.c: Same.
474         * iconvdata/ibm939.c: Same.
476 2016-01-15  Martin Sebor  <msebor@redhat.com>
478         [BZ #19443]
479         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
480         [DEBUG] (_ufc_set_bits): Declare used.
481         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
482         [DEBUG] (print_all): Declare used.
483         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
484         operands of the ternary ?: expression to target type.
485         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
486         calling the undeclared abort.
487         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
489 2016-01-15  Martin Sebor  <msebor@redhat.com>
491         [BZ #18755]
492         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
493         warnings.
494         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
495         (__gai_create_helper_thread): Same.
496         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
497         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
498         to suppress -Wmaybe-uninitialized warnings.
500 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
502         [BZ #19465]
503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
504         inside if.
505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
506         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
509 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
511         [BZ #19466]
512         * time/tst-mktime2.c (time_t_max): Removed.
513         (time_t_min): Likewise.
514         (TYPE_SIGNED): New.
515         (TYPE_MINIMUM): Likewise.
516         (TYPE_MAXIMUM): Likewise.
517         (TIME_T_MIN): Likewise.
518         (TIME_T_MAX): Likewise.
519         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
520         and TIME_T_MIN.
521         (do_test): Likewise.
523 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
525         [BZ #19467]
526         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
527         index_Fast_Unaligned_Load flag for Excavator family CPUs.
529 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
531         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
533 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
535         * benchtests/Makefile (PYTHON): Define.
536         (bench-func): Use $(PYTHON) to run python scripts.
537         ($(objpfx)bench-%.c): Likewise.
539 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
541         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
542         leading slash when `file_name' is "/".
544 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
546         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
547         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
548         Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
550         Likewise.
551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
552         Likewise.
553         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
554         enum constant and macro.
555         (PTRACE_SETSIGMASK): Likewise.
556         (PTRACE_SECCOMP_GET_FILTER): Likewise.
557         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
558         (PTRACE_GETSIGMASK): Likewise.
559         (PTRACE_SETSIGMASK): Likewise.
560         (PTRACE_SECCOMP_GET_FILTER): Likewise.
561         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
562         Likewise.
563         (PTRACE_SETSIGMASK): Likewise.
564         (PTRACE_SECCOMP_GET_FILTER): Likewise.
565         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
566         (PTRACE_GETSIGMASK): Likewise.
567         (PTRACE_SETSIGMASK): Likewise.
568         (PTRACE_SECCOMP_GET_FILTER): Likewise.
569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
570         Likewise.
571         (PTRACE_SETSIGMASK): Likewise.
572         (PTRACE_SECCOMP_GET_FILTER): Likewise.
573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
574         Likewise.
575         (PTRACE_SETSIGMASK): Likewise.
576         (PTRACE_SECCOMP_GET_FILTER): Likewise.
577         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
578         Likewise.
579         (PTRACE_SETSIGMASK): Likewise.
580         (PTRACE_SECCOMP_GET_FILTER): Likewise.
582 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
583             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
585         [BZ #19439]
586         * math/bits/mathcalls.h
587         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
588         prototype.
589         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
591 2016-01-11  Andreas Schwab  <schwab@suse.de>
593         [BZ #19253]
594         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
595         cache when TZDEFRULES was used.
596         * time/tst-tzname.c: New file.
597         * time/Makefile (test): Add tst-tzname.
598         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
599         * timezone/Makefile (test-zones): Add $(posixrules-file).
600         ($(testdata)/$(posixrules-file)): New rule.
602 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
604         Fix doc quoting problems with Texinfo 5
605         Without this change, in the info file output, Texinfo 5 quotes code
606         in text with undirected single quotes 'like this' and generates
607         code examples that with many PDF readers cannot be cut out of PDFs
608         and pasted into code.
609         * manual/libc.texinfo: Configure the libc manual like the GNU
610         Emacs manual, by using @documentencoding and setting
611         txicodequoteundirected and txicodequotebacktick.  This way,
612         Texinfo 5 quotes code in text with directed single quotes ‘like
613         this’ and produces examples that can be cut out of PDFs.  This
614         change causes Texinfo 5 to generate info files that contain UTF-8
615         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
616         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
618 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
620         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
621         __libc_tabort, __libc_tend): New wrappers that enforce compiler
622         barriers to their respective compiler built-ins.
623         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
624         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
625         * sysdeps/powerpc/sysdep.h: Likewise.
626         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
627         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
628         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
630 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
632         * scripts/config.guess: Revert previous shebang change.
633         * scripts/config.sub: Likewise.
634         * scripts/mkinstalldirs: Likewise.
636 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
638         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
639         PPC_FEATURE2_HAS_IEEE128.
640         * sysdeps/powerpc/dl-procinfo.c:
641         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
643 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
645         [BZ #19415]
646         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
647         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
648         (_dl_lookup_address): Rewrite using function resolver trampoline.
649         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
650         two bits in address.
652 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
654         * longlong.h: Change !__SHMEDIA__ to
655         (!defined (__SHMEDIA__) || !__SHMEDIA__).
656         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
658 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
659             Joseph Myers  <joseph@codesourcery.com>
660             Mark Shinwell  <shinwell@codesourcery.com>
661             Andrew Stubbs  <ams@codesourcery.com>
662             Rich Felker <dalias@libc.org>
664         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
666 2016-01-07  Richard Henderson  <rth@redhat.com>
668         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
670 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
672         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
673         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
675         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
676         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
678 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
679             Joseph Myers  <joseph@codesourcery.com>
681         * timezone/private.h: Update from tzcode 2015g.
682         * timezone/tzfile.h: Likewise.
683         * timezone/tzselect.ksh: Likewise.
684         * timezone/zdump.c: Likewise.
685         * timezone/zic.c: Likewise.
686         * timezone/ialloc.c: Remove file.
687         * timezone/scheck.c: Likewise.
688         * timezone/Makefile (extra-objs): Remove variable.
689         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
690         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
691         -Wno-maybe-uninitialized.
692         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
693         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
694         (CFLAGS-ialloc.c): Remove variable.
695         (CFLAGS-scheck.c): Likewise.
696         * timezone/README: Update list of files from tzcode.
698 2016-01-07  Khem Raj  <raj.khem@gmail.com>
700         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
701         instead of __fxprintf when _LIBC is undefined.
703 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
705         * catgets/test-gencat.sh: Remove space after shebang.
706         * conform/GlibcConform.pm: Likewise.
707         * conform/check-header-lists.sh: Likewise.
708         * conform/conformtest.pl: Likewise.
709         * conform/linknamespace.pl: Likewise.
710         * conform/list-header-symbols.pl: Likewise.
711         * debug/catchsegv.sh: Likewise.
712         * elf/genrtldtbl.awk: Likewise.
713         * elf/tst-pathopt.sh: Likewise.
714         * elf/tst-rtld-load-self.sh: Likewise.
715         * grp/tst_fgetgrent.sh: Likewise.
716         * iconvdata/gen-8bit-gap-1.sh: Likewise.
717         * iconvdata/gen-8bit-gap.sh: Likewise.
718         * iconvdata/gen-8bit.sh: Likewise.
719         * iconvdata/run-iconv-test.sh: Likewise.
720         * intl/tst-gettext.sh: Likewise.
721         * intl/tst-gettext2.sh: Likewise.
722         * intl/tst-gettext4.sh: Likewise.
723         * intl/tst-gettext6.sh: Likewise.
724         * intl/tst-translit.sh: Likewise.
725         * io/ftwtest-sh: Likewise.
726         * libio/test-freopen.sh: Likewise.
727         * locale/gen-translit.pl: Likewise.
728         * malloc/tst-mtrace.sh: Likewise.
729         * manual/check-safety.sh: Likewise.
730         * manual/libc-texinfo.sh: Likewise.
731         * manual/tsort.awk: Likewise.
732         * manual/xtract-typefun.awk: Likewise.
733         * nptl/tst-cancel-wrappers.sh: Likewise.
734         * nptl/tst-tls6.sh: Likewise.
735         * posix/globtest.sh: Likewise.
736         * posix/tst-getconf.sh: Likewise.
737         * posix/wordexp-tst.sh: Likewise.
738         * scripts/check-c++-types.sh: Likewise.
739         * scripts/check-local-headers.sh: Likewise.
740         * scripts/config.guess: Likewise.
741         * scripts/config.sub: Likewise.
742         * scripts/cpp: Likewise.
743         * scripts/cross-test-ssh.sh: Likewise.
744         * scripts/documented.sh: Likewise.
745         * scripts/evaluate-test.sh: Likewise.
746         * scripts/gen-libc-abis: Likewise.
747         * scripts/gen-sorted.awk: Likewise.
748         * scripts/list-fixed-bugs.py: Likewise.
749         * scripts/merge-test-results.sh: Likewise.
750         * scripts/mkinstalldirs: Likewise.
751         * scripts/rellns-sh: Likewise.
752         * scripts/test-installation.pl: Likewise.
753         * scripts/update-copyrights: Likewise.
754         * stdio-common/tst-printf.sh: Likewise.
755         * stdio-common/tst-unbputc.sh: Likewise.
756         * stdlib/tst-fmtmsg.sh: Likewise.
757         * stdlib/tst-setcontext3.sh: Likewise.
758         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
759         * sysdeps/unix/make-syscalls.sh: Likewise.
761 2016-01-06  John David Anglin  <dave.anglin@bell.net>
763         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
764         asm stw with atomic_exchange_rel.  Add explanatory comment.
765         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
766         Likewise.
768 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
770         [BZ #19122]
771         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
772         * sysdeps/generic/dl-unistd.h: New file.
773         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
775 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
777          [BZ #19122]
778          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
779          * sysdeps/generic/dl-mman.h: New file.
780          * sysdeps/mach/hurd/dl-mman.h: Likewise.
782 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
784         * manual/texinfo.tex: Update to version 2016-01-04.21 with
785         trailing whitespace removed.
786         * scripts/config.guess: Update to version 2016-01-01.
787         * scripts/config.sub: Update to version 2016-01-01.
788         * scripts/move-if-change: Update from gnulib.
790 2016-01-04  Anton Blanchard  <anton@samba.org>
792         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
793         for array indices.
794         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
796 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
798         * NEWS: Update copyright dates.
799         * catgets/gencat.c (print_version): Likewise.
800         * csu/version.c (banner): Likewise.
801         * debug/catchsegv.sh: Likewise.
802         * debug/pcprofiledump.c (print_version): Likewise.
803         * debug/xtrace.sh (do_version): Likewise.
804         * elf/ldconfig.c (print_version): Likewise.
805         * elf/ldd.bash.in: Likewise.
806         * elf/pldd.c (print_version): Likewise.
807         * elf/sotruss.sh: Likewise.
808         * elf/sprof.c (print_version): Likewise.
809         * iconv/iconv_prog.c (print_version): Likewise.
810         * iconv/iconvconfig.c (print_version): Likewise.
811         * locale/programs/locale.c (print_version): Likewise.
812         * locale/programs/localedef.c (print_version): Likewise.
813         * login/programs/pt_chown.c (print_version): Likewise.
814         * malloc/memusage.sh (do_version): Likewise.
815         * malloc/memusagestat.c (print_version): Likewise.
816         * malloc/mtrace.pl: Likewise.
817         * manual/libc.texinfo: Likewise.
818         * nptl/version.c (banner): Likewise.
819         * nscd/nscd.c (print_version): Likewise.
820         * nss/getent.c (print_version): Likewise.
821         * nss/makedb.c (print_version): Likewise.
822         * posix/getconf.c (main): Likewise.
823         * scripts/test-installation.pl: Likewise.
824         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
826         * All files with FSF copyright notices: Update copyright dates
827         using scripts/update-copyrights.
828         * intl/plural.c: Regenerated.
829         * locale/programs/charmap-kw.h: Likewise.
830         * locale/programs/locfile-kw.h: Likewise.
832 2016-01-02  Helge Deller  <deller@gmx.de>
834         [BZ #19285]
835         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
836         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
837         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
838         (MADV_xxK_PAGES): Remove.
840 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
842         [BZ #15421]
843         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
844         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
845         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
846         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
848 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
850         [BZ #19408]
851         * sysdeps/unix/sysv/linux/personality.c: New file.
852         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
853         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
854         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
855         (sysdep_routines): Add personality.
856         (tests): Add tst-personality.
857         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
858         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
859         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
860         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
861         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
862         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
863         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
864         Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
866         Likewise.
867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
868         Likewise.
869         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
870         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
871         Likewise.
873 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
875         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
876         (PATH_ARM_SYSTYPE): Remove.
877         (PATH_CPUINFO): Likewise.
878         (IO_BASE_FOOTBRIDGE): Likewise.
879         (IO_SHIFT_FOOTBRIDGE): Likewise.
880         (struct platform): Likewise.
881         (init_iosys): Remove compatibility code for 2.4 kernels.
882         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
884 2015-12-29  Florian Weimer  <fweimer@redhat.com>
886         * malloc/tst-malloc-thread-fail.c: New file.
887         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
888         (tst-malloc-thread-fail): Link against libpthread.
890 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
892         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
893         (get_parser): New function.
894         (main): New function.
896 2015-12-29  Rob Wu  <rob@robwu.nl>
898         [BZ #19369]
899         * resolv/res_init.c (__res_vinit): Reset defdname before use.
901 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
903         [BZ #19270]
904         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
906 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
908         [BZ #15421]
909         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
911 2015-12-23  Torvald Riegel  <triegel@redhat.com>
913         [BZ #13690]
914         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
915         after releasing it.
916         (__lll_robust_unlock): Likewise.
917         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
918         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
919         (lll_robust_unlock): Likewise.
920         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
921         Prevent warnings in callers.
923 2015-12-23  Florian Weimer  <fweimer@redhat.com>
925         * malloc/arena.c (list_lock): Update comment.
927 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
929         * sysdeps/powerpc/hwcapinfo.c: Export symbol
930         __parse_hwcap_and_convert_at_platform to libc.a.
932 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
934         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
935         platform and feature support for POWER9.
936         * sysdeps/powerpc/dl-procinfo.h: Likewise.
937         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
938         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
939         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
940         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
941         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
942         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
943         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
945 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
947         Harmonize generic stdio-lock support with nptl
949         This fixes build when _IO_funlockfile is a macro, fixes build where
950         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
951         stack unwind.
953         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
954         _IO_release_lock ): Use cleanup attribute on new
955         _IO_acquire_lock_file variable instead of assuming that
956         _IO_release_lock will be called.
957         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
958         _IO_acquire_lock_needs_exceptions_enabled.
959         (_IO_acquire_lock_clear_flags2): New macro.
961 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
963         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
965 2015-12-21  Florian Weimer  <fweimer@redhat.com>
967         [BZ #19182]
968         * malloc/arena.c (list_lock): Document lock ordering requirements.
969         (free_list_lock): New lock.
970         (ptmalloc_lock_all): Comment on free_list_lock.
971         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
972         (detach_arena): Update comment.  free_list_lock is now needed.
973         (_int_new_arena): Use free_list_lock around detach_arena call.
974         Acquire arena lock after list_lock.  Add comment, including FIXME
975         about incorrect synchronization.
976         (get_free_list): Switch to free_list_lock.
977         (reused_arena): Acquire free_list_lock around detach_arena call
978         and attached threads counter update.  Add two FIXMEs about
979         incorrect synchronization.
980         (arena_thread_freeres): Switch to free_list_lock.
981         * malloc/malloc.c (struct malloc_state): Update comments to
982         mention free_list_lock.
984 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
986         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
987         Remove functions.
988         (sloww, sloww1): Accept argument to offset quadrant.
989         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
990         quadrant.
991         (__sin, __cos): Consolidate common code into new functions.
992         (reduce_sincos_1, do_sincos_1): New functions.
993         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
996         code to new functions.
997         (reduce_sincos_2, do_sincos_2): New functions.
998         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1001         common code for sincos.
1002         (__cos) [!IN_SINCOS]: Likewise.
1003         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1004         New function.
1005         (__sincos): Use it.
1007 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1009         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1010         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1011         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1013 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1015         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1018         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1019         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1020         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1021         index_Prefer_No_VZEROUPPER): New feature.
1022         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1023         Prefer_No_VZEROUPPER for Knights Landing.
1025 015-12-18  Torvald Riegel  <triegel@redhat.com>
1027         * math/atest-exp2.c (mp_exp_m1): Remove.
1029 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1031         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1032         syscalls.
1033         (__SYSCALL0): New macro.
1034         (__SYSCALL1): Likewise.
1035         (__SYSCALL2): Likewise.
1036         (__SYSCALL3): Likewise.
1037         (__SYSCALL4): Likewise.
1038         (__SYSCALL5): Likewise.
1039         (__SYSCALL6): Likewise.
1040         (__SYSCALL_CONCAT_X): Likewise.
1041         (__SYSCALL_CONCAT): Likewise.
1042         (__SYSCALL_DIST): Likewise.
1043         (__SYSCALL_CALL): Likewise.
1045 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1047         [BZ #19363]
1048         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1050 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1052         [BZ #19375]
1053         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1054         negative subnormals.
1056 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1059         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1060         (INTERNAL_SYSCALL_NCS): Use it.
1061         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1063 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1065         [BZ #19243]
1066         * malloc/arena.c (get_free_list): Remove assert and adjust
1067         reference count handling.  Add comment about reused_arena
1068         interaction.
1069         (reused_arena): Add comments abount get_free_list interaction.
1070         * malloc/tst-malloc-thread-exit.c: New file.
1071         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1072         (tst-malloc-thread-exit): Link against libpthread.
1074 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1076         [BZ #19367]
1077         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1078         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1079         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1080         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1081         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1083 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1085         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1086         Silvermont optimizations for Knights Landing.
1088 2015-12-15  Andreas Schwab  <schwab@suse.de>
1090         [BZ #17197]
1091         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1092         immediately after emitting SI.
1093         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1094         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1095         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1096         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1097         * iconvdata/bug-iconv10.c: New file.
1098         * iconvdata/Makefile (tests): Add bug-iconv10.
1099         ($(objpfx)bug-iconv10.out): New rule.
1101 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1103         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1104         aliasing violation.
1106 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1108         [BZ #18472]
1109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1110         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1111         conditionals for them.
1112         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1113         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1115         sys/kdaemon.h.
1116         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1117         compat-only syscall, obsoleted in glibc 2.23.
1118         (create_module): Likewise.
1119         (get_kernel_syms): Likewise.
1120         (query_module): Likewise.
1121         (uselib): Likewise.
1122         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1124 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1126         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1127         <linux/version.h>.
1128         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1129         conditional code.
1130         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1131         and ioshift_name initialization.
1133 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1136         Fix indentation.
1138 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1142 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1144         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1146 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1147             Jakub Wilk  <jwilk@debian.org>
1149         [BZ #19347]
1150         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1151         to change the group of the device to the tty group.
1153 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1155         Split large string section; add truncation advice
1156         * manual/examples/strncat.c: Remove.
1157         This example was misleading, as the code would have undefined
1158         behavior if "hello" was longer than SIZE.  Anyway, the manual
1159         shouldn't encourage strncpy+strncat for this sort of thing.
1160         * manual/string.texi (Copying Strings and Arrays): Split into
1161         three sections Copying Strings and Arrays, Concatenating Strings,
1162         and Truncating Strings, as this section was way too long.  All
1163         cross-referenced changed.  Add advice about string-truncation
1164         functions.  Remove misleading strncat example.
1166 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1168         * manual/nss.texi (NSS Modules Interface): Document
1169         NSS_STATUS_NOTFOUND and SUCCESS.
1171 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1173         [BZ 18568]
1174         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1175         201505L, for Unicode 8.
1177 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1179         * locale/C-translit.h: Regenerate.
1181 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1183         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1184         and U+0153.
1186 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1188         [BZ #19351]
1189         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1190         expanding log(1+z), compare z rather than its square with epsilon
1191         to determine when to avoid evaluating the expansion.
1193         [BZ #19350]
1194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1195         Increase overflow threshold.
1197         [BZ #19349]
1198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1199         when small.
1201         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1203         New macro.
1204         [__LINUX_KERNEL_VERSION >= 0x040300]
1205         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1207         Likewise.
1208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1209         Likewise.
1210         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1211         Likewise.
1212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1213         Likewise.
1214         [__LINUX_KERNEL_VERSION >= 0x040300]
1215         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1216         [__LINUX_KERNEL_VERSION >= 0x040300]
1217         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1218         [__LINUX_KERNEL_VERSION >= 0x040300]
1219         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1220         [__LINUX_KERNEL_VERSION >= 0x040300]
1221         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1222         [__LINUX_KERNEL_VERSION >= 0x040300]
1223         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1225         Likewise.
1226         [__LINUX_KERNEL_VERSION >= 0x040300]
1227         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1229         Likewise.
1230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1231         Likewise.
1232         [__LINUX_KERNEL_VERSION >= 0x040300]
1233         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1235         Likewise.
1236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1239         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1240         Likewise.
1241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1242         Likewise.
1243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1244         Likewise.
1245         [__LINUX_KERNEL_VERSION >= 0x040300]
1246         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1248         Likewise.
1249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1250         Likewise.
1251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1252         Likewise.
1253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1254         Likewise.
1255         [__LINUX_KERNEL_VERSION >= 0x040300]
1256         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1257         [__LINUX_KERNEL_VERSION >= 0x040300]
1258         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1259         [__LINUX_KERNEL_VERSION >= 0x040300]
1260         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1261         [__LINUX_KERNEL_VERSION >= 0x040300]
1262         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1263         [__LINUX_KERNEL_VERSION >= 0x040300]
1264         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1266         Likewise.
1267         [__LINUX_KERNEL_VERSION >= 0x040300]
1268         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1270         Likewise.
1271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1272         Likewise.
1273         [__LINUX_KERNEL_VERSION >= 0x040300]
1274         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1276         Likewise.
1277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1280         (__ASSUME_SOCKET_SYSCALL): Likewise.
1281         (__ASSUME_BIND_SYSCALL): Likewise.
1282         (__ASSUME_CONNECT_SYSCALL): Likewise.
1283         (__ASSUME_LISTEN_SYSCALL): Likewise.
1284         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1285         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1286         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1287         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1288         (__ASSUME_SEND_SYSCALL): Likewise.
1289         (__ASSUME_SENDTO_SYSCALL): Likewise.
1290         (__ASSUME_RECV_SYSCALL): Likewise.
1291         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1292         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1293         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1294         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1295         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1296         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1297         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1298         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1299         Likewise.
1300         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1301         Likewise.
1302         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1303         Likewise.
1304         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1305         Likewise.
1306         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1307         Likewise.
1308         [__LINUX_KERNEL_VERSION >= 0x020625]
1309         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1310         [__LINUX_KERNEL_VERSION >= 0x020625]
1311         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1312         [__LINUX_KERNEL_VERSION >= 0x020625]
1313         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1314         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1315         Likewise.
1316         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1317         Likewise.
1318         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1319         Likewise.
1320         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1321         Likewise.
1322         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1323         Likewise.
1324         [__LINUX_KERNEL_VERSION >= 0x020625]
1325         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1326         [__LINUX_KERNEL_VERSION >= 0x020625]
1327         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1328         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1329         Likewise.
1330         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1331         Likewise.
1333 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1335         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1336         record the current if the current ABI and CPU support the FP64
1337         extension.
1338         (has-modd-spreg): Define to record the current if the current ABI and
1339         CPU support 32-bit floating point values in odd FPU registers.
1340         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1341         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1342         $(has-modd-spreg) equals yes.
1343         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1344         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1345         $(has-modd-spreg) equal yes.
1347 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1349         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1350         basename.
1352 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1354         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1355         (bench-string): ... here.
1356         (bench): Add bench-string.
1357         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1358         to *-benchset to reflect what they are.
1359         (benchset): Adjust.
1361         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1362         cos-inputs.
1364 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1366         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1367         __attribute__ ((__simd__)) for vector math function declarations.
1369 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1371         Fix typo in strncat, wcsncat manual entries
1372         * manual/string.texi (Copying and Concatenation): Fix typos in
1373         sample implementations of strncat and wcsncat, by having them use
1374         the old value of the destination length, not the new one.
1376 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1378         [BZ #16961]
1379         [BZ #16962]
1380         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1381         string on the stack for strtod.
1382         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1383         a string on the stack for strtof.
1384         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1385         constructing a string on the stack for strtold.
1386         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1387         __strtold_nan to GLIBC_PRIVATE.
1388         * math/test-nan-overflow.c: New file.
1389         * math/test-nan-payload.c: Likewise.
1390         * math/Makefile (tests): Add test-nan-overflow and
1391         test-nan-payload.
1393 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1395         Consistency about byte vs character in string.texi
1396         * manual/string.texi (String and Array Utilities):
1397         Distinguish more carefully among bytes, multibyte characters,
1398         and wide characters.  Use "byte" when talking about C 'char',
1399         to distinguish it more clearly from multibyte characters.
1400         Say "wide character" or "multibyte character" instead of
1401         "character", when a wide or multibyte character is intended.
1402         Similarly for "multibyte string" versus "string".
1403         Define these terms more carefully.
1405 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1407         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1408         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1409         Likewise.
1410         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1411         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1412         * sysdeps/sh/math_private.h: New file.
1413         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1414         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1415         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1416         long double function name.
1417         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1418         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1423         Remove __finitel, __isinfl, and __isnanl.
1424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1425         Likewise.
1426         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1428         Remove __finitel.
1429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1430         Likewise.
1431         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1433 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1435         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1436         installed libmvec_nonshared.a.
1438 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1440         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1441         (sysdep_routines): Likewise.
1442         (sysdep-rtld-routines): Likewise.
1443         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1444         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1445         * sysdeps/powerpc/Versions: Added new
1446         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1447         * sysdeps/powerpc/hwcapinfo.c: New file.
1448         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1449         and parse hwcap, hwcap2 and platform number information.
1450         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1451         to store HWCAP+HWCAP2 and platform number.
1452         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1453         for HWCAP+HWCAP2 and platform number in the TCB.
1454         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1455         the HWCAP, HWCAP2 and platform number in the TCB.
1456         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1457         (TLS_INIT_TP): Included calls to add the hwcap and
1458         at_platform values in the TCB in TP initialization.
1459         (TLS_DEFINE_INIT_TP): Likewise.
1460         (THREAD_GET_HWCAP): New macro.
1461         (THREAD_SET_HWCAP): Likewise.
1462         (THREAD_GET_AT_PLATFORM): Likewise.
1463         (THREAD_SET_AT_PLATFORM): Likewise.
1464         * sysdeps/powerpc/powerpc32/dl-machine.h:
1465         (dl_platform_init): New function that calls
1466         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1467         powerpc32.
1468         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1469         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1470         this functionality, static linking case.
1471         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1472         linking case.
1473         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1474         __parse_hwcap_and_convert_at_platform for the static linking case.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1476         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1477         ABI list for GLIBC 2.23.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1479         Likewise.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1481         Likewise.
1483 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1485         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1486         * configure: Regenerate.
1487         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1488         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1490 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1492         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1493         * iconvdata/ibm933.c: Likewise.
1494         * iconvdata/ibm935.c: Likewise.
1495         * iconvdata/ibm937.c: Likewise.
1496         * iconvdata/ibm939.c: Likewise.
1498 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1500         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1501         pthread_join.
1502         * nptl/tst-cancel21.c (tf): Likewise.
1504 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1506         [BZ #19313]
1507         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1508         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1509         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1510         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1511         Likewise.
1512         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1513         Likewise.
1514         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1519         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1520         unsigned long int with __CPU_MASK_TYPE.
1522 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1524         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1526 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1529         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1530         t512.x.
1531         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1533 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1535         [BZ #19214]
1536         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1537         argument to return extended model.  Update family and model
1538         with extended family and model when family == 0x0f.
1539         (init_cpu_features): Updated.
1541 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1543         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1544         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1546         * sysdeps/mach/hurd/mmap64.c: New file.
1548 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1550         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1551         rights for its main user thread in NEWTASK.
1553 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1555         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1556         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1558 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1560         [BZ #14259]
1561         * Makeconfig: Rename localedir to complocaledir.
1562         Rename inst_localedir to inst_complocaledir.
1563         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1564         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1565         * configure.ac: Use libc_cv_complocaledir.
1566         * configure: Regenerate.
1567         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1568         -DCOMPLOCALEDIR.
1569         * locale/findlocale.c: Use COMPLOCALEDIR.
1570         * locale/loadarchive.c: Likewise.
1571         * locale/programs/locale.c: Likewise.
1572         * locale/programs/localedef.c: Likewise.
1573         * locale/programs/locarchive.c: Likewise.
1574         * localedata/Makefile: Use inst_complocaledir.
1575         * sysdeps/gnu/configure: Regenerate.
1576         * sysdeps/hppa/configure: Regenerate.
1577         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1578         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1580         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1581         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1582         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1583         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1585 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1587         [BZ #19058]
1588         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1589         AS_NEEDED.
1590         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1591         workaround.
1592         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1593         libmvec-static-only-routines): Added new file.
1594         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1596 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1598         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1599         of interrupted RPC instead of restoring it.
1601         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1602         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1603         libc_hidden_def.
1604         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1605         into initialized data instead of common. Define rtld_hidden_data_def.
1606         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1607         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1608         libc_hidden_def.
1609         (if_freenameindex): Add libc_hidden_weak.
1610         (if_nameindex): Add libc_hidden_weak.
1611         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1612         __open64.
1613         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1614         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1615         * sysdeps/mach/nanosleep.c: Include <time.h>
1616         (__nanosleep): Rename to __libc_nanosleep.
1617         (__nanosleep): Add weak_alias.
1618         (nanosleep): Update alias.
1620 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1622         * stdlib/strtod_nan.c: New file.
1623         * stdlib/strtod_nan_double.h: Likewise.
1624         * stdlib/strtod_nan_float.h: Likewise.
1625         * stdlib/strtod_nan_main.c: Likewise.
1626         * stdlib/strtod_nan_narrow.h: Likewise.
1627         * stdlib/strtod_nan_wide.h: Likewise.
1628         * stdlib/strtof_nan.c: Likewise.
1629         * stdlib/strtold_nan.c: Likewise.
1630         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1631         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1632         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1633         * wcsmbs/wcstod_nan.c: Likewise.
1634         * wcsmbs/wcstof_nan.c: Likewise.
1635         * wcsmbs/wcstold_nan.c: Likewise.
1636         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1637         strtold_nan.
1638         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1639         wcstof_nan.
1640         * include/stdlib.h (__strtof_nan): Declare and use
1641         libc_hidden_proto.
1642         (__strtod_nan): Likewise.
1643         (__strtold_nan): Likewise.
1644         (__wcstof_nan): Likewise.
1645         (__wcstod_nan): Likewise.
1646         (__wcstold_nan): Likewise.
1647         * include/wchar.h (____wcstoull_l_internal): Declare.
1648         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1649         (____strtoull_l_internal): Remove declaration.
1650         (STRTOF_NAN): Define macro.
1651         (SET_MANTISSA): Remove macro.
1652         (STRTOULL): Likewise.
1653         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1654         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1655         (STRTOF_NAN): Define macro.
1656         (SET_MANTISSA): Remove macro.
1657         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1658         (SET_MANTISSA): Remove macro.
1659         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1660         macro.
1661         (SET_MANTISSA): Remove macro.
1662         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1663         macro.
1664         (SET_MANTISSA): Remove macro.
1665         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1666         (SET_MANTISSA): Remove macro.
1667         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1668         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1669         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1671         [BZ #19266]
1672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1673         upper case and lower case letters inside NAN(), not using TOLOWER.
1674         * stdlib/tst-strtod-nan-locale-main.c: New file.
1675         * stdlib/tst-strtod-nan-locale.c: Likewise.
1676         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1677         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1678         Depend on $(gen-locales).
1679         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1680         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1681         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1682         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1683         Depend on $(gen-locales).
1684         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1686 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1688         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1690         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1692         __finitel, __isinfl, and __isnanl.
1693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1694         Likewise.
1695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1697         __finitel.
1698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1699         Likewise.
1700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1702 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1704         * malloc/memusage.c (me): Remove redundant getenv call.
1706 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1708         [BZ #19143]
1709         [BZ #19164]
1710         * nptl/check-cpuset.h: Remove.
1711         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1712         Remove CPU set size check.
1713         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1716         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1717         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1718         (__pthread_setaffinity_new): Remove CPU set size check.
1719         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1720         (__kernel_cpumask_size): Remove.
1721         (__sched_setaffinity_new): Remove CPU set size check.
1722         * manual/threads.texi (Default Thread Attributes): Remove stale
1723         reference to check_cpuset_attr, determine_cpumask_size in comment.
1724         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1725         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1726         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1727         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1728         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1729         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1730         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1731         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1732         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1733         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1734         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1735         skeleton test file.
1736         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1737         tst-affinity-pid.
1739 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1741         * scripts/update-abilist.sh: New file.
1742         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1743         * Makerules (update-all-abi-%, update-all-abi)
1744         (subdir_update-all-abi): New targets.
1745         * elf/Makefile (update-all-abi): New target.
1747 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1749         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1750         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1751         (__libc_lock_define_initialized): Use it.
1752         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1753         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1754         * malloc/malloc.c (main_arena): Likewise.
1755         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1756         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1758 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1760         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1761         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1762         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1763         (PTRACE_O_MASK): Update value.
1764         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1765         New value in enum __ptrace_setoptions.
1766         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1767         (PTRACE_O_MASK): Update value.
1768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1769         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1770         (PTRACE_O_MASK): Update value.
1771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1772         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1773         (PTRACE_O_MASK): Update value.
1774         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1775         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1776         (PTRACE_O_MASK): Update value.
1777         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1778         New value in enum __ptrace_setoptions.
1779         (PTRACE_O_MASK): Update value.
1780         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1781         New value in enum __ptrace_setoptions.
1782         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1783         (PTRACE_O_MASK): Update value.
1785         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1786         New macro.
1787         (PACKET_AUXDATA): Likewise.
1788         (PACKET_ORIGDEV): Likewise.
1789         (PACKET_VERSION): Likewise.
1790         (PACKET_HDRLEN): Likewise.
1791         (PACKET_RESERVE): Likewise.
1792         (PACKET_TX_RING): Likewise.
1793         (PACKET_LOSS): Likewise.
1794         (PACKET_VNET_HDR): Likewise.
1795         (PACKET_TX_TIMESTAMP): Likewise.
1796         (PACKET_TIMESTAMP): Likewise.
1797         (PACKET_FANOUT): Likewise.
1798         (PACKET_TX_HAS_OFF): Likewise.
1799         (PACKET_QDISC_BYPASS): Likewise.
1800         (PACKET_ROLLOVER_STATS): Likewise.
1801         (PACKET_FANOUT_DATA): Likewise.
1802         (PACKET_MR_UNICAST): Likewise.
1804         [BZ #19242]
1805         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1806         (TOUPPER): Likewise.
1807         * stdlib/tst-strtol-locale-main.c: New file.
1808         * stdlib/tst-strtol-locale.c: Likewise.
1809         * stdlib/Makefile (tests): Add tst-strtol-locale.
1810         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1811         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1812         Depend on $(gen-locales).
1813         * wcsmbs/tst-wcstol-locale.c: New file.
1814         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1815         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1816         tr_TR.ISO-8859-9.
1817         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1818         Depend on $(gen-locales).
1820 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1822         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1823         __glibc_likely instead of __builtin_expect.  After falling back to
1824         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1825         system interface to register the code pages as occupied.
1827 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1829         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1830         [!ARM_MATH_PRIVATE_H].
1831         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1832         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1833         [!HPPA_MATH_PRIVATE_H].
1834         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1835         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1836         to [!I386_MATH_PRIVATE_H].
1837         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1838         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1839         Change guard to [!M68K_MATH_PRIVATE_H].
1840         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1841         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1842         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1843         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1844         macro.
1845         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1846         [!MIPS_MATH_PRIVATE_H].
1847         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1848         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1849         [!NIO2_MATH_PRIVATE_H].
1850         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1851         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1852         [!TILE_MATH_PRIVATE_H].
1853         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1855         [BZ #15421]
1856         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1857         initialize with 0 and define as weak alias of __signgam.
1858         * include/math.h [!_ISOMAC] (__signgam): Declare.
1859         * math/Makefile (libm-calls): Add w_lgamma_compat.
1860         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1861         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1862         test-signgam-ullong-init.
1863         (tests-static): Add test-signgam-uchar-static,
1864         test-signgam-uchar-init-static, test-signgam-uint-static,
1865         test-signgam-uint-init-static, test-signgam-ullong-static and
1866         test-signgam-ullong-init-static.
1867         (CFLAGS-test-signgam-uchar.c): New variable.
1868         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1869         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1870         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1871         (CFLAGS-test-signgam-uint.c): Likewise.
1872         (CFLAGS-test-signgam-uint-init.c): Likewise.
1873         (CFLAGS-test-signgam-uint-static.c): Likewise.
1874         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1875         (CFLAGS-test-signgam-ullong.c): Likewise.
1876         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1877         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1878         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1879         * math/Versions (libm): Add GLIBC_2.23.
1880         * math/lgamma-compat.h: New file.
1881         * math/test-signgam-main.c: Likewise.
1882         * math/test-signgam-uchar-init-static.c: Likewise.
1883         * math/test-signgam-uchar-init.c: Likewise.
1884         * math/test-signgam-uchar-static.c: Likewise.
1885         * math/test-signgam-uchar.c: Likewise.
1886         * math/test-signgam-uint-init-static.c: Likewise.
1887         * math/test-signgam-uint-init.c: Likewise.
1888         * math/test-signgam-uint-static.c: Likewise.
1889         * math/test-signgam-uint.c: Likewise.
1890         * math/test-signgam-ullong-init-static.c: Likewise.
1891         * math/test-signgam-ullong-init.c: Likewise.
1892         * math/test-signgam-ullong-static.c: Likewise.
1893         * math/test-signgam-ullong.c: Likewise.
1894         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1895         wrapper of w_lgamma_main.c.
1896         * math/w_lgamma_compat.c: New file.
1897         * math/w_lgamma_compatf.c: Likewise.
1898         * math/w_lgamma_compatl.c: Likewise.
1899         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1900         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1901         defining compatibility symbols.
1902         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1903         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1904         wrapper of w_lgammaf_main.c.
1905         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1906         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1907         defining compatibility symbols.
1908         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1909         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1910         wrapper of w_lgammal_main.c.
1911         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1912         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1913         defining compatibility symbols.
1914         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1915         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1916         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1917         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1918         <lgamma-compat.h>.
1919         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1920         (__ieee754_gamma): Define as alias.
1921         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1922         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1923         <lgamma-compat.h>.
1924         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1925         (__ieee754_gammaf): Define as alias.
1926         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1927         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1928         <lgamma-compat.h>.
1929         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1930         (__ieee754_gammal): Define as alias.
1931         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1932         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1933         <math/w_lgamma_compat.c>.
1934         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1935         Define as alias of __lgamma_compat and use in defining lgammal.
1936         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1937         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1938         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1939         (USE_AS_COMPAT): New macro.
1940         (LGAMMA_OLD_VER): Undefine and redefine.
1941         (lgammal): Do not define here.
1942         (gammal): Only define here if [GAMMA_ALIAS].
1943         * conform/linknamespace.pl (@whitelist): Remove signgam.
1944         * sysdeps/nacl/libm.abilist: Update.
1945         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1946         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1947         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1949         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1951         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1958         Likewise.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1960         Likewise.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1962         Likewise.
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1964         Likewise.
1965         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1971         Likewise.
1972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1973         Likewise.
1974         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1978 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1980         [BZ #16364]
1981         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1982         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1984 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1986         * sysdeps/s390/fpu/bits/mathinline.h:
1987         Use __asm__ [__volatile__] instead of asm [volatile].
1988         * sysdeps/s390/abort-instr.h: Likewise.
1989         * sysdeps/s390/atomic-machine.h: Likewise.
1990         * sysdeps/s390/bits/string.h: Likewise.
1991         * sysdeps/s390/dl-tls.h: Likewise.
1992         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1993         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1994         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1995         * sysdeps/s390/fpu/fesetround.c: Likewise.
1996         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1997         * sysdeps/s390/fpu/s_fma.c: Likewise.
1998         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1999         * sysdeps/s390/memusage.h: Likewise.
2000         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2001         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2002         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2003         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2004         * sysdeps/s390/nptl/tls.h: Likewise.
2005         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2006         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2007         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2008         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2009         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2010         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2011         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2012         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2013         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2014         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2015         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2016         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2017         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2018         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2019         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2020         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2021         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2022         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2023         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2025         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2027         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2029 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2030             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2032         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2033         Add lwarx hint, and use macro for acquire instruction.
2034         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2035         Likewise.
2036         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2037         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2038         update to use new atomic macros.
2040 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2042         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2043         (__lll_trylock_elision): Fix setting of adapt_count.
2044         * sysdeps/unix/sysv/linux/powerpc/htm.h
2045         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2046         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2047         (_ABORT_SYSCALL): Renumber, and clarify definition.
2048         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2050 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2052         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2053         after system headers to prevent MIN/MAX redefinition.  Define
2054         HAVE_ALLOCA to preserve builtin alloca usage.
2056 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2059         static and don't set or restore rounding.
2060         (__cos)[IN_SINCOS]: Likewise.
2061         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2062         (__sincos): Set and restore rounding mode.  Remove check for infinite
2063         or NaN input.
2065         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2067         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2068         as used.
2070 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2072         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2074 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2076         * config.make.in (have-glob-dat-reloc): New.
2077         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2078         target supports GLOB_DAT relocaton. AC_SUBST.
2079         * configure: Regenerated.
2080         * elf/Makefile (tests): Add tst-prelink.
2081         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2082         (tst-prelink-ENV): New.
2083         ($(objpfx)tst-prelink-conflict.out): Likewise.
2084         ($(objpfx)tst-prelink-cmp.out): Likewise.
2085         * sysdeps/x86/tst-prelink.c: Moved to ...
2086         * elf/tst-prelink.c: Here.
2087         * sysdeps/x86/tst-prelink.exp: Moved to ...
2088         * elf/tst-prelink.exp: Here.
2089         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2090         (tst-prelink-ENV): Removed.
2091         ($(objpfx)tst-prelink-conflict.out): Likewise.
2092         ($(objpfx)tst-prelink-cmp.out): Likewise.
2093         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2095 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2097         [BZ #14551]
2098         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2099         (__mpn_construct_long_double): If high part overflows to infinity,
2100         set errno and recompute overflowed result of the correct sign.
2101         * sysdeps/ieee754/ldbl-128ibm/Makefile
2102         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2103         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2104         $(libm).
2105         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2107 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2109         [BZ #15479]
2110         [BZ #19238]
2111         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2112         floating-point state after first operation on input.  Restore full
2113         state rather than just rounding mode.
2114         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2115         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2116         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2118         [BZ #19235]
2119         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2120         add 0.5 to integer arguments.
2121         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2122         Likewise.
2123         (.LC2): New object.
2125 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2127         * scripts/pylintrc (reports): Set to no.
2129 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2131         * elf/dl-load.c (open_verify): Take new argument FD.
2132         Skip __open call if passed FD is not -1.
2133         (_dl_map_object, open_path): Update callers.
2134         * elf/dl-sysdep-open.h: New file.
2135         * elf/dl-load.c: Include it.
2136         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2137         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2138         * sysdeps/nacl/dl-sysdep-open.h: New file.
2139         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2140         from libc to rtld.
2142 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2144         [BZ #19228]
2145         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2146         and restore full floating-point state.
2147         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2148         Likewise.
2149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2150         Likewise.
2151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2152         Likewise.
2153         * math/test-nearbyint-except-2.c: New file.
2154         * math/Makefile (tests): Add test-nearbyint-except-2.
2156 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2158         [BZ #19178]
2159         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2160         (tst-prelink-ENV): New.
2161         ($(objpfx)tst-prelink-conflict.out): Likewise.
2162         ($(objpfx)tst-prelink-cmp.out): Likewise.
2163         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2164         * sysdeps/x86/tst-prelink.c: New file.
2165         * sysdeps/x86/tst-prelink.exp: Likewise.
2167 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2169         * math/auto-libm-test-in: Add another test of pow.
2170         * math/auto-libm-test-out: Regenerated.
2171         * math/libm-test.inc (pow_test_data): Add another test.
2173 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2175         [BZ #19219]
2176         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2177         weak_alias to nearbyintl.
2179 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2181         * sysdeps/aarch64/bits/string.h: New file.
2182         (_STRING_ARCH_unaligned): Define.
2184 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2186         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2187         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2188         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2189         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2192 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2194         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2195         for original name of the DSO.  Add it to the name list of the DSO
2196         if it is actually given.
2197         (_dl_map_object): Keep track of whether an audit module rewrote
2198         the file name.  If yes, pass the original name to
2199         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2200         debugging is enabled, log the change of the file name.
2201         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2202         _dl_map_object_from_fd.
2203         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2204         * elf/tst-audit11.c: New file
2205         * elf/tst-auditmod11.c: New file.
2206         * elf/tst-audit11mod1.c: New file.
2207         * elf/tst-audit11mod2.c: New file.
2208         * elf/tst-audit11mod2.map: New file.
2209         * elf/tst-audit12.c: New file
2210         * elf/tst-auditmod12.c: New file.
2211         * elf/tst-audit12mod1.c: New file.
2212         * elf/tst-audit12mod2.c: New file.
2213         * elf/tst-audit12mod2.map: New file.
2214         * elf/tst-audit12mod3.c: New file.
2216 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2218         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2219         Don't create weak aliases,
2220         because versioned symbols are created later.
2221         * sysdeps/s390/s390-32/setjmp.S
2222         (setjmp, _setjmp): Remove weak and rename to an unique name
2223         in SHARED case due to existing versioned symbols.
2224         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2225         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2226         (getcontext): Create weak alias only in non SHARED case.
2227         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2229 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2231         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2232         (__ASSUME_*_SYSCALL) Define new macros.
2233         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2234         Remove socketcall syscalls.
2235         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2236         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2237         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2238         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2239         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2240         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2242 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2244         [BZ #12926]
2245         Terminate process on invalid netlink response.
2246         * sysdeps/unix/sysv/linux/netlinkaccess.h
2247         (__netlink_assert_response): Declare.
2248         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2249         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2250         (sysdep_routines): Add netlink_assert_response.
2251         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2252         __netlink_assert_response.
2253         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2254         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2255         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2256         __netlink_assert_response.
2258 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2260         [BZ #19178]
2261         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2262         (RTYPE_CLASS_PLT): Likewise.
2263         (RTYPE_CLASS_COPY): Likewise.
2264         (RTYPE_CLASS_TLS): Likewise.
2265         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2266         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2267         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2268         DL_DEBUG_PRELINK.
2270 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2272         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2273         calls with argument -0.5.
2274         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2276         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2277         (libc_cv_z_nodlopen): Likewise.
2278         (libc_cv_z_initfirst): Likewise.
2279         * configure: Regenerated.
2281 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2283         Simplify abilist format to be line-based.
2284         * scripts/abilist.awk: Collect descriptors in the descs variable.
2285         (emit): Write descs variable and sort it
2286         externally, with sort.
2287         * sysdeps/**/*.abilist: Convert to new format.
2289 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2291         [BZ #11460]
2292         * io/Makefile (routines): Add fts64.
2293         (tests): Add tst-fts and tst-fts-lfs.
2294         (CFLAGS-fts64.c): New.
2295         * io/Versions (GLIBC_2.23): New.
2296         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2297         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2298         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2299         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2300         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2301         (FTSENT64): Likewise.
2302         (fts64_children): Likewise.
2303         (fts64_close): Likewise.
2304         (fts64_open): Likewise.
2305         (fts64_read): Likewise.
2306         (fts64_set): Likewise.
2307         * io/fts64.c: New file.
2308         * io/tst-fts.c: New test.
2309         * io/tst-fts-lfs.c: Likewise.
2310         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2311         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2312         fts64_set.
2313         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2314         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2315         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2316         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2318         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2319         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2321         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2327         Likewise.
2328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2329         Likewise.
2330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2342         * sysdeps/wordsize-64/fts.c: New file.
2343         * sysdeps/wordsize-64/fts64.c: Likewise.
2344         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2345         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2346         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2347         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2349 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2351         * math/libm-test.inc (NON_FINITE): New macro.
2352         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2353         * math/gen-libm-test.pl (show_exceptions): Add argument
2354         $non_finite.
2355         (parse_args): Update call to show_exceptions.
2356         * math/test-math-finite.h: New file.
2357         * math/test-math-no-finite.h: Likewise.
2358         * math/test-double-finite.c: Likewise.
2359         * math/test-float-finite.c: Likewise.
2360         * math/test-ldouble-finite.c: Likewise.
2361         * math/test-double.c: Include "test-math-no-finite.h".
2362         * math/test-float.c: Include "test-math-no-finite.h".
2363         * math/test-ldouble.c: Include "test-math-no-finite.h".
2364         * math/test-math-inline.h (TEST_FINITE): New macro.
2365         * math/test-math-vector.h (TEST_FINITE): Likewise.
2366         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2367         (libm-tests): Add test-float-finite and test-double-finite.
2368         ($(objpfx)test-float-finite.o): New dependency on
2369         $(objpfx)libm-test.stmp.
2370         ($(objpfx)test-double-finite.o): Likewise.
2371         ($(objpfx)test-ldouble-finite.o): Likewise.
2372         (libm-test-no-inline-cflags): New variable.
2373         (libm-test-finite-cflags): Likewise.
2374         (CFLAGS-test-float-finite.c): Likewise.
2375         (CFLAGS-test-double-finite.c): Likewise.
2376         (CFLAGS-test-ldouble-finite.c): Likewise.
2377         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2378         (CFLAGS-test-double.c): Likewise.
2379         (CFLAGS-test-ldouble.c): Likewise.
2381 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2383         * io/fcntl.c (__fcntl): Add ... to prototype.
2384         * misc/ioctl.c (__ioctl): Likewise.
2385         * misc/syscall.c (syscall): Likewise.
2387 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2389         * scripts/list-fixed-bugs.py: New file.
2391         [BZ #19213]
2392         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2393         returned for argument 1.
2394         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2395         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2396         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2397         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2398         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2399         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2401         [BZ #19211]
2402         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2403         __USE_XOPEN], not if [!__USE_ISOC99].
2404         (lgammaf): Likewise.
2405         (lgammal): Likewise.
2406         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2407         (gammaf): Likewise.
2408         (gammal): Likewise.
2409         * math/test-signgam-finite-c11.c: New file.
2410         * math/test-signgam-finite-c99.c: Likewise.
2411         * math/test-signgam-finite.c: Likewise.
2412         * math/Makefile (tests): Add test-signgam-finite,
2413         test-signgam-finite-c99 and test-signgam-finite-c11.
2414         (CFLAGS-test-signgam-finite.c): New variable.
2415         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2416         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2418         [BZ #19212]
2419         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2420         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2421         500].
2422         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2423         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2424         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2425         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2426         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2427         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2428         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2429         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2430         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2431         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2433         [BZ #19209]
2434         * math/bits/math-finite.h (ldexp): Remove declaration.
2435         (ldexpf): Likewise.
2436         (ldexpl): Likewise.
2438         [BZ #19205]
2439         * math/bits/math-finite.h (acosf): Condition declaration on
2440         [__USE_ISOC99].
2441         (acosl): Likewise.
2442         (acoshf): Likewise.
2443         (acoshl): Likewise.
2444         (asinf): Likewise.
2445         (asinl): Likewise.
2446         (atan2f): Likewise.
2447         (atan2l): Likewise.
2448         (atanhf): Likewise.
2449         (atanhl): Likewise.
2450         (coshf): Likewise.
2451         (coshl): Likewise.
2452         (expf): Likewise.
2453         (expl): Likewise.
2454         (fmodf): Likewise.
2455         (fmodl): Likewise.
2456         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2457         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2458         (j0l): Likewise.
2459         (y0f): Likewise.
2460         (y0l): Likewise.
2461         (j1f): Likewise.
2462         (j1l): Likewise.
2463         (y1f): Likewise.
2464         (y1l): Likewise.
2465         (jnf): Likewise.
2466         (jnl): Likewise.
2467         (ynf): Likewise.
2468         (ynl): Likewise.
2469         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2470         (lgammal_r): Likewise.
2471         (__lgamma_r_finite): New declaration.
2472         (__lgammaf_r_finite): Likewise.
2473         (__lgammal_r_finite): Likewise.
2474         (lgamma): Use __lgamma_r_finite.
2475         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2476         __lgammaf_r_finite.
2477         (lgammal): Condition definition on [__USE_ISOC99].  Use
2478         __lgammal_r_finite.
2479         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2480         __lgamma_r_finite.
2481         (gammaf): Condition definition on [__USE_ISOC99].  Use
2482         __lgammaf_r_finite.
2483         (gammal): Condition definition on [__USE_ISOC99].  Use
2484         __lgammal_r_finite.
2485         (logf): Condition declaration on [__USE_ISOC99].
2486         (logl): Likewise.
2487         (log10f): Likewise.
2488         (log10l): Likewise.
2489         (ldexpf): Likewise.
2490         (ldexpl): Likewise.
2491         (powf): Likewise.
2492         (powl): Likewise.
2493         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2494         __USE_ISOC99].
2495         (remainderf): Condition declaration on [__USE_ISOC99].
2496         (remainderl): Likewise.
2497         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2498         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2499         (scalbl): Likewise.
2500         (sinhf): Condition declaration on [__USE_ISOC99].
2501         (sinhl): Likewise.
2502         (sqrtf): Likewise.
2503         (sqrtl): Likewise.
2505 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2507         * sysdeps/arm/atomic-machine.h
2508         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2509         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2510         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2511         Remove conditional code.
2512         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2513         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2514         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2515         Change conditional to [__ASSEMBLER__].
2516         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2517         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2518         [!__ASSEMBLER__].
2519         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2520         code.
2521         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2522         conditional macro definitions.
2523         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2524         (__arch_compare_and_exchange_val_16_acq): Likewise.
2525         (__arch_compare_and_exchange_val_32_acq): Likewise.
2526         (atomic_exchange_and_add): Likewise.
2527         (atomic_add): Likewise.
2528         (atomic_add_negative): Likewise.
2529         (atomic_add_zero): Likewise.
2530         (atomic_bit_set): Likewise.
2531         (atomic_bit_test_set): Likewise.
2532         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2533         code unconditional.
2534         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2536         * math/test-math-errno.h: New file.
2537         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2538         empty.
2539         (TEST_ERRNO): New macro.
2540         (TEST_EXCEPTIONS): Likewise.
2541         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2542         (TEST_EXCEPTIONS): Likewise.
2543         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2544         * math/test-double.c: Include "test-math-errno.h".
2545         * math/test-float.c: Likewise.
2546         * math/test-ldouble.c: Likewise.
2547         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2548         code unconditional.
2549         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2550         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2551         unconditional.
2552         (test_errno): Only run code if TEST_ERRNO.
2553         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2555 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2557         * nptl/tst-once5.cc: Remove attribution.
2559 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2561         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2562         sqrt, tan, tanh, y0, y1 and yn.
2563         * math/auto-libm-test-out: Regenerated.
2564         * math/libm-test.inc (scalb_test_data): Add more tests.
2565         (scalbn_test_data): Likewise.
2566         (scalbln_test_data): Likewise.
2567         (signbit_test_data): Likewise.
2568         (sin_test_data): Likewise.
2569         (sincos_test_data): Likewise.
2570         (sinh_test_data): Likewise.
2571         (sqrt_test_data): Likewise.
2572         (tan_test_data): Likewise.
2573         (tanh_test_data): Likewise.
2574         (tgamma_test_data): Likewise.
2575         (y0_test_data): Likewise.
2576         (y1_test_data): Likewise.
2577         (yn_test_data): Likewise.
2578         (significand_test_data): Likewise.
2579         * sysdeps/i386/fpu/libm-test-ulps: Update.
2581 2015-11-03  David Kastrup  <dak@gnu.org>
2583         [BZ #18604]
2584         * assert/assert.h (assert): Don't macro-expand failed assertion
2585         expression in error message.
2586         * malloc/malloc.c (assert): Likewise.
2588 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2590         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2591         test.
2592         * configure: Regenerated.
2594 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2596         * math/libm-test.inc (modf_test_data): Add more tests.
2597         (nearbyint_test_data): Likewise.
2598         (nextafter_test_data): Likewise.
2599         (nexttoward_test_data): Likewise.
2600         (pow_test_data): Likewise.
2601         (remainder_test_data): Likewise.
2602         (remquo_test_data): Likewise.
2603         (rint_test_data): Likewise.
2605         [BZ #19201]
2606         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2607         Check for zero remainder in case of large exponents and ensure
2608         correct sign of result in that case.
2609         * math/libm-test.inc (remainder_test_data): Add more tests.
2611         [BZ #6799]
2612         * math/s_nextafter.c: Include <errno.h>.
2613         (__nextafter): Set errno on overflow and underflow.
2614         * math/s_nexttowardf.c: Include <errno.h>.
2615         (__nexttowardf): Set errno on overflow and underflow.
2616         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2617         (__nextafterl): Set errno on overflow and underflow.
2618         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2619         (__nexttoward): Set errno on overflow and underflow.
2620         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2621         (__nexttowardf): Set errno on overflow and underflow.
2622         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2623         (__nextafterf): Set errno on overflow and underflow.
2624         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2625         (__nextafterl): Set errno on overflow and underflow.
2626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2627         (__nexttoward): Set errno on overflow and underflow.
2628         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2629         (__nexttowardf): Set errno on overflow and underflow.
2630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2631         (__nextafterl): Set errno on overflow and underflow.
2632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2633         (__nexttoward): Set errno on overflow and underflow.
2634         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2635         (__nexttowardf): Set errno on overflow and underflow.
2636         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2637         (__nexttoward): Set errno on overflow and underflow.
2638         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2639         (__nexttowardf): Set errno on overflow and underflow.
2640         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2641         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2642         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2643         (__nextafterl): Set errno on overflow and underflow.
2644         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2645         setting to be missing on overflow.  Add more tests.
2646         (nexttoward_test_data): Likewise.
2648         * configure.ac (libc_cv_initfini_array): Remove configure test.
2649         * configure: Regenerated.
2651 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2653         [BZ #19189]
2654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2655         non-finite argument handle arguments with negative sign.
2657         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2658         result from infinite argument.
2659         (j1_test_data): Likewise.
2660         (jn_test_data): Likewise.
2661         (y0_test_data): Likewise.
2662         (y1_test_data): Likewise.
2663         (yn_test_data): Likewise.
2665         [BZ #16171]
2666         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2667         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2668         * math/w_remainderf.c (dremf): Define as weak alias of
2669         __remainderf.
2670         * math/w_remainderl.c (dreml): Define as weak alias of
2671         __remainderl.
2672         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2673         __remainder.
2674         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2675         __remainderf.
2676         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2677         __remainderl.
2678         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2679         weak alias of remainderl.
2680         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2681         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2682         alias of __remainder.
2683         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2684         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2685         strong alias of __remainderl.
2686         (dreml): Use long_double_symbol.
2687         * math/Makefile (libm-calls): Remove w_drem.
2688         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2689         (CFLAGS-nldbl-drem.c): Remove variable.
2690         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2691         * math/w_drem.c: Remove file.
2692         * math/w_dremf.c: Likewise.
2693         * math/w_dreml.c: Likewise.
2694         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2695         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2696         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2698         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2699         * sysdeps/i386/configure: Regenerated.
2700         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2701         * sysdeps/x86_64/configure: Regenerated.
2703         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2704         test.
2705         (libc_cv_visibility_attribute): Likewise.
2706         (libc_cv_protected_data): Test unconditionally.
2707         (libc_cv_broken_visibility_attribute): Remove configure test.
2708         (libc_cv_have_sdata_section): Test unconditionally.
2709         * configure: Regenerated.
2711         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2712         * include/scratch_buffer.h: Include <stddef.h> instead of
2713         <libc-internal.h>.
2714         (struct scratch_buffer): Use max_align_t instead of
2715         libc_max_align_t.
2717 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2719         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2720         instead of extend_alloca.  Change control flow to avoid a goto.
2721         Remove assert which is trivially always true.
2723 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2725         [BZ #16068]
2726         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2727         (FE_ALL_EXCEPT_X86): New macro.
2728         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2729         FE_ALL_EXCEPT.  Ensure precision control is included in
2730         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2731         handle "denormal operand exception" and clear FZ and DAZ bits.
2732         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2733         (FE_ALL_EXCEPT_X86): New macro.
2734         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2735         FE_ALL_EXCEPT.  Ensure precision control is included in
2736         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2737         handle "denormal operand exception" and clear FZ and DAZ bits.
2738         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2739         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2740         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2741         test-fenv-x87 and test-fenv-sse-2.
2742         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2744         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2745         * math/test-double.h (BUILD_COMPLEX): New macro.
2746         * math/test-float.h (BUILD_COMPLEX): Likewise.
2747         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2749         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2750         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2751         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2753         instead of DBL_DENORM_MIN in comment.
2754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2755         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2757         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2759         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2761 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2763         [BZ# 19048]
2764         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2765         attached_threads member.
2766         (main_arena): Initialize attached_threads.
2767         * malloc/arena.c (list_lock): Update comment.
2768         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2769         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2770         (deattach_arena): New function.
2771         (_int_new_arena): Initialize arena reference count and deattach
2772         replaced arena.
2773         (get_free_list, reused_arena): Update reference count and deattach
2774         replaced arena.
2775         (arena_thread_freeres): Update arena reference count and only put
2776         unreferenced arenas on the free list.
2778 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2780         [BZ #19181]
2781         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2782         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2783         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2784         * math/test-fenv-clear-main.c: New file.
2785         * math/test-fenv-clear.c: Likewise.
2786         * math/Makefile (tests): Add test-fenv-clear.
2787         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2788         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2789         test-fenv-clear-sse.
2790         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2792         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2793         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2794         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2796 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2798         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2799         static libc.
2801 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2803         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2804         test.
2805         * sysdeps/i386/configure: Regenerated.
2806         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2807         test.
2808         * sysdeps/x86_64/configure: Regenerated.
2809         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2811         memset-avx2 unconditionally instead of conditionally on
2812         [$(config-cflags-avx2) = yes].
2813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2814         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2815         unconditional.
2816         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2817         * sysdeps/x86_64/multiarch/memset_chk.S
2818         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2819         to [IS_IN (libc) && SHARED].
2821 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2823         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2824         configure test.
2825         * sysdeps/arm/configure: Regenerated.
2826         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2827         Define variable if not already defined.
2829         [BZ #17404]
2830         * sysdeps/mips/atomic-machine.h
2831         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2832         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2833         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2835         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2836         unconditional.
2837         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2838         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2839         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2840         unconditional.
2841         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2842         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2843         unconditional.
2844         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2845         * stdlib/setenv.c
2846         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2847         code unconditional.
2848         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2849         Remove conditional code.
2850         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2851         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2852         unconditional.
2853         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2854         code.
2855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2856         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2857         unconditional.
2858         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2859         code.
2860         * sysdeps/ieee754/ldbl-128/k_tanl.c
2861         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2862         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2863         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2864         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2865         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2866         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2867         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2868         unconditional.
2869         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2870         code.
2871         * sysdeps/ieee754/ldbl-96/k_tanl.c
2872         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2873         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2875         * nptl/tst-initializers1-c11.c: New file.
2876         * nptl/tst-initializers1-gnu11.c: Likewise.
2877         * nptl/Makefile (tests): Add these new tests.
2878         (CFLAGS-tst-initializers1-c11.c): New variable.
2879         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2881         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2882         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2883         instead of -std=gnu99.
2884         * configure.ac (systemtap): Test with -std=gnu11 instead of
2885         -std=gnu99.
2886         * configure: Regenerated.
2887         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2888         in compilation command in comment.
2890         * sysdeps/nptl/configure.ac: Remove file.
2891         * sysdeps/nptl/configure: Remove generated file.
2892         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2893         * configure: Regenerated.
2894         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2895         * config.make.in (have-forced-unwind): Remove variable.
2896         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2897         unconditional.
2898         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2899         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2900         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2901         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2902         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2903         unconditional.
2905 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2907         [BZ #19174]
2908         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2909         .skip_lock_out_of_tbegin_retries.
2910         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2911         (__lll_lock_elision): Likewise, and respect a value of
2912         try_tbegin <= 0.
2914 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2916         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2917         statement.
2919 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2921         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2922         variable.
2923         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2924         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2926         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2927         of -std=c1x -D_ISOC11_SOURCE.
2929         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2930         * configure: Regenerated.
2931         * manual/install.texi (Tools for Compilation): Document
2932         requirement for GCC 4.7 or later.
2933         * INSTALL: Regenerated.
2935 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2937         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2938         on CNT to a conditional jump to 'puntdata'.
2940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2942         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2943         (libc_cv_gcc_tls_model_attr): Likewise.
2944         * configure: Regenerated.
2946         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2947         * configure: Regenerated.
2948         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2950 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2952         * configure.ac (old_glibc_headers): Remove configure test.
2953         * configure: Regenerated.
2954         * config.make.in (old-glibc-headers): Remove variable.
2955         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2956         (install): Remove dependency on remove-old-headers.
2957         (headers2_0): Remove variable.
2958         (remove-old-headers): Remove rule.
2960         * configure.ac (libc_cv_dot_text): Remove configure test.
2961         (libc_cv_asm_set_directive): Use .text instead of
2962         ${libc_cv_dot_text} in configure test.
2963         * configure: Regenerated.
2965 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2967         [BZ #19168]
2968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2970 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2972         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2973         not support static linking.
2974         * configure: Regenerate.
2976 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2978         * math/libm-test.inc (check_float_internal): Do not special-case
2979         errors up to 0.5 ulp.
2981         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2982         log2.
2983         * math/auto-libm-test-out: Regenerated.
2984         * math/libm-test.inc (MAX_EXP): New macro.
2985         (ilogb_test_data): Add more tests.
2986         (isfinite_test_data): Likewise.
2987         (isgreater_test_data): Likewise.
2988         (isgreaterequal_test_data): Likewise.
2989         (isinf_test_data): Likewise.
2990         (isless_test_data): Likewise.
2991         (islessequal_test_data): Likewise.
2992         (islessgreater_test_data): Likewise.
2993         (isnan_test_data): Likewise.
2994         (isnormal_test_data): Likewise.
2995         (issignaling_test_data): Likewise.
2996         (isunordered_test_data): Likewise.
2997         (j0_test_data): Likewise.
2998         (j1_test_data): Likewise.
2999         (jn_test_data): Likewise.
3000         (lgamma_test_data): Likewise.
3001         (log_test_data): Likewise.
3002         (log10_test_data): Likewise.
3003         (log1p_test_data): Likewise.
3004         (log2_test_data): Likewise.
3005         (logb_test_data): Likewise.
3006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3008         [BZ #18611]
3009         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3010         avoid excess range and precision on underflow.
3011         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3014         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3015         underflow.
3016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3017         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3018         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3020         * math/auto-libm-test-in: Do not allow missing errno setting for
3021         tests of j1 and jn.
3022         * math/auto-libm-test-out: Regenerated.
3024 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3026         [BZ #15491]
3027         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3028         floating-point environment instead of clearing all exceptions.
3029         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3030         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3031         merging in "invalid" exceptions from frndint.
3032         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3033         * math/test-nearbyint-except.c: New file.
3034         * math/Makefile (tests): Add test-nearbyint-except.
3036 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3038         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3040         * sysdeps/tile/libm-test-ulps: Regenerated.
3042 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3045         (__NR_sync_file_range2): Assume it is always defined.
3046         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3047         (__NR_sync_file_range): Assume it is always defined.
3049 2015-10-22  Andreas Schwab  <schwab@suse.de>
3051         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3052         INTERNAL_SYSCALL_ERRNO.
3053         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3054         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3055         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3056         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3060 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3062         * io/tst-fcntl.c (fd): New static variable.
3063         (do_prepare): Open temporary file here....
3064         (do_test): ...not here.
3066         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3068 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3070         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3071         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3072         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3073         Moved before "#ifdef __ASSEMBLER__".
3075 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3077         [BZ #19156]
3078         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3079         arguments very close to 0.
3081 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3083         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3084         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3086 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3088         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3089         New.  Defined for GCC 5 and above when not compiling for
3090         profiling.
3091         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3093         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3094         Renamed to ...
3095         (CFLAGS-epoll_pwait.o): This.
3096         (CFLAGS-mmap.c): Renamed to ...
3097         (CFLAGS-mmap.o): This.
3098         (CFLAGS-mmap64.c): Renamed to ...
3099         (CFLAGS-mmap64.o): This.
3100         (CFLAGS-epoll_pwait.os): New.
3101         (CFLAGS-mmap.os): Likewise.
3102         (CFLAGS-mmap64.os): Likewise.
3103         (CFLAGS-semtimedop.os): Likewise.
3104         (CFLAGS-semtimedop.c): Renamed to ...
3105         (CFLAGS-semtimedop.o): This.
3107 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3109         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3110         warning message.
3112 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3114         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3115         * Makefile ($(objpfx)c++-types-check.out): Filter out
3116         $(+gccwarn-c) instead of -Wstrict-prototypes.
3118         * io/fts.c (fts_open): Convert to prototype-style function
3119         definition.
3120         * malloc/mcheck.c (mcheck): Likewise.
3121         (mcheck_pedantic): Likewise.
3122         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3123         internal_function.
3124         (re_search_internal): Likewise.
3125         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3126         prototype-style function definition.
3127         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3128         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3129         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3130         (xdr_utmpptr): Likewise.
3131         (xdr_utmparr): Likewise.
3132         (xdr_utmpidle): Likewise.
3133         (xdr_utmpidleptr): Likewise.
3134         (xdr_utmpidlearr): Likewise.
3136         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3137         log, log10 and log2.
3138         * math/auto-libm-test-out: Regenerated.
3139         * math/libm-test.inc (fmod_test_data): Add more tests.
3140         (fpclassify_test_data): Likewise.
3141         (frexp_test_data): Likewise.
3142         (hypot_test_data): Likewise.
3143         (ilogb_test_data): Likewise.
3145 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3147         * debug/fortify_fail.c (__fortify_fail): Convert to
3148         prototype-style function definition.  Use internal_function.
3149         * libio/genops.c (save_for_backup): Convert to prototype-style
3150         function definition.
3151         * libio/wgenops.c (save_for_wbackup): Likewise.
3152         * login/grantpt.c (grantpt): Likewise.
3153         * login/ptsname.c (ptsname): Likewise.
3154         (__ptsname_r): Likewise.
3155         * login/unlockpt.c (unlockpt): Likewise.
3156         * mach/msgserver.c (__mach_msg_server): Likewise.
3157         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3158         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3159         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3160         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3161         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3162         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3163         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3164         Likewise.
3165         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3166         internal_function.
3167         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3168         prototype-style function definition.
3169         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3170         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3171         (__pthread_create_2_0): Likewise.
3172         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3173         * nptl/register-atfork.c (__register_atfork): Likewise.
3174         * posix/glob.c (glob): Likewise.
3175         * posix/regcomp.c (re_comp): Likewise.
3176         * posix/regexec.c (re_exec): Likewise.
3177         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3178         [!__STDC__]: Remove conditional code.
3179         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3180         [!__STDC__]: Remove conditional code.
3181         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3182         [!__STDC__]: Remove conditional code.
3183         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3184         [!__STDC__]: Remove conditional code.
3185         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3186         [!__STDC__]: Remove conditional code.
3187         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3188         [!__STDC__]: Remove conditional code.
3189         * stdlib/mul.c [__STDC__]: Make code unconditional.
3190         [!__STDC__]: Remove conditional code.
3191         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3192         [!__STDC__]: Remove conditional code.
3193         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3194         [!__STDC__]: Remove conditional code.
3195         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3196         function definition.
3197         (STRTOF): Likewise.
3198         * stdlib/strtod_l.c (__STRTOF): Likewise.
3199         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3200         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3201         (__strtol_l): Likewise.
3202         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3203         [!__STDC__]: Remove conditional code.
3204         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3205         definition.
3206         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3207         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3208         type.
3209         (__strcasecmp): Convert to prototype-style function definition.
3210         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3211         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3212         type.
3213         (__strncasecmp): Convert to prototype-style function definition.
3214         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3215         * sunrpc/xdr.c (xdr_union): Likewise.
3216         * sunrpc/xdr_array.c (xdr_array): Likewise.
3217         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3218         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3219         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3220         Likewise.
3221         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3222         Likewise.
3223         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3224         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3225         Likewise.
3226         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3227         (LOCALE_PARAM_PROTO): Likewise.
3228         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3229         argument type.
3230         (ut_argument_spec): Remove macro.
3231         (ut_argument_spec_iso): Rename to ut_argument_spec.
3232         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3233         prototype-style function definition.
3234         (memcpy_uppcase): Likewise.
3235         (__strftime_internal): Likewise.
3236         (my_strftime): Likewise.
3237         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3238         (LOCALE_PARAM_DECL): Likewise.
3239         [_LIBC] (LOCALE_PARAM): Include argument type.
3240         (__strptime_internal): Convert to prototype-style function
3241         definition.
3242         (strptime): Likewise.
3243         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3244         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3245         type.
3246         (__wcscasecmp): Convert to prototype-style function definition.
3247         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3248         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3249         type.
3250         (__wcsncasecmp): Convert to prototype-style function definition.
3252         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3253         function definition.
3254         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3255         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3256         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3257         * elf/dl-minimal.c (_itoa): Likewise.
3258         * hurd/hurdmalloc.c (malloc): Likewise.
3259         (free): Likewise.
3260         (realloc): Likewise.
3261         * inet/inet6_option.c (inet6_option_space): Likewise.
3262         (inet6_option_init): Likewise.
3263         (inet6_option_append): Likewise.
3264         (inet6_option_alloc): Likewise.
3265         (inet6_option_next): Likewise.
3266         (inet6_option_find): Likewise.
3267         * io/ftw.c (FTW_NAME): Likewise.
3268         (NFTW_NAME): Likewise.
3269         (NFTW_NEW_NAME): Likewise.
3270         (NFTW_OLD_NAME): Likewise.
3271         * libio/iofwide.c (_IO_fwide): Likewise.
3272         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3273         (_IO_str_init_static): Likewise.
3274         (_IO_str_init_readonly): Likewise.
3275         (_IO_str_overflow): Likewise.
3276         (_IO_str_underflow): Likewise.
3277         (_IO_str_count): Likewise.
3278         (_IO_str_seekoff): Likewise.
3279         (_IO_str_pbackfail): Likewise.
3280         (_IO_str_finish): Likewise.
3281         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3282         (_IO_wstr_overflow): Likewise.
3283         (_IO_wstr_underflow): Likewise.
3284         (_IO_wstr_count): Likewise.
3285         (_IO_wstr_seekoff): Likewise.
3286         (_IO_wstr_pbackfail): Likewise.
3287         (_IO_wstr_finish): Likewise.
3288         * locale/programs/localedef.c (normalize_codeset): Likewise.
3289         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3290         (add_locales_to_archive): Likewise.
3291         (delete_locales_from_archive): Likewise.
3292         * malloc/malloc.c (__libc_mallinfo): Likewise.
3293         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3294         * misc/tsearch.c (__tfind): Likewise.
3295         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3296         * nptl/pthread_attr_getdetachstate.c
3297         (__pthread_attr_getdetachstate): Likewise.
3298         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3299         Likewise.
3300         * nptl/pthread_attr_getinheritsched.c
3301         (__pthread_attr_getinheritsched): Likewise.
3302         * nptl/pthread_attr_getschedparam.c
3303         (__pthread_attr_getschedparam): Likewise.
3304         * nptl/pthread_attr_getschedpolicy.c
3305         (__pthread_attr_getschedpolicy): Likewise.
3306         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3307         Likewise.
3308         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3309         Likewise.
3310         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3311         Likewise.
3312         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3313         Likewise.
3314         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3315         (__pthread_attr_init_2_0): Likewise.
3316         * nptl/pthread_attr_setdetachstate.c
3317         (__pthread_attr_setdetachstate): Likewise.
3318         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3319         Likewise.
3320         * nptl/pthread_attr_setinheritsched.c
3321         (__pthread_attr_setinheritsched): Likewise.
3322         * nptl/pthread_attr_setschedparam.c
3323         (__pthread_attr_setschedparam): Likewise.
3324         * nptl/pthread_attr_setschedpolicy.c
3325         (__pthread_attr_setschedpolicy): Likewise.
3326         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3327         Likewise.
3328         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3329         Likewise.
3330         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3331         Likewise.
3332         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3333         Likewise.
3334         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3335         Likewise.
3336         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3337         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3338         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3339         use internal_function.
3340         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3341         prototype-style function definition.
3342         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3343         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3344         internal_function.
3345         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3346         Convert to prototype-style function definition.
3347         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3348         Likewise.
3349         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3350         Likewise.
3351         (__pthread_mutex_unlock): Likewise.
3352         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3353         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3354         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3355         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3356         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3357         * nss/makedb.c (process_input): Likewise.
3358         * posix/fnmatch.c (__strchrnul): Likewise.
3359         (__wcschrnul): Likewise.
3360         (fnmatch): Likewise.
3361         * posix/fnmatch_loop.c (FCT): Likewise.
3362         * posix/glob.c (globfree): Likewise.
3363         (__glob_pattern_type): Likewise.
3364         (__glob_pattern_p): Likewise.
3365         * posix/regcomp.c (re_compile_pattern): Likewise.
3366         (re_set_syntax): Likewise.
3367         (re_compile_fastmap): Likewise.
3368         (regcomp): Likewise.
3369         (regerror): Likewise.
3370         (regfree): Likewise.
3371         * posix/regexec.c (regexec): Likewise.
3372         (re_match): Likewise.
3373         (re_search): Likewise.
3374         (re_match_2): Likewise.
3375         (re_search_2): Likewise.
3376         (re_search_stub): Likewise.  Use internal_function
3377         (re_copy_regs): Likewise.
3378         (re_set_registers): Convert to prototype-style function
3379         definition.
3380         (prune_impossible_nodes): Likewise.  Use internal_function.
3381         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3382         prototype-style function definition.
3383         (inet_net_pton_ipv4): Likewise.
3384         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3385         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3386         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3387         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3388         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3389         Make variadic.
3390         * time/strptime_l.c (localtime_r): Convert to prototype-style
3391         function definition.
3392         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3393         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3394         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3395         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3397         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3398         definition.
3399         (_ufc_doit_r): Likewise.
3400         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3401         (_ufc_output_conversion_r): Likewise.
3402         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3403         * inet/rcmd.c (rcmd_af): Likewise.
3404         (rcmd): Likewise.
3405         (ruserok_af): Likewise.
3406         (ruserok): Likewise.
3407         (ruserok2_sa): Likewise.
3408         (ruserok_sa): Likewise.
3409         (iruserok_af): Likewise.
3410         (iruserok): Likewise.
3411         (__ivaliduser): Likewise.
3412         (__validuser2_sa): Likewise.
3413         * inet/rexec.c (rexec_af): Likewise.
3414         (rexec): Likewise.
3415         * inet/ruserpass.c (ruserpass): Likewise.
3416         * locale/programs/xmalloc.c (xcalloc): Likewise.
3417         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3418         * math/w_drem.c (__drem): Likewise.
3419         * math/w_dremf.c (__dremf): Likewise.
3420         * math/w_dreml.c (__dreml): Likewise.
3421         * misc/daemon.c (daemon): Likewise.
3422         * resolv/res_debug.c (p_fqnname): Likewise.
3423         * stdlib/div.c (div): Likewise.
3424         * string/memcmp.c (memcmp_bytes): Likewise.
3425         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3426         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3428         * crypt/cert.c (main): Convert to prototype-style function
3429         definition.
3430         * io/pipe.c (__pipe): Likewise.
3431         * io/pipe2.c (__pipe2): Likewise.
3432         * misc/futimesat.c (futimesat): Likewise.
3433         * misc/utimes.c (__utimes): Likewise.
3434         * posix/execve.c (__execve): Likewise.
3435         * posix/execvp.c (execvp): Likewise.
3436         * posix/execvpe.c (__execvpe): Likewise.
3437         * posix/fexecve.c (fexecve): Likewise.
3438         * socket/socketpair.c (socketpair): Likewise.
3439         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3440         * stdlib/erand48.c (erand48): Likewise.
3441         * stdlib/erand48_r.c (__erand48_r): Likewise.
3442         * stdlib/jrand48.c (jrand48): Likewise.
3443         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3444         * stdlib/lcong48.c (lcong48): Likewise.
3445         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3446         * stdlib/nrand48.c (nrand48): Likewise.
3447         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3448         * stdlib/seed48.c (seed48): Likewise.
3449         * stdlib/seed48_r.c (__seed48_r): Likewise.
3450         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3451         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3452         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3454 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3456         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3457         * configure: Regenerated.
3458         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3459         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3460         unconditional.
3461         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3462         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3463         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3464         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3465         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3466         unconditional.
3467         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3469         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3470         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3472         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3473         function definition.
3474         * crypt/crypt_util.c (__encrypt_r): Likewise.
3475         * libio/genops.c (_IO_no_init): Likewise.
3476         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3477         (_IO_old_fopencookie): Likewise.
3478         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3479         * libio/iogetline.c (_IO_getline): Likewise.
3480         (_IO_getline_info): Likewise.
3481         * libio/iogetwline.c (_IO_getwline): Likewise.
3482         (_IO_getwline_info): Likewise.
3483         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3484         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3485         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3486         (find_entry): Likewise.
3487         (iterate_table): Likewise.
3488         (lookup): Likewise.
3489         * login/forkpty.c (forkpty): Likewise.
3490         * misc/hsearch_r.c (__hsearch_r): Likewise.
3491         * misc/select.c (__select): Likewise.
3492         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3493         Likewise.
3494         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3495         Likewise.
3496         * nptl/old_pthread_cond_timedwait.c
3497         (__pthread_cond_timedwait_2_0): Likewise.
3498         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3499         * nptl/pthread_barrierattr_getpshared.c
3500         (pthread_barrierattr_getpshared): Likewise.
3501         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3502         Likewise.
3503         * nptl/pthread_mutex_setprioceiling.c
3504         (pthread_mutex_setprioceiling): Likewise.
3505         * nptl/pthread_mutexattr_getprioceiling.c
3506         (pthread_mutexattr_getprioceiling): Likewise.
3507         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3508         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3509         Likewise.
3510         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3511         Likewise.
3512         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3513         Likewise.
3514         * socket/recvfrom.c (__recvfrom): Likewise.
3515         * socket/sendto.c (__sendto): Likewise.
3516         * socket/setsockopt.c (__setsockopt): Likewise.
3517         * stdio-common/_itoa.c (_itoa): Likewise.
3518         * stdio-common/_itowa.c (_itowa): Likewise.
3519         * stdio-common/reg-printf.c (__register_printf_specifier):
3520         Likewise.
3521         (__register_printf_function): Likewise.
3522         * stdio-common/tempname.c (__path_search): Likewise.
3523         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3524         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3525         * stdlib/random_r.c (__initstate_r): Likewise.
3526         * stdlib/setenv.c (__add_to_environ): Likewise.
3527         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3528         * streams/getpmsg.c (getpmsg): Likewise.
3529         * streams/putmsg.c (putmsg): Likewise.
3530         * streams/putpmsg.c (putpmsg): Likewise.
3531         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3532         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3533         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3534         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3535         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3536         * sunrpc/svc_udp.c (cache_get): Likewise.
3537         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3538         * sysdeps/mach/hurd/getcwd.c
3539         (__canonicalize_directory_name_internal): Likewise.
3540         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3541         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3542         * sysdeps/mach/hurd/select.c (__select): Likewise.
3543         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3544         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3545         * sysdeps/sparc/nptl/pthread_barrier_init.c
3546         (__pthread_barrier_init): Likewise.
3547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3548         (__pthread_cond_timedwait): Likewise.
3549         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3550         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3551         Likewise.
3552         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3553         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3554         Likewise.
3555         * sysvipc/semtimedop.c (semtimedop): Likewise.
3556         * time/setitimer.c (__setitimer): Likewise.
3557         * time/strftime_l.c (emacs_strftime): Likewise.
3559 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3561         * config.make.in (have-ssp): Delete.
3562         (stack-protector): New variable.
3563         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3564         cache test for -fstack-protector-strong.  Export stack_protector to
3565         the best ssp flag.
3566         * configure: Regenerated.
3567         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3568         * nscd/Makefile (CFLAGS-nscd): Likewise.
3569         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3571 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3573         [BZ #19122]
3574         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3575         attribute_hidden.
3577 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3579         [BZ #18743]
3580         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3581         code to...
3582         (ELIDE_LOCK): ...here.
3583         (__get_new_count): New function with part of the code from
3584         __elide_lock that updates the value of adapt_count after a
3585         transaction abort.
3586         (__elided_trylock): Moved this code to...
3587         (ELIDE_TRYLOCK): ...here.
3589 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3591         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3592         * configure: Regenerate.
3593         * INSTALL: Regenerate.
3594         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3595         and tweak grammar.
3597 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3599         * login/programs/pt_chown.c: Include signal.h
3600         (main): Clear any signal mask from the parent process.
3602 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3604         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3605         * configure: Regenerated.
3606         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3607         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3608         $(gnu89-inline-CFLAGS).
3610         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3611         test.
3612         (libc_cv_asm_weakext_directive): Likewise.
3613         * configure: Regenerated.
3614         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3615         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3616         * include/libc-symbols.h
3617         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3618         #error.
3619         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3620         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3622         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3623         prototype-style function definition.
3624         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3625         * sysdeps/i386/ffs.c (__ffs): Likewise.
3626         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3627         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3628         Likewise.
3629         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3630         Likewise.
3631         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3632         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3633         Likewise.
3634         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3635         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3636         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3637         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3638         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3639         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3640         * sysdeps/mach/hurd/access.c (__access): Likewise.
3641         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3642         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3643         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3644         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3645         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3646         (cthread_getspecific): Likewise.
3647         (cthread_setspecific): Likewise.
3648         (__libc_getspecific): Likewise.
3649         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3650         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3651         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3652         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3653         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3654         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3655         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3656         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3657         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3658         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3659         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3660         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3661         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3662         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3663         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3664         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3665         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3666         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3667         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3668         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3669         * sysdeps/mach/hurd/link.c (__link): Likewise.
3670         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3671         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3672         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3673         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3674         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3675         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3676         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3677         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3678         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3679         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3680         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3681         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3682         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3683         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3684         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3685         * sysdeps/mach/hurd/send.c (__send): Likewise.
3686         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3687         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3688         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3689         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3690         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3691         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3692         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3693         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3694         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3695         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3696         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3697         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3698         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3699         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3700         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3701         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3702         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3703         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3704         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3705         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3706         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3707         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3708         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3709         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3710         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3711         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3712         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3713         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3714         * sysdeps/posix/alarm.c (alarm): Likewise.
3715         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3716         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3717         * sysdeps/posix/dup.c (__dup): Likewise.
3718         * sysdeps/posix/dup2.c (__dup2): Likewise.
3719         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3720         (main): Likewise.
3721         * sysdeps/posix/flock.c (__flock): Likewise.
3722         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3723         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3724         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3725         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3726         * sysdeps/posix/isatty.c (__isatty): Likewise.
3727         * sysdeps/posix/killpg.c (killpg): Likewise.
3728         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3729         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3730         * sysdeps/posix/raise.c (raise): Likewise.
3731         * sysdeps/posix/remove.c (remove): Likewise.
3732         * sysdeps/posix/rename.c (rename): Likewise.
3733         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3734         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3735         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3736         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3737         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3738         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3739         * sysdeps/posix/sigset.c (sigset): Likewise.
3740         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3741         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3742         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3743         * sysdeps/posix/time.c (time): Likewise.
3744         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3745         (ttyname): Likewise.
3746         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3747         * sysdeps/posix/utime.c (utime): Likewise.
3748         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3749         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3750         Likewise.
3751         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3752         (pthread_spin_trylock): Likewise.
3753         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3754         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3755         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3756         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3757         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3758         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3759         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3760         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3761         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3762         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3763         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3764         * sysdeps/s390/ffs.c (__ffs): Likewise.
3765         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3766         Likewise.
3767         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3768         Likewise.
3769         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3770         Likewise.
3771         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3772         (pthread_barrier_destroy): Likewise.
3773         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3774         (__pthread_barrier_wait): Likewise.
3775         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3776         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3777         (__pthread_barrier_wait): Likewise.
3778         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3779         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3780         (memcmp_not_common_alignment): Likewise.
3781         (MEMCMP): Likewise.
3782         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3783         (_wordcopy_fwd_dest_aligned): Likewise.
3784         (_wordcopy_bwd_aligned): Likewise.
3785         (_wordcopy_bwd_dest_aligned): Likewise.
3786         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3787         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3788         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3789         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3790         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3791         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3792         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3793         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3794         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3795         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3796         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3797         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3798         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3799         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3800         * sysdeps/unix/stime.c (stime): Likewise.
3801         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3802         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3803         Likewise.  Use internal_function.
3804         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3805         Convert to prototype-style function definition.
3806         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3807         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3809         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3810         Likewise.  Use internal_function.
3811         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3812         prototype-style function definition
3813         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3814         Likewise.
3815         (__getlogin_r): Likewise.
3816         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3818         (__pthread_cond_broadcast): Likewise.
3819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3820         (__pthread_cond_destroy): Likewise.
3821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3822         (__pthread_cond_init): Likewise.
3823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3824         (__pthread_cond_signal): Likewise.
3825         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3826         (__pthread_cond_wait): Likewise.
3827         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3828         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3829         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3830         Likewise.
3831         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3832         Likewise.
3833         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3834         Likewise.
3835         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3839         (__ftruncate64): Likewise.
3840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3841         (truncate64): Likewise.
3842         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3843         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3844         (pthread_getcpuclockid): Likewise.
3845         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3846         Likewise.
3847         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3848         Likewise.
3849         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3850         Likewise.
3851         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3852         Likewise.
3853         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3854         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3855         (__libc_sigaction): Likewise.
3856         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3857         Likewise.
3858         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3859         (__sigprocmask): Likewise.
3860         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3861         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3862         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3863         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3864         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3865         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3866         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3867         Likewise.
3868         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3869         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3870         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3871         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3872         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3873         Likewise.
3874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3875         (__sigprocmask): Likewise.
3876         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3877         (cfgetispeed): Likewise.
3878         (cfsetospeed): Likewise.
3879         (cfsetispeed): Likewise.
3880         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3881         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3882         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3883         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3884         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3885         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3886         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3887         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3888         Likewise.
3889         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3894         Likewise.
3895         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3897 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3899         sunrpc: Rewrite with explicit TLS access using __thread.
3900         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3901         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3902         directly.
3903         (__rpc_thread_variables): Access thread_rpc_vars directly.
3904         Eliminate redundant assignment of the tvp variable.
3906 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3908         malloc: Rewrite with explicit TLS access using __thread.
3909         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3910         (tsd_setspecific, tsd_getspecific): Remove.
3911         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3912         (tsd_setspecific, tsd_getspecific): Likewise.
3913         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3914         (tsd_setspecific, tsd_getspecific): Likewise.
3915         * malloc/arena.c (thread_arena): New TLS variable.
3916         (arena_key): Remove variable.
3917         (arena_get): Use thread_arena.
3918         (arena_lookup): Remove macro.
3919         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3920         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3921         (_int_new_arena, get_free_list, reused_arena)
3922         (arena_thread_freeres): Use thread_arena.
3923         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3924         tsd_getspecific, tsd_setspecific from safety annotations.
3925         (Allocating Cleared Space): Remove arena_lookup from safety
3926         annotations.
3928 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3930         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3931         struct scratch_buffer instead of extend_alloca.
3933 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3935         * sysdeps/unix/sysv/linux/kernel-features.h
3936         (__ASSUME_SOCK_CLOEXEC): Remove.
3937         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3938         (__have_paccept): Remove unused macro.
3939         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3940         * misc/syslog.c (openlog_internal): Remove fallback code for
3941         !__ASSUME_SOCK_CLOEXEC.
3942         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3943         missing SOCK_CLOEXEC.
3944         * nscd/connections.c (have_sock_cloexec): Remove definition.
3945         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3946         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3947         !__ASSUME_SOCK_CLOEXEC.
3948         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3949         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3950         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3951         definition.
3952         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3953         code for !__ASSUME_SOCK_CLOEXEC.
3955 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3957         [BZ #18982]
3958         * manual/stdio.texi (Variable Arguments Output): Add portability
3959         note, explaining that vfprintf clobbers the va_list pointer.
3961 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3963         * math/libm-test.inc (fabs_test_data): Add more tests.
3964         (fdim_test_data): Likewise.
3965         (fma_test_data): Likewise.
3966         (fmax_test_data): Likewise.
3967         (fmin_test_data): Likewise.
3968         (fmod_test_data): Likewise.
3970 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3972         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3973         data.
3975 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3977         * math/libm-test.inc (ceil_test_data): Add more tests and more
3978         expectations for "inexact".
3979         (floor_test_data): Add more tests.
3980         (round_test_data): Likewise.
3981         (trunc_test_data): Likewise.
3983         * crypt/cert.c (good_bye): Convert to prototype-style function
3984         definition.
3985         (get8): Likewise.
3986         (put8): Likewise.
3987         * crypt/crypt-entry.c (crypt): Likewise.
3988         (__fcrypt): Likewise.
3989         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3990         (_ufc_set_bits): Likewise.
3991         (_ufc_clearmem): Likewise.
3992         (__init_des_r): Likewise.
3993         (shuffle_sb): Likewise.
3994         (shuffle_sb): Likewise.
3995         (_ufc_setup_salt_r): Likewise.
3996         (_ufc_mk_keytab_r): Likewise.
3997         (_ufc_dofinalperm_r): Likewise.
3998         (encrypt): Likewise.
3999         (__setkey_r): Likewise.
4000         (setkey): Likewise.
4001         * crypt/md5.c (md5_init_ctx): Likewise.
4002         (md5_read_ctx): Likewise.
4003         (md5_finish_ctx): Likewise.
4004         (md5_stream): Likewise.
4005         (md5_buffer): Likewise.
4006         (md5_process_bytes): Likewise.
4007         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4008         (__sha256_finish_ctx): Likewise.
4009         (__sha256_process_bytes): Likewise.
4010         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4011         (__sha512_finish_ctx): Likewise.
4012         (__sha512_process_bytes): Likewise.
4013         * ctype/isctype.c (__isctype): Likewise.
4014         * debug/backtrace.c (__backtrace): Likewise.
4015         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4016         * debug/fgets_chk.c (__fgets_chk): Likewise.
4017         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4018         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4019         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4020         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4021         * debug/memset_chk.c (__memset_chk): Likewise.
4022         * debug/strcat_chk.c (__strcat_chk): Likewise.
4023         * debug/strncat_chk.c (__strncat_chk): Likewise.
4024         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4025         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4026         * dirent/dirfd.c (dirfd): Likewise.
4027         * dirent/getdents.c (__getdirentries): Likewise.
4028         * dirent/getdents64.c (getdirentries64): Likewise.
4029         * dirent/rewinddir.c (__rewinddir): Likewise.
4030         * dirent/seekdir.c (seekdir): Likewise.
4031         * dirent/telldir.c (telldir): Likewise.
4032         * elf/sln.c (makesymlinks): Likewise.
4033         (makesymlink): Likewise.
4034         * gmon/gmon.c (__moncontrol): Likewise.
4035         (__monstartup): Likewise.
4036         (write_hist): Likewise.
4037         (write_call_graph): Likewise.
4038         (write_bb_counts): Likewise.
4039         * grp/setgroups.c (setgroups): Likewise.
4040         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4041         * inet/inet_net.c (inet_network): Likewise.
4042         * inet/inet_netof.c (inet_netof): Likewise.
4043         * inet/rcmd.c (rresvport_af): Likewise.
4044         (rresvport): Likewise.
4045         * io/access.c (__access): Likewise.
4046         * io/chdir.c (__chdir): Likewise.
4047         * io/chmod.c (__chmod): Likewise.
4048         * io/chown.c (__chown): Likewise.
4049         * io/close.c (__close): Likewise.
4050         * io/creat.c (creat): Likewise.
4051         * io/creat64.c (creat64): Likewise.
4052         * io/dup.c (__dup): Likewise.
4053         * io/dup2.c (__dup2): Likewise.
4054         * io/dup3.c (__dup3): Likewise.
4055         * io/euidaccess.c (__euidaccess): Likewise.
4056         * io/faccessat.c (faccessat): Likewise.
4057         * io/fchmod.c (__fchmod): Likewise.
4058         * io/fchmodat.c (fchmodat): Likewise.
4059         * io/fchown.c (__fchown): Likewise.
4060         * io/fchownat.c (fchownat): Likewise.
4061         * io/fcntl.c (__fcntl): Likewise.
4062         * io/flock.c (__flock): Likewise.
4063         * io/fts.c (fts_load): Likewise.
4064         (fts_close): Likewise.
4065         (fts_read): Likewise.
4066         (fts_set): Likewise.
4067         (fts_children): Likewise.
4068         (fts_build): Likewise.
4069         (fts_stat): Likewise.
4070         (fts_sort): Likewise.
4071         (fts_alloc): Likewise.
4072         (fts_lfree): Likewise.
4073         (fts_palloc): Likewise.
4074         (fts_padjust): Likewise.
4075         (fts_maxarglen): Likewise.
4076         (fts_safe_changedir): Likewise.
4077         * io/getwd.c (getwd): Likewise.
4078         * io/isatty.c (__isatty): Likewise.
4079         * io/lchown.c (__lchown): Likewise.
4080         * io/link.c (__link): Likewise.
4081         * io/linkat.c (linkat): Likewise.
4082         * io/lseek.c (__libc_lseek): Likewise.
4083         * io/mkdir.c (__mkdir): Likewise.
4084         * io/mkdirat.c (mkdirat): Likewise.
4085         * io/mkfifo.c (mkfifo): Likewise.
4086         * io/mkfifoat.c (mkfifoat): Likewise.
4087         * io/open.c (__libc_open): Likewise.
4088         * io/open64.c (__libc_open64): Likewise.
4089         * io/readlink.c (__readlink): Likewise.
4090         * io/readlinkat.c (readlinkat): Likewise.
4091         * io/rmdir.c (__rmdir): Likewise.
4092         * io/symlink.c (__symlink): Likewise.
4093         * io/symlinkat.c (symlinkat): Likewise.
4094         * io/ttyname.c (ttyname): Likewise.
4095         * io/ttyname_r.c (__ttyname_r): Likewise.
4096         * io/umask.c (__umask): Likewise.
4097         * io/unlink.c (__unlink): Likewise.
4098         * io/unlinkat.c (unlinkat): Likewise.
4099         * io/utime.c (utime): Likewise.
4100         * libio/clearerr.c (clearerr): Likewise.
4101         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4102         * libio/feof.c (_IO_feof): Likewise.
4103         * libio/feof_u.c (feof_unlocked): Likewise.
4104         * libio/ferror.c (_IO_ferror): Likewise.
4105         * libio/ferror_u.c (ferror_unlocked): Likewise.
4106         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4107         * libio/fileno.c (__fileno): Likewise.
4108         * libio/fputc.c (fputc): Likewise.
4109         * libio/fputc_u.c (fputc_unlocked): Likewise.
4110         * libio/fputwc.c (fputwc): Likewise.
4111         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4112         * libio/freopen.c (freopen): Likewise.
4113         * libio/freopen64.c (freopen64): Likewise.
4114         * libio/fseek.c (fseek): Likewise.
4115         * libio/fseeko.c (fseeko): Likewise.
4116         * libio/fseeko64.c (fseeko64): Likewise.
4117         * libio/ftello.c (__ftello): Likewise.
4118         * libio/ftello64.c (ftello64): Likewise.
4119         * libio/fwide.c (fwide): Likewise.
4120         * libio/genops.c (_IO_un_link): Likewise.
4121         (_IO_link_in): Likewise.
4122         (_IO_least_marker): Likewise.
4123         (_IO_switch_to_main_get_area): Likewise.
4124         (_IO_switch_to_backup_area): Likewise.
4125         (_IO_switch_to_get_mode): Likewise.
4126         (_IO_free_backup_area): Likewise.
4127         (_IO_switch_to_put_mode): Likewise.
4128         (__overflow): Likewise.
4129         (__underflow): Likewise.
4130         (__uflow): Likewise.
4131         (_IO_setb): Likewise.
4132         (_IO_doallocbuf): Likewise.
4133         (_IO_default_underflow): Likewise.
4134         (_IO_default_uflow): Likewise.
4135         (_IO_default_xsputn): Likewise.
4136         (_IO_sgetn): Likewise.
4137         (_IO_default_xsgetn): Likewise.
4138         (_IO_sync): Likewise.
4139         (_IO_default_setbuf): Likewise.
4140         (_IO_default_seekpos): Likewise.
4141         (_IO_default_doallocate): Likewise.
4142         (_IO_init): Likewise.
4143         (_IO_old_init): Likewise.
4144         (_IO_default_sync): Likewise.
4145         (_IO_default_finish): Likewise.
4146         (_IO_default_seekoff): Likewise.
4147         (_IO_sputbackc): Likewise.
4148         (_IO_sungetc): Likewise.
4149         (_IO_set_column): Likewise.
4150         (_IO_set_column): Likewise.
4151         (_IO_adjust_column): Likewise.
4152         (_IO_get_column): Likewise.
4153         (_IO_init_marker): Likewise.
4154         (_IO_remove_marker): Likewise.
4155         (_IO_marker_difference): Likewise.
4156         (_IO_marker_delta): Likewise.
4157         (_IO_seekmark): Likewise.
4158         (_IO_unsave_markers): Likewise.
4159         (_IO_nobackup_pbackfail): Likewise.
4160         (_IO_default_pbackfail): Likewise.
4161         (_IO_default_seek): Likewise.
4162         (_IO_default_stat): Likewise.
4163         (_IO_default_read): Likewise.
4164         (_IO_default_write): Likewise.
4165         (_IO_default_showmanyc): Likewise.
4166         (_IO_default_imbue): Likewise.
4167         (_IO_iter_next): Likewise.
4168         (_IO_iter_file): Likewise.
4169         * libio/getc.c (_IO_getc): Likewise.
4170         * libio/getwc.c (_IO_getwc): Likewise.
4171         * libio/iofclose.c (_IO_new_fclose): Likewise.
4172         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4173         * libio/iofflush.c (_IO_fflush): Likewise.
4174         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4175         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4176         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4177         * libio/iofgets.c (_IO_fgets): Likewise.
4178         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4179         * libio/iofgetws.c (fgetws): Likewise.
4180         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4181         * libio/iofopen64.c (_IO_fopen64): Likewise.
4182         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4183         (_IO_cookie_write): Likewise.
4184         (_IO_cookie_seek): Likewise.
4185         (_IO_cookie_close): Likewise.
4186         (_IO_cookie_seekoff): Likewise.
4187         (_IO_old_cookie_seek): Likewise.
4188         * libio/iofputs.c (_IO_fputs): Likewise.
4189         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4190         * libio/iofputws.c (fputws): Likewise.
4191         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4192         * libio/iofread.c (_IO_fread): Likewise.
4193         * libio/iofread_u.c (__fread_unlocked): Likewise.
4194         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4195         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4196         * libio/ioftell.c (_IO_ftell): Likewise.
4197         * libio/iofwrite.c (_IO_fwrite): Likewise.
4198         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4199         * libio/iogets.c (_IO_gets): Likewise.
4200         * libio/iopadn.c (_IO_padn): Likewise.
4201         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4202         (_IO_new_popen): Likewise.
4203         (_IO_new_proc_close): Likewise.
4204         * libio/ioputs.c (_IO_puts): Likewise.
4205         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4206         (_IO_seekoff): Likewise.
4207         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4208         (_IO_seekpos): Likewise.
4209         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4210         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4211         * libio/ioungetc.c (_IO_ungetc): Likewise.
4212         * libio/ioungetwc.c (ungetwc): Likewise.
4213         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4214         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4215         * libio/iowpadn.c (_IO_wpadn): Likewise.
4216         * libio/libc_fatal.c (__libc_fatal): Likewise.
4217         * libio/memstream.c (__open_memstream): Likewise.
4218         (_IO_mem_sync): Likewise.
4219         (_IO_mem_finish): Likewise.
4220         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4221         (_IO_old_file_close_it): Likewise.
4222         (_IO_old_file_finish): Likewise.
4223         (_IO_old_file_fopen): Likewise.
4224         (_IO_old_file_attach): Likewise.
4225         (_IO_old_file_setbuf): Likewise.
4226         (_IO_old_do_write): Likewise.
4227         (old_do_write): Likewise.
4228         (_IO_old_file_underflow): Likewise.
4229         (_IO_old_file_overflow): Likewise.
4230         (_IO_old_file_sync): Likewise.
4231         (_IO_old_file_seekoff): Likewise.
4232         (_IO_old_file_write): Likewise.
4233         (_IO_old_file_xsputn): Likewise.
4234         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4235         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4236         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4237         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4238         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4239         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4240         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4241         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4242         (_IO_old_popen): Likewise.
4243         (_IO_old_proc_close): Likewise.
4244         * libio/oldpclose.c (__old_pclose): Likewise.
4245         * libio/pclose.c (__new_pclose): Likewise.
4246         * libio/peekc.c (_IO_peekc_locked): Likewise.
4247         * libio/putc.c (_IO_putc): Likewise.
4248         * libio/putc_u.c (putc_unlocked): Likewise.
4249         * libio/putchar.c (putchar): Likewise.
4250         * libio/putchar_u.c (putchar_unlocked): Likewise.
4251         * libio/putwc.c (putwc): Likewise.
4252         * libio/putwc_u.c (putwc_unlocked): Likewise.
4253         * libio/putwchar.c (putwchar): Likewise.
4254         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4255         * libio/rewind.c (rewind): Likewise.
4256         * libio/setbuf.c (setbuf): Likewise.
4257         * libio/setlinebuf.c (setlinebuf): Likewise.
4258         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4259         * libio/vscanf.c (_IO_vscanf): Likewise.
4260         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4261         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4262         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4263         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4264         (_IO_switch_to_main_wget_area): Likewise.
4265         (_IO_switch_to_wbackup_area): Likewise.
4266         (_IO_wsetb): Likewise.
4267         (_IO_wdefault_pbackfail): Likewise.
4268         (_IO_wdefault_finish): Likewise.
4269         (_IO_wdefault_uflow): Likewise.
4270         (__woverflow): Likewise.
4271         (__wuflow): Likewise.
4272         (__wunderflow): Likewise.
4273         (_IO_wdefault_xsputn): Likewise.
4274         (_IO_wdefault_xsgetn): Likewise.
4275         (_IO_wdoallocbuf): Likewise.
4276         (_IO_wdefault_doallocate): Likewise.
4277         (_IO_switch_to_wget_mode): Likewise.
4278         (_IO_free_wbackup_area): Likewise.
4279         (_IO_switch_to_wput_mode): Likewise.
4280         (_IO_sputbackwc): Likewise.
4281         (_IO_sungetwc): Likewise.
4282         (_IO_adjust_wcolumn): Likewise.
4283         (_IO_init_wmarker): Likewise.
4284         (_IO_wmarker_delta): Likewise.
4285         (_IO_seekwmark): Likewise.
4286         (_IO_unsave_wmarkers): Likewise.
4287         * libio/wmemstream.c (open_wmemstream): Likewise.
4288         (_IO_wmem_sync): Likewise.
4289         (_IO_wmem_finish): Likewise.
4290         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4291         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4292         * locale/programs/simple-hash.c (init_hash): Likewise.
4293         (delete_hash): Likewise.
4294         (insert_entry): Likewise.
4295         (set_entry): Likewise.
4296         (next_prime): Likewise.
4297         (is_prime): Likewise.
4298         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4299         (xmalloc): Likewise.
4300         (xrealloc): Likewise.
4301         * locale/programs/xstrdup.c (xstrdup): Likewise.
4302         * localedata/collate-test.c (xstrcoll): Likewise.
4303         * localedata/xfrm-test.c (xstrcmp): Likewise.
4304         * login/getlogin_r.c (__getlogin_r): Likewise.
4305         * login/getpt.c (__posix_openpt): Likewise.
4306         * login/login_tty.c (login_tty): Likewise.
4307         * login/setlogin.c (setlogin): Likewise.
4308         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4309         (mach_msg_destroy_port): Likewise.
4310         (mach_msg_destroy_memory): Likewise.
4311         * malloc/mcheck.c (flood): Likewise.
4312         * misc/acct.c (acct): Likewise.
4313         * misc/brk.c (__brk): Likewise.
4314         * misc/chflags.c (chflags): Likewise.
4315         * misc/chroot.c (chroot): Likewise.
4316         * misc/fchflags.c (fchflags): Likewise.
4317         * misc/fstab.c (getfsspec): Likewise.
4318         (getfsfile): Likewise.
4319         * misc/fsync.c (fsync): Likewise.
4320         * misc/ftruncate.c (__ftruncate): Likewise.
4321         * misc/ftruncate64.c (__ftruncate64): Likewise.
4322         * misc/getdomain.c (getdomainname): Likewise.
4323         (getdomainname): Likewise.
4324         * misc/gethostname.c (__gethostname): Likewise.
4325         * misc/getpass.c (getpass): Likewise.
4326         * misc/getttyent.c (skip): Likewise.
4327         (value): Likewise.
4328         * misc/gtty.c (gtty): Likewise.
4329         * misc/hsearch.c (hsearch): Likewise.
4330         (hcreate): Likewise.
4331         * misc/hsearch_r.c (__hcreate_r): Likewise.
4332         (__hdestroy_r): Likewise.
4333         * misc/ioctl.c (__ioctl): Likewise.
4334         * misc/mkdtemp.c (mkdtemp): Likewise.
4335         * misc/mkostemp.c (mkostemp): Likewise.
4336         * misc/mkostemp64.c (mkostemp64): Likewise.
4337         * misc/mkostemps.c (mkostemps): Likewise.
4338         * misc/mkostemps64.c (mkostemps64): Likewise.
4339         * misc/mkstemp.c (mkstemp): Likewise.
4340         * misc/mkstemp64.c (mkstemp64): Likewise.
4341         * misc/mkstemps.c (mkstemps): Likewise.
4342         * misc/mkstemps64.c (mkstemps64): Likewise.
4343         * misc/mktemp.c (__mktemp): Likewise.
4344         * misc/preadv.c (preadv): Likewise.
4345         * misc/preadv64.c (preadv64): Likewise.
4346         * misc/pwritev.c (pwritev): Likewise.
4347         * misc/pwritev64.c (pwritev64): Likewise.
4348         * misc/readv.c (__readv): Likewise.
4349         * misc/revoke.c (revoke): Likewise.
4350         * misc/setdomain.c (setdomainname): Likewise.
4351         * misc/setegid.c (setegid): Likewise.
4352         * misc/seteuid.c (seteuid): Likewise.
4353         * misc/sethostid.c (sethostid): Likewise.
4354         * misc/sethostname.c (sethostname): Likewise.
4355         * misc/setregid.c (__setregid): Likewise.
4356         * misc/setreuid.c (__setreuid): Likewise.
4357         * misc/sstk.c (sstk): Likewise.
4358         * misc/stty.c (stty): Likewise.
4359         * misc/syscall.c (syscall): Likewise.
4360         * misc/syslog.c (setlogmask): Likewise.
4361         * misc/truncate.c (__truncate): Likewise.
4362         * misc/truncate64.c (truncate64): Likewise.
4363         * misc/ualarm.c (ualarm): Likewise.
4364         * misc/usleep.c (usleep): Likewise.
4365         * misc/ustat.c (ustat): Likewise.
4366         * misc/writev.c (__writev): Likewise.
4367         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4368         * nptl/old_pthread_cond_broadcast.c
4369         (__pthread_cond_broadcast_2_0): Likewise.
4370         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4371         Likewise.
4372         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4373         Likewise.
4374         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4375         Likewise.
4376         * nptl/pt-raise.c (raise): Likewise.
4377         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4378         Likewise.
4379         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4380         * nptl/pthread_barrierattr_destroy.c
4381         (pthread_barrierattr_destroy): Likewise.
4382         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4383         Likewise.
4384         * nptl/pthread_barrierattr_setpshared.c
4385         (pthread_barrierattr_setpshared): Likewise.
4386         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4387         Likewise.
4388         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4389         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4390         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4391         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4392         Likewise.
4393         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4394         Likewise.
4395         * nptl/pthread_condattr_getpshared.c
4396         (pthread_condattr_getpshared): Likewise.
4397         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4398         Likewise.
4399         * nptl/pthread_condattr_setpshared.c
4400         (pthread_condattr_setpshared): Likewise.
4401         * nptl/pthread_detach.c (pthread_detach): Likewise.
4402         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4403         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4404         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4405         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4406         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4407         Likewise.
4408         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4409         Likewise.
4410         * nptl/pthread_mutex_getprioceiling.c
4411         (pthread_mutex_getprioceiling): Likewise.
4412         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4413         Likewise.
4414         * nptl/pthread_mutexattr_getprotocol.c
4415         (pthread_mutexattr_getprotocol): Likewise.
4416         * nptl/pthread_mutexattr_getpshared.c
4417         (pthread_mutexattr_getpshared): Likewise.
4418         * nptl/pthread_mutexattr_getrobust.c
4419         (pthread_mutexattr_getrobust): Likewise.
4420         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4421         Likewise.
4422         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4423         Likewise.
4424         * nptl/pthread_mutexattr_setprioceiling.c
4425         (pthread_mutexattr_setprioceiling): Likewise.
4426         * nptl/pthread_mutexattr_setprotocol.c
4427         (pthread_mutexattr_setprotocol): Likewise.
4428         * nptl/pthread_mutexattr_setpshared.c
4429         (pthread_mutexattr_setpshared): Likewise.
4430         * nptl/pthread_mutexattr_setrobust.c
4431         (pthread_mutexattr_setrobust): Likewise.
4432         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4433         Likewise.
4434         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4435         Likewise.
4436         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4437         Likewise.
4438         * nptl/pthread_rwlockattr_getkind_np.c
4439         (pthread_rwlockattr_getkind_np): Likewise.
4440         * nptl/pthread_rwlockattr_getpshared.c
4441         (pthread_rwlockattr_getpshared): Likewise.
4442         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4443         Likewise.
4444         * nptl/pthread_rwlockattr_setkind_np.c
4445         (pthread_rwlockattr_setkind_np): Likewise.
4446         * nptl/pthread_rwlockattr_setpshared.c
4447         (pthread_rwlockattr_setpshared): Likewise.
4448         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4449         Likewise.
4450         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4451         Likewise.
4452         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4453         Likewise.
4454         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4455         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4456         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4457         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4458         * nptl/sem_close.c (sem_close): Likewise.
4459         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4460         * nptl/sem_init.c (__old_sem_init): Likewise.
4461         * nptl/sigaction.c (__sigaction): Likewise.
4462         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4463         * posix/_exit.c (_exit): Likewise.
4464         * posix/alarm.c (alarm): Likewise.
4465         * posix/confstr.c (confstr): Likewise.
4466         * posix/fpathconf.c (__fpathconf): Likewise.
4467         * posix/getgroups.c (__getgroups): Likewise.
4468         * posix/getpgid.c (__getpgid): Likewise.
4469         * posix/group_member.c (__group_member): Likewise.
4470         * posix/pathconf.c (__pathconf): Likewise.
4471         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4472         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4473         * posix/setgid.c (__setgid): Likewise.
4474         * posix/setpgid.c (__setpgid): Likewise.
4475         * posix/setuid.c (__setuid): Likewise.
4476         * posix/sleep.c (__sleep): Likewise.
4477         * posix/sysconf.c (__sysconf): Likewise.
4478         * posix/times.c (__times): Likewise.
4479         * posix/uname.c (__uname): Likewise.
4480         * posix/waitid.c (__waitid): Likewise.
4481         * pwd/getpw.c (__getpw): Likewise.
4482         * resolv/base64.c (b64_pton): Likewise.
4483         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4484         * resolv/gethnamaddr.c (Dprintf): Likewise.
4485         (gethostbyname): Likewise.
4486         (gethostbyname2): Likewise.
4487         (gethostbyaddr): Likewise.
4488         (_sethtent): Likewise.
4489         (_gethtbyname): Likewise.
4490         (_gethtbyname2): Likewise.
4491         (_gethtbyaddr): Likewise.
4492         (map_v4v6_address): Likewise.
4493         (map_v4v6_hostent): Likewise.
4494         (addrsort): Likewise.
4495         (ht_sethostent): Likewise.
4496         (ht_gethostbyname): Likewise.
4497         (ht_gethostbyaddr): Likewise.
4498         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4499         (inet_net_ntop_ipv4): Likewise.
4500         * resolv/inet_neta.c (inet_neta): Likewise.
4501         * resolv/inet_ntop.c (inet_ntop): Likewise.
4502         (inet_ntop4): Likewise.
4503         (inet_ntop6): Likewise.
4504         * resolv/inet_pton.c (__inet_pton): Likewise.
4505         (inet_pton4): Likewise.
4506         (inet_pton6): Likewise.
4507         * resolv/res_debug.c (loc_aton): Likewise.
4508         (loc_ntoa): Likewise.
4509         * resource/getpriority.c (__getpriority): Likewise.
4510         * resource/getrusage.c (__getrusage): Likewise.
4511         * resource/nice.c (nice): Likewise.
4512         * resource/setpriority.c (__setpriority): Likewise.
4513         * resource/setrlimit64.c (setrlimit64): Likewise.
4514         * resource/vlimit.c (vlimit): Likewise.
4515         * resource/vtimes.c (vtimes): Likewise.
4516         * rt/aio_error.c (aio_error): Likewise.
4517         * rt/aio_return.c (aio_return): Likewise.
4518         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4519         * signal/kill.c (__kill): Likewise.
4520         * signal/killpg.c (killpg): Likewise.
4521         * signal/raise.c (raise): Likewise.
4522         * signal/sigaction.c (__sigaction): Likewise.
4523         * signal/sigaddset.c (sigaddset): Likewise.
4524         * signal/sigaltstack.c (sigaltstack): Likewise.
4525         * signal/sigandset.c (sigandset): Likewise.
4526         * signal/sigblock.c (__sigblock): Likewise.
4527         * signal/sigdelset.c (sigdelset): Likewise.
4528         * signal/sigempty.c (sigemptyset): Likewise.
4529         * signal/sigfillset.c (sigfillset): Likewise.
4530         * signal/sighold.c (sighold): Likewise.
4531         * signal/sigignore.c (sigignore): Likewise.
4532         * signal/sigintr.c (siginterrupt): Likewise.
4533         * signal/sigisempty.c (sigisemptyset): Likewise.
4534         * signal/sigismem.c (sigismember): Likewise.
4535         * signal/signal.c (signal): Likewise.
4536         * signal/sigorset.c (sigorset): Likewise.
4537         * signal/sigpause.c (__sigpause): Likewise.
4538         * signal/sigpending.c (sigpending): Likewise.
4539         * signal/sigprocmask.c (__sigprocmask): Likewise.
4540         * signal/sigrelse.c (sigrelse): Likewise.
4541         * signal/sigreturn.c (__sigreturn): Likewise.
4542         * signal/sigset.c (sigset): Likewise.
4543         * signal/sigsetmask.c (__sigsetmask): Likewise.
4544         * signal/sigstack.c (sigstack): Likewise.
4545         * signal/sigsuspend.c (__sigsuspend): Likewise.
4546         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4547         * signal/sysv_signal.c (__sysv_signal): Likewise.
4548         * socket/accept.c (accept): Likewise.
4549         * socket/accept4.c (__libc_accept4): Likewise.
4550         * socket/bind.c (__bind): Likewise.
4551         * socket/connect.c (__connect): Likewise.
4552         * socket/getpeername.c (getpeername): Likewise.
4553         * socket/getsockname.c (__getsockname): Likewise.
4554         * socket/getsockopt.c (getsockopt): Likewise.
4555         * socket/listen.c (__listen): Likewise.
4556         * socket/recv.c (__recv): Likewise.
4557         * socket/recvmsg.c (__recvmsg): Likewise.
4558         * socket/send.c (__send): Likewise.
4559         * socket/sendmsg.c (__sendmsg): Likewise.
4560         * socket/shutdown.c (shutdown): Likewise.
4561         * socket/sockatmark.c (sockatmark): Likewise.
4562         * socket/socket.c (__socket): Likewise.
4563         * stdio-common/ctermid.c (ctermid): Likewise.
4564         * stdio-common/cuserid.c (cuserid): Likewise.
4565         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4566         * stdio-common/remove.c (remove): Likewise.
4567         * stdio-common/rename.c (rename): Likewise.
4568         * stdio-common/renameat.c (renameat): Likewise.
4569         * stdio-common/tempname.c (__gen_tempname): Likewise.
4570         * stdio-common/xbug.c (InitBuffer): Likewise.
4571         (AppendToBuffer): Likewise.
4572         (ReadFile): Likewise.
4573         * stdlib/a64l.c (a64l): Likewise.
4574         * stdlib/drand48_r.c (drand48_r): Likewise.
4575         * stdlib/getcontext.c (getcontext): Likewise.
4576         * stdlib/getenv.c (getenv): Likewise.
4577         * stdlib/l64a.c (l64a): Likewise.
4578         * stdlib/llabs.c (llabs): Likewise.
4579         * stdlib/lldiv.c (lldiv): Likewise.
4580         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4581         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4582         * stdlib/putenv.c (putenv): Likewise.
4583         * stdlib/random.c (__srandom): Likewise.
4584         (__initstate): Likewise.
4585         (__setstate): Likewise.
4586         * stdlib/random_r.c (__srandom_r): Likewise.
4587         (__setstate_r): Likewise.
4588         (__random_r): Likewise.
4589         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4590         * stdlib/setcontext.c (setcontext): Likewise.
4591         * stdlib/setenv.c (setenv): Likewise.
4592         (unsetenv): Likewise.
4593         * stdlib/srand48.c (srand48): Likewise.
4594         * stdlib/srand48_r.c (__srand48_r): Likewise.
4595         * stdlib/swapcontext.c (swapcontext): Likewise.
4596         * stdlib/system.c (__libc_system): Likewise.
4597         * stdlib/tst-strtod.c (expand): Likewise.
4598         * stdlib/tst-strtol.c (expand): Likewise.
4599         * stdlib/tst-strtoll.c (expand): Likewise.
4600         * streams/fattach.c (fattach): Likewise.
4601         * streams/fdetach.c (fdetach): Likewise.
4602         * streams/getmsg.c (getmsg): Likewise.
4603         * streams/isastream.c (isastream): Likewise.
4604         * string/ffs.c (__ffs): Likewise.
4605         * string/ffsll.c (ffsll): Likewise.
4606         * string/memcmp.c (memcmp_common_alignment): Likewise.
4607         (memcmp_not_common_alignment): Likewise.
4608         (MEMCMP): Likewise.
4609         * string/memcpy.c (memcpy): Likewise.
4610         * string/memmove.c (MEMMOVE): Likewise.
4611         * string/memset.c (memset): Likewise.
4612         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4613         * string/strchrnul.c (STRCHRNUL): Likewise.
4614         * string/strerror.c (strerror): Likewise.
4615         * string/strndup.c (__strndup): Likewise.
4616         * string/strverscmp.c (__strverscmp): Likewise.
4617         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4618         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4619         (clnttcp_freeres): Likewise.
4620         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4621         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4622         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4623         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4624         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4625         (xdr_callhdr): Likewise.
4626         * sunrpc/rpcinfo.c (udpping): Likewise.
4627         (tcpping): Likewise.
4628         (pstatus): Likewise.
4629         (pmapdump): Likewise.
4630         (brdcst): Likewise.
4631         (deletereg): Likewise.
4632         (getprognum): Likewise.
4633         (getvers): Likewise.
4634         (get_inet_address): Likewise.
4635         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4636         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4637         (svcudp_stat): Likewise.
4638         (svcudp_recv): Likewise.
4639         (svcudp_reply): Likewise.
4640         (svcudp_getargs): Likewise.
4641         (svcudp_freeargs): Likewise.
4642         (svcudp_destroy): Likewise.
4643         * sunrpc/xdr.c (xdr_bytes): Likewise.
4644         (xdr_netobj): Likewise.
4645         (xdr_string): Likewise.
4646         (xdr_wrapstring): Likewise.
4647         * sunrpc/xdr_float.c (xdr_float): Likewise.
4648         (xdr_double): Likewise.
4649         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4650         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4651         * sysvipc/ftok.c (ftok): Likewise.
4652         * sysvipc/msgctl.c (msgctl): Likewise.
4653         * sysvipc/msgget.c (msgget): Likewise.
4654         * sysvipc/msgrcv.c (msgrcv): Likewise.
4655         * sysvipc/msgsnd.c (msgsnd): Likewise.
4656         * sysvipc/semget.c (semget): Likewise.
4657         * sysvipc/semop.c (semop): Likewise.
4658         * sysvipc/shmat.c (shmat): Likewise.
4659         * sysvipc/shmctl.c (shmctl): Likewise.
4660         * sysvipc/shmdt.c (shmdt): Likewise.
4661         * sysvipc/shmget.c (shmget): Likewise.
4662         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4663         * termios/speed.c (cfgetospeed): Likewise.
4664         (cfgetispeed): Likewise.
4665         (cfsetospeed): Likewise.
4666         (cfsetispeed): Likewise.
4667         * termios/tcflow.c (tcflow): Likewise.
4668         * termios/tcflush.c (tcflush): Likewise.
4669         * termios/tcgetattr.c (__tcgetattr): Likewise.
4670         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4671         * termios/tcgetsid.c (tcgetsid): Likewise.
4672         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4673         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4674         * time/adjtime.c (__adjtime): Likewise.
4675         * time/dysize.c (dysize): Likewise.
4676         * time/ftime.c (ftime): Likewise.
4677         * time/getitimer.c (__getitimer): Likewise.
4678         * time/gettimeofday.c (__gettimeofday): Likewise.
4679         * time/gmtime.c (__gmtime_r): Likewise.
4680         (gmtime): Likewise.
4681         * time/localtime.c (__localtime_r): Likewise.
4682         (localtime): Likewise.
4683         * time/offtime.c (__offtime): Likewise.
4684         * time/settimeofday.c (__settimeofday): Likewise.
4685         * time/stime.c (stime): Likewise.
4686         * time/strftime_l.c (tm_diff): Likewise.
4687         (iso_week_days): Likewise.
4688         * time/strptime.c (strptime): Likewise.
4689         * time/time.c (time): Likewise.
4690         * time/timespec_get.c (timespec_get): Likewise.
4691         * time/tzset.c (tzset_internal): Likewise.
4692         (compute_change): Likewise.
4693         (__tz_compute): Likewise.
4694         * wcsmbs/btowc.c (__btowc): Likewise.
4695         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4696         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4697         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4698         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4699         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4700         * wcsmbs/wcscat.c (__wcscat): Likewise.
4701         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4702         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4703         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4704         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4705         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4706         * wcsmbs/wcslen.c (__wcslen): Likewise.
4707         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4708         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4709         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4710         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4711         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4712         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4713         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4714         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4715         * wcsmbs/wcstok.c (wcstok): Likewise.
4716         * wcsmbs/wctob.c (wctob): Likewise.
4717         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4718         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4719         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4720         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4721         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4722         * wcsmbs/wmemset.c (__wmemset): Likewise.
4723         * wctype/wcfuncs.c (__towlower): Likewise.
4724         (__towupper): Likewise.
4726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4727         (lll_unlock_elision): Add adapt_count parameter.
4729 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4731         * sysdeps/nptl/configure.ac: Do not give errors based on the
4732         results of top-level configure tests.
4733         * sysdeps/nptl/configure: Regenerated.
4735         * configure.ac (libc_cv_Bgroup): Remove configure test.
4736         * configure: Regenerated.
4737         * config.make.in (have-Bgroup): Remove variable.
4739         * configure.ac (sizeof_long_double): Remove configure test.
4740         * configure: Regenerated.
4741         * config.make.in (sizeof-long-double): Remove variable.
4743         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4744         * configure: Regenerated.
4745         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4746         variable.
4747         (exceptions): Likewise.
4748         * sysdeps/arm/configure: Regenerated.
4749         * config.make.in (exceptions): Remove variable.
4750         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4751         $(exceptions).
4752         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4753         (CFLAGS-vdprintf_chk.c): Likewise.
4754         (CFLAGS-printf_chk.c): Likewise.
4755         (CFLAGS-fprintf_chk.c): Likewise.
4756         (CFLAGS-vprintf_chk.c): Likewise.
4757         (CFLAGS-vfprintf_chk.c): Likewise.
4758         (CFLAGS-gets_chk.c): Likewise.
4759         (CFLAGS-fgets_chk.c): Likewise.
4760         (CFLAGS-fgets_u_chk.c): Likewise.
4761         (CFLAGS-fread_chk.c): Likewise.
4762         (CFLAGS-fread_u_chk.c): Likewise.
4763         (CFLAGS-wprintf_chk.c): Likewise.
4764         (CFLAGS-fwprintf_chk.c): Likewise.
4765         (CFLAGS-vwprintf_chk.c): Likewise.
4766         (CFLAGS-vfwprintf_chk.c): Likewise.
4767         (CFLAGS-fgetws_chk.c): Likewise.
4768         (CFLAGS-fgetws_u_chk.c): Likewise.
4769         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4770         (CFLAGS-fputc.c): Likewise.
4771         (CFLAGS-fputwc.c): Likewise.
4772         (CFLAGS-freopen64.c): Likewise.
4773         (CFLAGS-freopen.c): Likewise.
4774         (CFLAGS-fseek.c): Likewise.
4775         (CFLAGS-fseeko64.c): Likewise.
4776         (CFLAGS-fseeko.c): Likewise.
4777         (CFLAGS-ftello64.c): Likewise.
4778         (CFLAGS-ftello.c): Likewise.
4779         (CFLAGS-fwide.c): Likewise.
4780         (CFLAGS-genops.c): Likewise.
4781         (CFLAGS-getc.c): Likewise.
4782         (CFLAGS-getchar.c): Likewise.
4783         (CFLAGS-getwc.c): Likewise.
4784         (CFLAGS-getwchar.c): Likewise.
4785         (CFLAGS-iofclose.c): Likewise.
4786         (CFLAGS-iofflush.c): Likewise.
4787         (CFLAGS-iofgetpos64.c): Likewise.
4788         (CFLAGS-iofgetpos.c): Likewise.
4789         (CFLAGS-iofgets.c): Likewise.
4790         (CFLAGS-iofgetws.c): Likewise.
4791         (CFLAGS-iofputs.c): Likewise.
4792         (CFLAGS-iofputws.c): Likewise.
4793         (CFLAGS-iofread.c): Likewise.
4794         (CFLAGS-iofsetpos64.c): Likewise.
4795         (CFLAGS-iofsetpos.c): Likewise.
4796         (CFLAGS-ioftell.c): Likewise.
4797         (CFLAGS-iofwrite.c): Likewise.
4798         (CFLAGS-iogetdelim.c): Likewise.
4799         (CFLAGS-iogetline.c): Likewise.
4800         (CFLAGS-iogets.c): Likewise.
4801         (CFLAGS-iogetwline.c): Likewise.
4802         (CFLAGS-ioputs.c): Likewise.
4803         (CFLAGS-ioseekoff.c): Likewise.
4804         (CFLAGS-ioseekpos.c): Likewise.
4805         (CFLAGS-iosetbuffer.c): Likewise.
4806         (CFLAGS-iosetvbuf.c): Likewise.
4807         (CFLAGS-ioungetc.c): Likewise.
4808         (CFLAGS-ioungetwc.c): Likewise.
4809         (CFLAGS-oldfileops.c): Likewise.
4810         (CFLAGS-oldiofclose.c): Likewise.
4811         (CFLAGS-oldiofgetpos64.c): Likewise.
4812         (CFLAGS-oldiofgetpos.c): Likewise.
4813         (CFLAGS-oldiofsetpos64.c): Likewise.
4814         (CFLAGS-oldiofsetpos.c): Likewise.
4815         (CFLAGS-peekc.c): Likewise.
4816         (CFLAGS-putc.c): Likewise.
4817         (CFLAGS-putchar.c): Likewise.
4818         (CFLAGS-putwc.c): Likewise.
4819         (CFLAGS-putwchar.c): Likewise.
4820         (CFLAGS-rewind.c): Likewise.
4821         (CFLAGS-wfileops.c): Likewise.
4822         (CFLAGS-wgenops.c): Likewise.
4823         (CFLAGS-oldiofopen.c): Likewise.
4824         (CFLAGS-iofopen.c): Likewise.
4825         (CFLAGS-iofopen64.c): Likewise.
4826         (CFLAGS-oldtmpfile.c): Likewise.
4827         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4828         (CFLAGS-fprintf.c): Likewise.
4829         (CFLAGS-printf.c): Likewise.
4830         (CFLAGS-vfwprintf.c): Likewise.
4831         (CFLAGS-vfscanf.c): Likewise.
4832         (CFLAGS-vfwscanf.c): Likewise.
4833         (CFLAGS-fscanf.c): Likewise.
4834         (CFLAGS-scanf.c): Likewise.
4835         (CFLAGS-isoc99_vfscanf.c): Likewise.
4836         (CFLAGS-isoc99_vscanf.c): Likewise.
4837         (CFLAGS-isoc99_fscanf.c): Likewise.
4838         (CFLAGS-isoc99_scanf.c): Likewise.
4839         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4840         (CFLAGS-isoc99_fwscanf.c): Likewise.
4841         (CFLAGS-isoc99_vwscanf.c): Likewise.
4842         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4844         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4845         after mkstemp64.
4846         * login/tst-utmp.c (do_prepare): Likewise.
4847         * rt/tst-aio.c (do_prepare): Likewise.
4848         * rt/tst-aio64.c (do_prepare): Likewise.
4850 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4852         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4853         (__lll_lock_elision): Remove adapt_count decrement...
4854         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4855         (__lll_trylock_elision): Likewise.
4856         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4857         (__lll_unlock_elision): ... to here. And utilize
4858         new adapt_count parameter.
4859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4860         (__lll_unlock_elision): Update to include adapt_count
4861         parameter.
4862         (lll_unlock_elision): Pass pointer to adapt_count
4863         variable.
4865 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4867         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4868         Add elision adapt_count parameter to list of arguments.
4869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4870         (lll_unlock_elision): Update with new parameter list
4871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4872         (lll_unlock_elision): Likewise
4873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4874         (lll_unlock_elision): Likewise
4876 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4878         [BZ #19122]
4879         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4880         attribute_hidden.
4882         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4883         attribute_hidden.
4884         [IS_IN (rtld)] (__strdup): Likewise.
4885         [IS_IN (rtld)] (__strerror_r): Likewise.
4886         [IS_IN (rtld)] (__strsep_g): Likewise.
4887         [IS_IN (rtld)] (memchr): Likewise.
4888         [IS_IN (rtld)] (memcmp): Likewise.
4889         [IS_IN (rtld)] (memcpy): Likewise.
4890         [IS_IN (rtld)] (memmove): Likewise.
4891         [IS_IN (rtld)] (memset): Likewise.
4892         [IS_IN (rtld)] (rawmemchr): Likewise.
4893         [IS_IN (rtld)] (stpcpy): Likewise.
4894         [IS_IN (rtld)] (strchr): Likewise.
4895         [IS_IN (rtld)] (strcmp): Likewise.
4896         [IS_IN (rtld)] (strlen): Likewise.
4897         [IS_IN (rtld)] (strnlen): Likewise.
4898         [IS_IN (rtld)] (strsep): Likewise.
4900         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4901         attribute_hidden.
4902         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4904         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4905         attribute_hidden.
4906         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4908         * include/setjmp.h (__longjmp): Add attribute_hidden.
4909         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4911         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4912         Add attribute_hidden.
4914         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4915         [IS_IN (rtld)] (__open): Likewise.
4916         [IS_IN (rtld)] (__fcntl): Likewise.
4918         * include/dirent.h (__opendirat): Add attribute_hidden.
4919         (__getdents): Likewise.
4920         (__getdents64): Likewise.
4921         (__alloc_dir): Likewise.
4922         [IS_IN (rtld)] (__closedir): Likewise.
4923         [IS_IN (rtld)] (__fdopendir): Likewise.
4924         [IS_IN (rtld)] (__readdir): Likewise.
4925         [IS_IN (rtld)] (__readdir64): Likewise.
4926         [IS_IN (rtld)] (__rewinddir): Likewise.
4928         * include/dlfcn.h (_dl_catch_error): Moved to ...
4929         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4930         attribute_hidden.
4932         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4933         (_itoa_word): Likewise.
4935         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4936         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4937         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4938         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4939         (_dl_higher_prime_number): Likewise.
4940         (_dl_debug_printf_c): Likewise.
4941         (_dl_signal_cerror): Likewise.
4942         (_dl_receive_error): Likewise.
4943         (_dl_reloc_bad_type): Likewise.
4944         (_dl_resolve_conflicts): Likewise.
4945         (_dl_check_all_versions): Likewise.
4946         (_dl_check_map_versions): Likewise.
4947         (_dl_sort_fini): Likewise.
4948         (_dl_debug_initialize): Likewise.
4949         (_dl_init_paths): Likewise.
4950         (_dl_show_auxv): Likewise.
4951         (_dl_next_ld_env_entry): Likewise.
4952         (_dl_important_hwcaps): Likewise.
4953         (_dl_load_cache_lookup): Likewise.
4954         (_dl_update_slotinfo): Likewise.
4955         (_dl_show_scope): Likewise.
4957         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4958         attribute_hidden.
4959         (_wordcopy_fwd_dest_aligned): Likewise.
4960         (_wordcopy_bwd_aligned): Likewise.
4961         (_wordcopy_bwd_dest_aligned): Likewise.
4963         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4964         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4965         Likewise.
4966         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4967         Likewise.
4968         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4970 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4973         GCC 5 requirement.
4975 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4977         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4978         test.
4979         * sysdeps/i386/configure: Regenerated.
4980         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4981         code unconditional.
4983         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4984         test.
4985         (libc_cv_asm_popsection_directive): Likewise.
4986         * configure: Regenerated.
4987         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4988         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4989         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4990         (__make_section_unallocated): Make definition unconditional.
4991         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4992         Remove conditional definition.
4993         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4994         (__make_section_unallocated): Likewise.
4996         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4997         * configure: Regenerated.
4998         * config.make.in (static-libgcc): Remove variable.
4999         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5000         $(static-libgcc).
5001         (build-module-helper): Likewise.
5003         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5004         * configure: Regenerated.
5006 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5008         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5009         (struct char_buffer): New type.
5010         (char_buffer_start, char_buffer_size, char_buffer_error)
5011         (char_buffer_rewind, char_buffer_add): New functions.
5012         (ADDW): Remove macro, replaced by the char_buffer_add function.
5013         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5014         of extend_alloca.  Make control flow more explicit.
5016 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5018         [BZ #19137]
5019         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5020         Add -fomit-frame-pointer.
5021         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5023 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5025         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5026         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5028         only if !__GNUC_PREREQ (5,0).
5029         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5030         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5031         (INTERNAL_SYSCALL_NCS): Likewise.
5032         (LOADREGS_0): New macro for GCC 5.
5033         (ASMARGS_0): Likewise.
5034         (LOADREGS_1): Likewise.
5035         (ASMARGS_1): Likewise.
5036         (LOADREGS_2): Likewise.
5037         (ASMARGS_2): Likewise.
5038         (LOADREGS_3): Likewise.
5039         (ASMARGS_3): Likewise.
5040         (LOADREGS_4): Likewise.
5041         (ASMARGS_4): Likewise.
5042         (LOADREGS_5): Likewise.
5043         (ASMARGS_5): Likewise.
5044         (LOADREGS_6): Likewise.
5045         (ASMARGS_6): Likewise.
5047 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5049         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5050         -fomit-frame-pointer.
5051         (CFLAGS-mmap64.c): Likewise.
5052         (CFLAGS-semtimedop.c): Likewise.
5053         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5054         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5055         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5056         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5058 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5060         [BZ #18928]
5061         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5062         _dl_pointer_guard member.
5063         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5064         initializer.
5065         (security_init): Always set up pointer guard.
5066         (process_envvars): Do not process LD_POINTER_GUARD.
5068 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #19134]
5071         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5072         (.LC2): Likewise.
5073         (.LC3): Likewise.
5074         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5076 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5078         [BZ #19129]
5079         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5080         r0 and r1.
5082 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5084         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5086 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5088         * include/stap-probe.h: Fix macro definition formatting.
5090 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5092         [BZ #19074]
5093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5094         load and store num_ifs.
5096 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5098         [BZ #18822]
5099         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5100         (__sched_getaffinity_new): Add libc_hidden_proto and
5101         libc_hidden_def.
5103 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5105         [BZ #19007]
5106         * scripts/localplt.awk: Also allow GOT references.
5107         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5108         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5109         with "+ REL R_386_GLOB_DAT".
5110         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5111         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5113 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5115         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5116         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5117         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5120         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5121         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5122         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5123         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5124         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5127         Likewise.
5128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5130 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5132         [BZ #19125]
5133         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5134         <math_private.h> and <stdint.h>.
5135         (__llround): Avoid conversions to and from long long int, and
5136         subtractions, where those might raise spurious exceptions.
5137         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5138         <math_private.h> and <stdint.h>.
5139         (__llroundf): Avoid conversions to and from long long int, and
5140         subtractions, where those might raise spurious exceptions.
5142 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5144         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5145         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5146         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5147         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5149         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5150         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5151         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5152         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5153         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5154         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5155         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5156         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5157         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5158         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5160         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5161         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5162         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5163         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5165         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5166         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5167         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5168         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5169         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5170         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5171         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5172         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5173         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5174         (__xstat64_conv): Likewise.
5175         (__xstat32_conv): Likewise.
5177 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5179         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5180         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5181         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5182         <sysdeps/unix/sysv/linux/sysdep.h>.
5183         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5184         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5185         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5186         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5187         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5188         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5189         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5190         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5191         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5196         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5197         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5200         (sysdep-dl-routines): Add sysdep.
5201         [$(subdir) == nptl] (libpthread-routines): Likewise.
5202         [$(subdir) == rt] (librt-routines): Likewise.
5203         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5204         PIC when branching to SYSCALL_ERROR_LABEL.
5205         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5207         <sysdeps/unix/sysv/linux/sysdep.h>.
5208         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5209         (SYSCALL_ERROR_ERRNO): Removed.
5210         (SYSCALL_ERROR_HANDLER): Changed to empty.
5211         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5212         (__syscall_error): New prototype.
5213         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5214         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5216 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5218         [BZ #19124]
5219         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5220         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5221         _dl_runtime_resolve_avx.
5222         (_dl_runtime_profile_avx512): Make it a hidden alias of
5223         _dl_runtime_profile_avx.
5225 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5227         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5228         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5229         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5230         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5232         [BZ #16422]
5233         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5234         New configure test.
5235         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5236         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5237         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5238         <math_private.h> and <stdint.h>.
5239         (__llrint): Avoid conversions to long long int where those might
5240         raise spurious exceptions.
5241         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5242         <math_private.h> and <stdint.h>.
5243         (__llrintf): Avoid conversions to long long int where those might
5244         raise spurious exceptions.
5246 2015-10-12  Andreas Schwab  <schwab@suse.de>
5248         [BZ #18969]
5249         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5250         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5251         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5252         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5253         $(gen-locales).
5254         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5255         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5256         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5257         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5258         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5259         $(gen-locales).
5260         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5261         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5262         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5263         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5264         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5265         ($(objpfx)tst-ftell-active-handler.out)
5266         ($(objpfx)tst-ftell-append.out)
5267         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5268         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5269         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5270         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5271         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5272         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5273         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5274         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5275         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5276         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5277         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5278         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5279         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5280         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5281         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5282         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5283         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5284         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5285         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5286         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5287         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5288         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5289         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5290         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5291         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5292         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5293         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5294         $(gen-locales).
5295         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5296         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5297         $(gen-locales).
5298         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5299         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5300         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5301         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5302         $(gen-locales).
5303         * libio/tst_wprintf2.c (main): Use explicit locale.
5304         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5306 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5308         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5309         __msg_sig_post.
5310         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5312 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5314         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5315         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5317         * sysdeps/arm/libm-test-ulps: Regenerated.
5319         [BZ #15470]
5320         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5322         [BZ #16399]
5323         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5324         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5325         and <fix-fp-int-convert-overflow.h>.
5326         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5327         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5328         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5329         and <fix-fp-int-convert-overflow.h>.
5330         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5331         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5332         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5333         <fix-fp-int-convert-overflow.h>.
5334         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5335         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5336         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5337         <fix-fp-int-convert-overflow.h>.
5338         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5339         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5340         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5341         and <fix-fp-int-convert-overflow.h>.
5342         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5343         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5344         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5345         <limits.h> and <fix-fp-int-convert-overflow.h>.
5346         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5347         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5348         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5349         and <fix-fp-int-convert-overflow.h>.
5350         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5351         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5352         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5353         and <fix-fp-int-convert-overflow.h>.
5354         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5355         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5356         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5358 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5360         [BZ #18589]
5361         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5362         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5363         $(gen-locales).
5365 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5366             Phil Blundell <pb@pbcl.net>
5368         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5369         * nptl/tst-cancel26.c: New file.
5370         * nptl/tst-cancel27.c: Likewise.
5372 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5374         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5375         __ILP32__ isn't defined.
5376         (lrint): Likewise.
5377         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5378         (lrintf): Likewise.
5379         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5380         (lrintl): Likewise.
5381         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5382         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5383         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5385 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5391         file.
5392         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5393         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5395 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5397         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5398         configure test.
5399         * sysdeps/i386/configure: Regenerated.
5400         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5401         configure test.
5402         * sysdeps/x86_64/configure: Regenerated.
5403         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5404         Make code unconditional.
5406         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5407         test.
5408         * sysdeps/i386/configure: Regenerated.
5409         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5410         test.
5411         * sysdeps/x86_64/configure: Regenerated.
5412         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5413         Make code unconditional.
5414         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5415         Likewise.
5416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5417         Likewise.
5418         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5419         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5420         code unconditional.
5421         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5422         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5423         code unconditional.
5424         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5425         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5426         code unconditional.
5427         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5428         code unconditional.
5429         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5430         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5431         code unconditional.
5432         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5433         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5434         code unconditional.
5435         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5436         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5437         code unconditional.
5438         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5439         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5440         code unconditional.
5441         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5442         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5444         [BZ #19095]
5445         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5446         mantissa to long int before shifting left.
5448 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5450         [BZ #19094]
5451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5452         <limits.h>.
5453         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5454         when result overflows but exception would not result from cast.
5455         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5456         <limits.h>.
5457         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5458         when result overflows but exception would not result from cast.
5459         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5460         <limits.h>.
5461         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5462         when result overflows but exception would not result from cast.
5463         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5464         <limits.h>.
5465         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5466         when result overflows but exception would not result from cast.
5467         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5468         <limits.h>.
5469         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5470         when result overflows but exception would not result from cast.
5471         * math/libm-test.inc (lrint_test_data): Add more tests.
5472         (llrint_test_data): Likewise.
5474 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5476         [BZ #18872]
5477         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5478         Move out from under [$(run-built-tests) = yes] conditional.
5479         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5480         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5482 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5484         [BZ #18589]
5485         * string/Makefile (tests): Add bug-strcoll2.
5486         (LOCALES): Add cs_CZ.UTF-8.
5487         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5489         [BZ #18589]
5490         * string/bug-strcoll2.c: New file.
5491         * locale/categories.def: Revert commit
5492         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5493         * locale/langinfo.h: Likewise.
5494         * locale/localeinfo.h: Likewise.
5495         * locale/C-collate.c: Likewise.
5496         * locale/programs/ld-collate.c (collate_output): Likewise.
5497         * string/strcoll_l.c (STRDIFF): Likewise.
5498         (STRCOLL): Likewise.
5499         * wcsmbs/wcscoll_l.c: Likewise.
5501 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5503         * math/libm-test.inc (lround_test_data): Do not expect the absence
5504         of "inexact" for some tests with non-integer arguments.
5505         (llround_test_data): Likewise.
5507         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5508         test.
5509         (libc_cv_cc_sse2avx): Likewise.
5510         * sysdeps/i386/configure: Regenerated.
5511         * sysdeps/i386/i686/multiarch/Makefile
5512         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5513         [$(subdir) = math].
5514         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5515         code unconditional.
5516         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5517         Likewise.
5518         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5519         Likewise.
5520         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5521         Likewise.
5522         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5523         test.
5524         (libc_cv_cc_sse2avx): Likewise.
5525         * sysdeps/x86_64/configure: Regenerated.
5526         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5527         unconditional.
5528         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5529         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5530         unconditional.
5531         (_dl_runtime_profile)
5532         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5533         conditional code.
5534         * sysdeps/x86_64/fpu/multiarch/Makefile
5535         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5538         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5540         * sysdeps/x86_64/fpu/multiarch/e_log.c
5541         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5543         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5544         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5545         Likewise.
5546         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5547         Likewise.
5548         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5549         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5550         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5551         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5552         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5553         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5554         (HAVE_SSE2AVX_SUPPORT): Likewise.
5556 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5558         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5559         instead of #pragma optimize.
5561 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5563         [BZ #17195]
5564         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5565         as is similarly done in systrim and _int_free already.
5567 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5569         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5571 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5573         [BZ #19088]
5574         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5575         <limits.h>.
5576         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5577         overflows but exception would not result from cast.
5578         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5579         and <limits.h>.
5580         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5581         overflows but exception would not result from cast.
5582         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5583         <limits.h>.
5584         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5585         overflows but exception would not result from cast.
5586         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5587         <limits.h>.
5588         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5589         overflows but exception would not result from cast.
5590         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5591         <limits.h>.
5592         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5593         overflows but exception would not result from cast.
5594         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5595         <limits.h>.
5596         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5597         overflows but exception would not result from cast.
5598         * math/libm-test.inc (lround_test_data): Add more tests.
5599         (llround_test_data): Likewise.
5601 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5603         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5604         (CFLAGS-ialloc.c): Ditto.
5605         (CFLAGS-scheck.c): Ditto.
5607 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5609         [BZ #19086]
5610         * manual/filesys.texi (Storage Allocation): Fix argument order for
5611         posix_fallocate64.
5613 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5615         [BZ #19085]
5616         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5617         exponent below 48 inside case for non-overflowing exponent.
5618         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5620 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5622         * iconvdata/cp737.h (from_idx): Add const.
5623         * iconvdata/cp775.h (from_idx): Likewise.
5625 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5627         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5628         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5629         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5631         [BZ #19079]
5632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5633         file, conditioned on [!_LP64].
5634         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5635         [!_LP64] (__lround): Do not define as function or alias.
5636         [!_LP64] (lround): Likewise.
5637         [!_LP64] (__lroundl): Likewise.
5638         [!_LP64] (lroundl): Likewise.
5639         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5640         macro.
5641         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5642         Likewise.
5644 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5646         * math/libm-test.inc (lrint_test_data): Add more tests.
5647         (llrint_test_data): Likewise.
5648         (lround_test_data): Likewise.
5649         (llround_test_data): Likewise.
5651         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5652         (llrint_test_data): Add tests used for lrint.
5654         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5655         test.
5656         * sysdeps/i386/configure: Regenerated.
5657         * sysdeps/i386/i686/multiarch/Makefile
5658         [$(config-cflags-sse4) = yes]: Make code unconditional.
5659         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5660         Likewise.
5661         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5662         Likewise.
5663         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5664         test.
5665         * sysdeps/x86_64/configure: Regenerated.
5666         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5667         Make code unconditional.
5668         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5669         Likewise.
5670         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5671         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5673         * scripts/rpm2dynsym.sh: Remove file.
5675 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5677         * configure.ac (libc_cv_cxx_thread_local): Define.
5678         * configure: Regenerate.
5679         * config.make.in (have-cxx-thread_local): Define.
5680         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5681         (LDLIBS-tst-thread_local1): Define.
5682         (tests): Add tst-thread_local1.
5683         [have-cxx-thread_local != yes] (tests-unsupported): Add
5684         tst-thread_local1.
5685         * nptl/tst-thread_local1.cc: New file.
5687 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5689         [BZ #19078]
5690         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5691         (u_thres): Likewise.
5692         (__expl): Determine whether to call __kernel_standard_l based on
5693         value of result, not argument.
5695         * math/libm-test.inc (scalb_test_data): Add more expectations for
5696         the "inexact" exception.
5698         [BZ #19077]
5699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5700         0.0L for argument 1.0L.
5702         [BZ #19076]
5703         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5704         constant 0.0L when computing infinite result.
5706 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5708         [BZ #10432]
5709         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5710         malloc_usable_size.
5712 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5714         [BZ #19018]
5715         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5716         Mangle function pointer before storing it.
5717         (__call_tls_dtors): Demangle function pointer before calling it.
5719 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5721         [BZ #19012]
5722         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5723         Clean up on failure.
5725 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #19071]
5728         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5729         long int variable to store possibly incremented high part of
5730         mantissa.
5731         * math/libm-test.inc (lround_test_data): Add tests used for
5732         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5733         for tests requiring 64-bit long.  Do not condition tests on
5734         [TEST_FLOAT] unnecessarily.
5735         (llround_test_data): Add tests used for lround.  Add another
5736         expectation for the "inexact" exception.  Do not condition tests
5737         on [TEST_FLOAT] unnecessarily.
5739         [BZ #887]
5740         [BZ #19049]
5741         [BZ #19050]
5742         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5743         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5744         <fix-int-fp-convert-zero.h>.
5745         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5746         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5747         <fix-int-fp-convert-zero.h>.
5748         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5749         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5750         <fix-int-fp-convert-zero.h>.
5751         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5752         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5753         <fix-int-fp-convert-zero.h>.
5754         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5755         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5756         <fix-int-fp-convert-zero.h>.
5757         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5758         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5759         <fix-int-fp-convert-zero.h>.
5760         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5761         * sysdeps/ieee754/flt-32/s_erff.c: Include
5762         <fix-int-fp-convert-zero.h>.
5763         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5764         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5765         <fix-int-fp-convert-zero.h>.
5766         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5768         <fix-int-fp-convert-zero.h>.
5769         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5770         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5771         <fix-int-fp-convert-zero.h>.
5772         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5773         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5774         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5775         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5776         file.
5777         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5779 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5783 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5785         [BZ #19059]
5786         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5787         overflowing computation.
5788         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5789         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5791         Likewise.
5792         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5793         Likewise.
5794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5795         Likewise.
5796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5797         Likewise.
5798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5800         Likewise.
5801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5802         Likewise.
5803         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5805         * nss/rewrite_field.c (__nss_rewrite_field): Use
5806         internal_function.
5807         * nss/valid_field.c (__nss_valid_field): Likewise.
5808         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5810 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5812         [BZ #18724]
5813         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5814         (__nss_invalid_field_characters, __nss_valid_field)
5815         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5816         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5817         tst-field.c: New file.
5818         * nss/Makefile (routines): Add valid_field, rewrite_field.
5819         (tests-static): Define unconditionally.
5820         (tests): Include tests-static.
5821         [build-static-nss] (tests-static): Use append.
5822         [build-static-nss] (tests): Remove modification.
5823         * nss/getent.c (print_group): Call putgrent.  Report error.
5824         (print_gshadow): Call putsgent.  Report error.
5825         (print_passwd): Call putpwent.  Report error.
5826         (print_shadow): Call putspent.  Report error.
5827         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5828         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5829         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5830         name, password, directory, shell fields for valid syntax.  Rewrite
5831         GECOS field to match syntax.
5832         * pwd/Makefile (tests): Add tst-putpwent.
5833         * pwd/tst-putpwent.c: New file.
5834         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5835         Check grName, grpasswd, gr_mem fields for valid syntax.
5836         Change loop variable i to size_t.
5837         * grp/Makefile (tests): Add tst-putgrent.
5838         * grp/tst-putgrent.c: New file.
5839         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5840         valid syntax.
5841         * shadow/Makefile (tests): Add tst-putspent.
5842         * shadow/tst-putspent.c: New file.
5843         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5844         sg_mem fields for valid syntax.
5845         * gshadow/Makefile (tests): Add tst-putsgent.
5846         * gshadow/tst-putsgent.c: New file.
5848 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5850         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5851         assembly instructions.
5853 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5855         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5856         prefix from operands.
5858 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5860         [BZ #16347]
5861         [BZ #19046]
5862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5863         <libc-internal.h>.
5864         (MAXLGM): Do not use diagnostic control macros.
5865         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5866         threshold for ldbl-128ibm.
5867         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5868         instead of multiplying by log then subtracting.
5869         * math/auto-libm-test-in: Add more tests of lgamma.
5870         * math/auto-libm-test-out: Regenerated.
5872         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5873         (TYPE_HEX_DIG): Likewise.
5874         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5875         precisions when printing floating-point numbers.
5876         (check_float_internal): Likewise.
5878 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5880         [BZ #16620]
5881         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5882         of log (10) rounded downward to 48 bits.
5883         (log10_low): Use corresponding low part of log (10).
5885         [BZ #19032]
5886         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5887         compute result as (x - x) / (x - x) not as 0 / 0.
5888         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5889         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5891         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5892         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5893         and expm1.
5894         * math/auto-libm-test-out: Regenerated.
5895         * math/libm-test.inc (acos_test_data): Add more tests.
5896         (asin_test_data): Likewise.
5897         (asinh_test_data): Likewise.
5898         (atan_test_data): Likewise.
5899         (atanh_test_data): Likewise.
5900         (atan2_test_data): Likewise.
5901         (cbrt_test_data): Likewise.
5902         (ceil_test_data): Likewise.
5903         (copysign_test_data): Likewise.
5904         (cos_test_data): Likewise.
5905         (cosh_test_data): Likewise.
5906         (erf_test_data): Likewise.
5907         (erfc_test_data): Likewise.
5908         (exp_test_data): Likewise.
5909         (exp10_test_data): Likewise.
5910         (exp2_test_data): Likewise.
5911         (expm1_test_data): Likewise.
5912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5914 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5916         [BZ #19006]
5917         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5918         to ...
5919         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5920         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5921         to ...
5922         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5924         to ...
5925         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5926         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5927         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5928         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5929         to ...
5930         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5931         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5932         Moved to ...
5933         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5935         Moved to ...
5936         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5938         to ...
5939         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5941         Moved to ...
5942         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5944         to ...
5945         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5946         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5947         Removed.
5948         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5949         Likewise.
5950         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5951         Likewise.
5952         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5953         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5956         Likewise.
5957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5958         Likewise.
5959         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5960         Likewise.
5961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5962         Likewise.
5963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5964         Likewise.
5965         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5966         Likewise.
5967         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5968         Likewise.
5969         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5970         Likewise.
5971         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5972         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5973         Likewise.
5974         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5979         Likewise.
5980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5983         Replace ../i486/pthread_cond_timedwait.S with
5984         ../pthread_cond_timedwait.S.
5986 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5988         * math/libm-test.inc (acos_test_data): Refine expectations for
5989         errno and "inexact" exceptions.
5990         (acosh_test_data): Likewise.
5991         (asin_test_data): Likewise.
5992         (asinh_test_data): Likewise.
5993         (atan_test_data): Likewise.
5994         (atanh_test_data): Likewise.
5995         (atan2_test_data): Likewise.
5996         (cbrt_test_data): Likewise.
5997         (ceil_test_data): Likewise.
5998         (copysign_test_data): Likewise.
5999         (cosh_test_data): Likewise.
6000         (erf_test_data): Likewise.
6001         (erfc_test_data): Likewise.
6002         (exp_test_data): Likewise.
6003         (exp10_test_data): Likewise.
6004         (exp2_test_data): Likewise.
6005         (expm1_test_data): Likewise.
6006         (fabs_test_data): Likewise.
6007         (floor_test_data): Likewise.
6008         (fma_test_data): Likewise.
6009         (fmax_test_data): Likewise.
6010         (fmin_test_data): Likewise.
6011         (fmod_test_data): Likewise.
6012         (fpclassify_test_data): Likewise.
6013         (frexp_test_data): Likewise.
6014         (hypot_test_data): Likewise.
6015         (ilogb_test_data): Likewise.
6016         (isgreater_test_data): Likewise.
6017         (isgreaterequal_test_data): Likewise.
6018         (isinf_test_data): Likewise.
6019         (isless_test_data): Likewise.
6020         (islessequal_test_data): Likewise.
6021         (islessgreater_test_data): Likewise.
6022         (isnan_test_data): Likewise.
6023         (isnormal_test_data): Likewise.
6024         (issignaling_test_data): Likewise.
6025         (isunordered_test_data): Likewise.
6026         (j0_test_data): Likewise.
6027         (j1_test_data): Likewise.
6028         (jn_test_data): Likewise.
6029         (lgamma_test_data): Likewise.
6030         (lrint_test_data): Likewise.
6031         (llrint_test_data): Likewise.
6032         (log_test_data): Likewise.
6033         (log10_test_data): Likewise.
6034         (log1p_test_data): Likewise.
6035         (log2_test_data): Likewise.
6036         (logb_test_data): Likewise.
6037         (lround_test_data): Likewise.
6038         (llround_test_data): Likewise.
6039         (modf_test_data): Likewise.
6040         (nearbyint_test_data): Likewise.
6041         (nextafter_test_data): Likewise.
6042         (nexttoward_test_data): Likewise.
6043         (pow_test_data): Likewise.
6044         (remainder_test_data): Likewise.
6045         (remquo_test_data): Likewise.
6046         (rint_test_data): Likewise.
6047         (round_test_data): Likewise.
6048         (signbit_test_data): Likewise.
6049         (sinh_test_data): Likewise.
6050         (sqrt_test_data): Likewise.
6051         (tanh_test_data): Likewise.
6052         (tgamma_test_data): Likewise.
6053         (trunc_test_data): Likewise.
6054         (y0_test_data): Likewise.
6055         (y1_test_data): Likewise.
6056         (yn_test_data): Likewise.
6057         (significand_test_data): Likewise.
6059 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6061         * manual/filesys.texi (Storage Allocation): Document that
6062         posix_fallocate emulation fails when fd is open with O_WRONLY.
6064 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6066         [BZ #19016]
6067         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6068         allow more cases with X^2 + Y^2 >= 0.5.
6069         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6070         normal element in sum instead of special-casing based on values of
6071         arguments.
6072         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6074         -1 as normal element in sum instead of special-casing based on
6075         values of arguments.
6076         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6077         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6078         (__x2y2m1): Update comment.
6079         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6080         as normal element in sum instead of special-casing based on values
6081         of arguments.
6082         * math/s_clog.c (__clog): Handle more cases using log1p without
6083         hypot.
6084         * math/s_clog10.c (__clog10): Likewise.
6085         * math/s_clog10f.c (__clog10f): Likewise.
6086         * math/s_clog10l.c (__clog10l): Likewise.
6087         * math/s_clogf.c (__clogf): Likewise.
6088         * math/s_clogl.c (__clogl): Likewise.
6089         * math/auto-libm-test-in: Add more tests of clog and clog10.
6090         * math/auto-libm-test-out: Regenerated.
6091         * sysdeps/i386/fpu/libm-test-ulps: Update.
6092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094 2015-09-28  Martin Sebor  <msebor@redhat.com>
6096         [BZ #18969]
6097         * string/Makefile (LOCALES): Define.
6098         (gen-locales.mk): Include.
6099         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6100         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6101         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6102         on setlocale failure.
6104 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6106         [BZ #18985]
6107         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6108         (__strftime_internal): Likewise.
6109         * time/tst-strftime.c (do_bz18985): New test.
6110         (do_test): Call it.
6112 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6114         [BZ #18956]
6115         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6116         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6117         extracting high part.
6118         * math/auto-libm-test-in: Add another test of pow.
6119         * math/auto-libm-test-out: Regenerated.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6122 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6124         [BZ #18825]
6125         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6126         New macro.
6127         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6128         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6129         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6130         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6131         DBL_NARROW_EVAL, reloading the PIC register as needed.
6132         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6133         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6134         FLT_NARROW_EVAL.  Use separate return path for case when first
6135         argument is NaN.
6136         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6137         DEFINE_LDBL_MIN.
6138         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6139         PIC register.
6140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6141         math_check_force_underflow_nonneg.
6142         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6143         underflow for subnormal result.
6144         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6146         math_check_force_underflow_nonneg.
6147         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6148         math_check_force_underflow.
6149         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6150         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6151         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6152         DEFINE_LDBL_MIN.
6153         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6154         * math/auto-libm-test-in: Add more tests of pow.
6155         * math/auto-libm-test-out: Regenerated.
6157 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6159         * nss/bug17079.c (init_test_items): Add diagnostic for
6160         inconsistent entries.
6161         (test_buffer_size): Skip inconsistent entries.
6163 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6165         [BZ #13304]
6166         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6167         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6168         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6170         [BZ #13304]
6171         * sysdeps/microblaze/s_fma.c: New file.
6172         * sysdeps/microblaze/s_fmaf.c: Likewise.
6173         * sysdeps/microblaze/sfp-machine.h: Likewise.
6175 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6177         [BZ #17250]
6178         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6179         member.
6181 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6183         [BZ #18803]
6184         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6185         (MO): New macro.
6186         (__ieee754_hypot) [PIC]: Load PIC register.
6187         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6188         DBL_NARROW_EVAL.
6189         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6190         math_check_force_underflow_nonneg in case where result might be
6191         tiny.
6192         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6193         Likewise.
6194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6195         Likewise.
6196         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6198         * math/auto-libm-test-in: Add more tests of hypot.
6199         * math/auto-libm-test-out: Regenerated.
6201 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6203         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6205 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6207         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6208         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6209         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6210         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6211         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6212         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6213         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6215         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6216         LOAD_PIC_REG.
6218         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6219         (FLT_CHECK_FORCE_UFLOW): Likewise.
6220         (DBL_CHECK_FORCE_UFLOW): Likewise.
6221         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6222         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6223         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6224         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6225         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6226         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6227         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6228         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6229         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6231         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6232         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6233         (flt_min): Replace with use of DEFINE_FLT_MIN.
6234         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6235         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6237         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6238         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6239         (flt_min): Replace with use of DEFINE_FLT_MIN.
6240         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6241         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6242         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6243         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6244         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6245         (flt_min): Replace with use of DEFINE_FLT_MIN.
6246         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6247         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6248         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6249         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6250         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6251         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6252         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6253         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6255         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6256         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6257         (flt_min): Replace with use of DEFINE_FLT_MIN.
6258         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6259         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6260         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6261         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6262         main computation.
6263         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6264         (flt_min): Replace with use of DEFINE_FLT_MIN.
6265         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6266         main computation.
6267         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6268         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6269         (MO): New macro.
6270         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6271         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6272         (flt_min): Replace with use of DEFINE_FLT_MIN.
6273         (MO): New macro.
6274         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6275         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6276         (__log1pl): Use MO.
6278         [BZ #19003]
6279         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6280         $(config-cflags-nofma).
6282 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6284         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6286 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6288         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6289         (TWO127): Likewise.
6291         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6292         (min_of_type): Likewise.
6293         (math_check_force_underflow): Likewise.
6294         (math_check_force_underflow_nonneg): Likewise.
6295         (math_check_force_underflow_complex): Likewise.
6296         * math/e_exp2l.c (__ieee754_exp2l): Use
6297         math_check_force_underflow_nonneg.
6298         * math/k_casinh.c (__kernel_casinh): Likewise.
6299         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6300         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6301         * math/s_catan.c (__catan): Use
6302         math_check_force_underflow_complex.
6303         * math/s_catanf.c (__catanf): Likewise.
6304         * math/s_catanh.c (__catanh): Likewise.
6305         * math/s_catanhf.c (__catanhf): Likewise.
6306         * math/s_catanhl.c (__catanhl): Likewise.
6307         * math/s_catanl.c (__catanl): Likewise.
6308         * math/s_ccosh.c (__ccosh): Likewise.
6309         * math/s_ccoshf.c (__ccoshf): Likewise.
6310         * math/s_ccoshl.c (__ccoshl): Likewise.
6311         * math/s_cexp.c (__cexp): Likewise.
6312         * math/s_cexpf.c (__cexpf): Likewise.
6313         * math/s_cexpl.c (__cexpl): Likewise.
6314         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6315         * math/s_clog10.c (__clog10): Likewise.
6316         * math/s_clog10f.c (__clog10f): Likewise.
6317         * math/s_clog10l.c (__clog10l): Likewise.
6318         * math/s_clogf.c (__clogf): Likewise.
6319         * math/s_clogl.c (__clogl): Likewise.
6320         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6321         * math/s_csinf.c (__csinf): Likewise.
6322         * math/s_csinh.c (__csinh): Likewise.
6323         * math/s_csinhf.c (__csinhf): Likewise.
6324         * math/s_csinhl.c (__csinhl): Likewise.
6325         * math/s_csinl.c (__csinl): Likewise.
6326         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6327         * math/s_csqrtf.c (__csqrtf): Likewise.
6328         * math/s_csqrtl.c (__csqrtl): Likewise.
6329         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6330         * math/s_ctanf.c (__ctanf): Likewise.
6331         * math/s_ctanh.c (__ctanh): Likewise.
6332         * math/s_ctanhf.c (__ctanhf): Likewise.
6333         * math/s_ctanhl.c (__ctanhl): Likewise.
6334         * math/s_ctanl.c (__ctanl): Likewise.
6335         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6336         instead of volatile.
6337         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6338         math_check_force_underflow.
6339         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6341         volatile when forcing underflow.
6342         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6343         math_check_force_underflow_nonneg.
6344         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6345         Likewise.
6346         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6347         math_check_force_underflow.
6348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6351         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6352         math_check_force_underflow_nonneg.
6353         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6354         math_check_force_underflow.
6355         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6357         instead of volatile.
6358         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6359         math_check_force_underflow.
6360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6362         math_check_force_underflow_nonneg.
6363         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6364         math_check_force_underflow.
6365         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6366         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6367         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6368         math_check_force_underflow_nonneg.
6369         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6370         Likewise.
6371         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6372         math_check_force_underflow.
6373         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6374         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6375         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6377         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6378         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6379         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6380         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6381         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6382         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6383         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6384         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6385         Likewise.
6386         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6387         math_check_force_underflow_nonneg.
6388         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6389         Likewise.
6390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6391         math_check_force_underflow.
6392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6393         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6394         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6395         Likewise.
6396         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6397         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6398         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6399         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6400         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6401         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6403         instead of volatile.
6404         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6405         math_check_force_underflow.
6406         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6408         math_check_force_underflow.
6409         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6410         Likewise.
6411         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6412         Use math_check_force_underflow_nonneg.
6413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6414         math_check_force_underflow.
6415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6416         Likewise.
6417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6418         Likewise.
6419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6422         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6425         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6428         math_check_force_underflow_nonneg.
6429         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6430         math_check_force_underflow.
6431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6432         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6433         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6434         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6435         math_check_force_underflow_nonneg.
6436         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6437         math_check_force_underflow.
6438         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6440         instead of volatile.
6441         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6442         math_check_force_underflow.
6444         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6445         * stdlib/strtod_l.c: Include <math_private.h>.
6446         (overflow_value): Use math_narrow_eval.
6447         (underflow_value): Likewise.
6448         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6449         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6450         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6451         (__ieee754_gamma_r): Likewise.
6452         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6453         Likewise.
6454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6455         Likewise.
6456         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6457         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6458         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6459         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6461         (__ieee754_gammaf_r): Likewise.
6462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6463         Likewise.
6464         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6465         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6466         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6467         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6468         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6469         volatile.
6470         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6472         math_narrow_eval.
6473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6474         Likewise.
6475         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6476         Likewise.
6477         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6478         Likewise.
6479         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6480         volatile.
6481         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6483         math_narrow_eval.
6484         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6485         Likewise.
6486         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6487         Likewise.
6489 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6491         * nptl/Versions: Remove ignored symbols.
6493 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6495         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6496         * nss/Makefile (tests): Update.
6498 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6500         * nss/bug18287.c: New file.
6501         * nss/Makefile (tests): Add bug18287.
6503 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6505         * mach/Versions (__mach_host_self_): Add symbol.
6507 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6509         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6510         vm_page_size.
6512 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6514         Really fix sysdeps/i386/fpu/s_scalbn.S build
6516         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6517         (libc: GLIBC_2_22): Remove unused version set.
6519 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6521         * config.make.in (enable-timezone-tools): New variable.
6522         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6523         (enable_timezone_tools): Export to generated files.
6524         * configure: Regenerate.
6525         * INSTALL: Regenerate.
6526         * manual/install.texi (--disable-timezone-tools): Document new flag.
6527         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6528         ifeq ($(enable-timezone-tools),yes) check.
6530 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6532         * timezone/Makefile: Revert previous change.
6534         [BZ #18980]
6535         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6536         (DEFINE_DBL_MIN): Likewise.
6537         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6538         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6539         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6540         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6541         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6542         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6543         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6544         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6545         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6547         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6548         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6549         (flt_min): Replace with use of DEFINE_FLT_MIN.
6550         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6551         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6552         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6553         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6554         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6555         (flt_min): Replace with use of DEFINE_FLT_MIN.
6556         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6557         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6558         (flt_min): Replace with use of DEFINE_FLT_MIN.
6559         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6560         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6561         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6562         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6563         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6564         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6565         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6566         (__ieee754_pow): Use DBL_NARROW_EVAL.
6567         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6568         (__ieee754_powf): Use FLT_NARROW_EVAL.
6569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6570         (__ieee754_expf_sse2): Convert double-precision result to single
6571         precision.
6572         * sysdeps/i386/fpu/libm-test-ulps: Update.
6574 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6576         * timezone/Makefile: Ignore unused variable errors due to private.h
6577         (time_t_min) and (time_t_max).
6578         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6579         Likewise.
6581 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #18981]
6584         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6585         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6586         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6587         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6588         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6589         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6590         (__scalbn): Use DBL_NARROW_EVAL.
6591         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6592         (__scalbnf): Use FLT_NARROW_EVAL.
6594 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6596         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6597         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6598         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6599         * stdio-common/printf_fp.c (___printf_fp):
6600         Use signbit to get the sign. Use isinf macro to allow inlining.
6601         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6602         * stdio-common/printf_size.c (__printf_size): Likewise.
6604 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6606         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6608 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6610         [BZ #18980]
6611         * sysdeps/generic/math_private.h: Include <float.h>.
6612         (math_narrow_eval): New macro.
6613         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6614         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6615         math_narrow_eval on overflowing return value.
6616         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6617         Likewise.
6618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6619         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6621         Likewise.
6622         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6626         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6627         * math/Makefile: Remove isinf_ns.c.
6628         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6629         * math/multc3.c (__multc3): Likewise.
6630         * math/s_casin.c (__casin): Likewise.
6631         * math/s_casinf.c (__casinf): Likewise.
6632         * math/s_casinl.c (__casinl): Likewise.
6633         * math/s_cproj.c (__cproj): Likewise.
6634         * math/s_cprojf.c (__cprojf): Likewise.
6635         * math/s_cprojl.c (__cprofl): Likewise.
6636         * math/s_ctan.c (__ctan): Likewise.
6637         * math/s_ctanf.c (__ctanf): Likewise.
6638         * math/s_ctanh.c (__ctanh): Likewise.
6639         * math/s_ctanhf.c (__ctanhf): Likewise.
6640         * math/s_ctanhl.c (__ctanhl): Likewise.
6641         * math/s_ctanl.c (__ctanl): Likewise.
6642         * math/w_fmod.c (__fmod): Likewise.
6643         * math/w_fmodf.c (__fmodf): Likewise.
6644         * math/w_fmodl.c (_fmodl): Likewise.
6645         * math/w_remainder.c (__remainder): Likewise.
6646         * math/w_remainderf.c (__remainderf): Likewise.
6647         * math/w_remainderl.c (__remainderl): Likewise.
6648         * math/w_scalb.c (__scalb): Likewise.
6649         * math/w_scalbf.c (__scalbf): Likewise.
6650         * math/w_scalbl.c (__scalbl): Likewise.
6651         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6652         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6653         with isinf.
6654         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6656         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6657         __isinf_nsf with isinf.
6658         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6660         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6661         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6662         with isinf.
6663         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6664         __isinf_nsl with isinf.
6665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6666         with isinf.
6667         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6668         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6669         __isinf_nsl with isinf.
6670         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6671         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6672         with isinf.
6674 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6676         * resolv/base64.c (rcsid): Remove unused static.
6677         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6678         static.  (tqpi1): Likewise.
6679         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6680         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6681         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6682         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6684         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6685         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6686         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6687         Likewise.
6689 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6691         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6692         <nptl/pthreadP.h>.
6693         (_longjmp_unwind): Use __libc_ptf_call.
6694         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6696 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6698         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6699         * sysdeps/arm/__longjmp.S: Likewise
6701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6703         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6704         Use __builtin_signbit.
6705         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6706         Use __builtin_signbitf.
6707         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6708         Use __builtin_signbitl.
6709         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6710         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6712 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6714         [BZ #15367]
6715         [BZ #17441]
6717         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6718         * math/math.h (fpclassify): Use __builtin_fpclassify when
6719         available.  (signbit): Use __builtin_signbit(f/l).
6720         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6721         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6722         (isinf): Use __builtin_isinf_sign.
6724 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6726         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6727         * benchtests/bench-math-inlines.c: New benchmark.
6728         * benchtests/bench-util.h: New file.
6729         * benchtests/bench-util.c: New file.
6730         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6732 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6734         * elf/tst-dlmopen1.c: Define TEST_SO.
6735         (do_test): Use TEST_SO.
6737         * elf/dl-load.c: Include libc-internal.h.
6738         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6740 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6742         [BZ #17887]
6743         * time/strptime_l.c (__strptime_internal): Make %z accept
6744         [+-]HH:MM time zones.
6746 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6748         [BZ #17886]
6749         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6750         valid time zone.
6752 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6754         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6755         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6757         (__ASSUME_FDATASYNC): Delete.
6759 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6761         * conform/linknamespace.pl: Require weak undefined symbols to be
6762         in the standard namespace.
6763         (%strong_syms): Rename to %seen_syms.
6764         (%strong_seen): Rename to %seen_where.
6766 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6768         [BZ #18970]
6769         * misc/error.c (error): Replace pthread_setcancelstate with
6770         __pthread_setcancelstate.
6771         (error_at_line): Likewise.
6772         * posix/wordexp.c (parse_comm): Likewise.
6773         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6774         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6775         (__pthread_setcancelstate): This.
6776         (pthread_setcancelstate): Add an alias.
6777         * nptl/nptl-init.c (pthread_functions): Replace
6778         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6779         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6780         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6781         hidden_proto.
6782         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6783         it with hidden_def.
6784         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6785         (pthread_setcancelstate): Renamed to ...
6786         (__pthread_setcancelstate): This.
6787         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6788         __libc_ptf_call with __pthread_setcancelstate.
6790 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6791             Andreas Schwab  <schwab@suse.de>
6793         [BZ #17118]
6794         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6795         result when imaginary part of argument is infinite using sine and
6796         cosine.
6797         * math/s_ctanf.c (__ctanf): Likewise.
6798         * math/s_ctanl.c (__ctanl): Likewise.
6799         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6800         of result when real part of argument is infinite using sine and
6801         cosine.
6802         * math/s_ctanhf.c (__ctanhf): Likewise.
6803         * math/s_ctanhl.c (__ctanhl): Likewise.
6804         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6805         (ctanh_test_data): Add more tests of ctanh.
6807 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6809         [BZ #15384]
6810         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6811         bit-mask as in subtraction.
6812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6813         Likewise.
6814         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6815         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6816         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6818         [BZ #18951]
6819         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6820         underflow exception for small results.
6821         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6822         Likewise.
6823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6824         Likewise.
6825         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6826         Likewise.
6827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6828         Likewise.
6829         * math/auto-libm-test-in: Add more tests of tgamma.
6830         * math/auto-libm-test-out: Regenerated.
6832 2015-09-17  Andreas Schwab  <schwab@suse.de>
6834         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6836 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6838         [BZ #18977]
6839         * math/bits/mathcalls.h
6840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6841         not declare.
6842         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6843         Likewise.
6844         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6845         Likewise.
6846         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6847         Likewise.
6848         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6849         Likewise.
6850         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6851         Likewise.
6852         * conform/data/math.h-data
6853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6854         function.
6855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6856         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6857         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6858         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6859         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6860         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6861         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6862         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6863         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6864         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6865         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6867         [BZ #6803]
6868         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6869         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6870         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6871         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6872         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6873         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6874         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6875         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6876         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6877         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6878         Likewise.
6879         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6880         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6882         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6883         long_double_symbol calls.
6884         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6885         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6886         strong alias of __ldexpl.
6887         (scalbnl): Define using long_double_symbol.
6888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6889         Remove alias.
6890         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6891         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6892         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6893         (scalbln_test_data): Add more errno expectations.
6895 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6897         Cache the host port like we cache the task port.  This way we do not
6898         need to call the kernel just to get the port.  Furthermore, we no
6899         longer increase the reference count on every invocation of
6900         `mach_host_self'.
6902         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6903         Protect declarations against the macro expansion.
6904         * mach/mach_init.c (__mach_host_self_): New variable.
6905         (mach_init): Initialize `__mach_host_self_'.
6906         * mach/mach_init.h (__mach_host_self_): New declaration.
6907         (__mach_host_self, mach_host_self): New macros.
6908         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6909         Release reference.
6911 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6913         [BZ #4404]
6914         * po/de.po: Update from Translation Project.
6916         [BZ #16415]
6917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6918         (__expm1l): Remove code to handle positive infinity and overflow.
6919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6920         variable.
6921         (__expm1l): Remove code to handle positive infinity and overflow.
6923 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6924             Paul Pluzhnikov  <ppluzhnikov@google.com>
6926         [BZ #18872]
6927         * stdio-common/Makefile (tst-printf-bz18872): New test.
6928         (tst-printf-bz18872-mem.out): Likewise.
6929         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6930         * stdio-common/vfprintf.c: Fix memory leaks.
6932 2015-09-16  Andreas Schwab  <schwab@suse.de>
6934         [BZ #17244]
6935         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6936         Remove extra va_start/va_end calls.
6938         [BZ #17243]
6939         * posix/execl.c (execl): Add missing va_end.
6940         * posix/execle.c (execle): Likewise.
6941         * posix/execlp.c (execlp): Likewise.
6943 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6945         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6946         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6948 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6950         [BZ #18967]
6951         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6952         undefine around includes of <bits/mathcalls.h>.
6953         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6954         not declare function.
6955         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6956         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6957         (scalb): Likewise.
6958         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6959         not define macro.
6960         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6961         variable.
6962         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6963         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6964         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6966         [BZ #18857]
6967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6968         return non-finite argument without doing ordered comparisons on
6969         it.
6971         [BZ #16296]
6972         * math/fenv.h (fegetround): Use __attribute_pure__.
6973         * include/fenv.h (__fegetround): Likewise.
6975         [BZ #18595]
6976         * math/s_ctan.c (__ctan): Force underflow exception for results
6977         whose real or imaginary part has small absolute value.
6978         * math/s_ctanf.c (__ctanf): Likewise.
6979         * math/s_ctanh.c (__ctanh): Likewise.
6980         * math/s_ctanhf.c (__ctanhf): Likewise.
6981         * math/s_ctanhl.c (__ctanhl): Likewise.
6982         * math/s_ctanl.c (__ctanl): Likewise.
6983         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6984         and ctanh.  Add more tests of ctan and ctanh.
6986         [BZ #15918]
6987         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6988         handling of cases where one argument is an infinity.
6990         [BZ #18875]
6991         [BZ #18966]
6992         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6993         (MO): New macro.
6994         (__ieee754_exp10): For small results, force underflow exception
6995         and remove excess range and precision from return value.
6996         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6997         (MO): New macro.
6998         (__ieee754_exp10f): For small results, force underflow exception
6999         and remove excess range and precision from return value.
7000         * math/auto-libm-test-in: Add more tests of exp10.
7001         * math/auto-libm-test-out: Regenerated.
7003 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7005         [BZ #18875]
7006         [BZ #18961]
7007         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7008         (MO): New macro.
7009         (__ieee754_exp): For small results, force underflow exception and
7010         remove excess range and precision from return value.
7011         (__exp_finite): Likewise.
7012         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7013         (MO): New macro.
7014         (__ieee754_expf): For small results, force underflow exception and
7015         remove excess range and precision from return value.
7016         (__expf_finite): Likewise.
7017         * math/auto-libm-test-in: Add more tests of exp.
7018         * math/auto-libm-test-out: Regenerated.
7020         [BZ #16521]
7021         [BZ #18875]
7022         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7023         small results.
7024         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7025         (MO): New macro.
7026         (__ieee754_exp2): For small results, force underflow exception and
7027         remove excess range and precision from return value.
7028         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7029         (MO): New macro.
7030         (__ieee754_exp2f): For small results, force underflow exception
7031         and remove excess range and precision from return value.
7032         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7033         (MO): New macro.
7034         (__ieee754_exp2l): Force underflow exception for small results.
7035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7036         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7037         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7038         (MO): New macro.
7039         (__ieee754_exp2l): Force underflow exception for small results.
7040         * math/auto-libm-test-in: Add more tests or exp2.
7041         * math/auto-libm-test-out: Regenerated.
7043 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7045         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7047         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7048         /dev/null.
7050 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7052         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7053         io fs process)): Drop spurious backslash.
7055 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7058         Use sysinfo system call instead of parsing /proc/meminfo.
7059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7060         Likewise.
7062 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7064         [BZ #16985]
7065         * programs/localedef.c (main): Display argv[remaining] when
7066         output_path is NULL.
7068 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7070         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7071         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7072         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7073         tanh.
7074         * math/auto-libm-test-out: Regenerated.
7075         * sysdeps/i386/fpu/libm-test-ulps: Update.
7076         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7082         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7083         Use 'override' keyword to freeze the value here, preventing
7084         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7086 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7088         [BZ #14912]
7089         * sysdeps/aarch64/bits/atomic.h: Move to ...
7090         * sysdeps/aarch64/atomic-machine.h: ...here.
7091         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7092         _AARCH64_ATOMIC_MACHINE_H.
7093         * sysdeps/alpha/bits/atomic.h: Move to ...
7094         * sysdeps/alpha/atomic-machine.h: ...here.
7095         * sysdeps/arm/bits/atomic.h: Move to ...
7096         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7097         * bits/atomic.h: Move to ...
7098         * sysdeps/generic/atomic-machine.h: ...here.
7099         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7100         * sysdeps/i386/bits/atomic.h: Move to ...
7101         * sysdeps/i386/atomic-machine.h: ...here.
7102         * sysdeps/ia64/bits/atomic.h: Move to ...
7103         * sysdeps/ia64/atomic-machine.h: ...here.
7104         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7105         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7106         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7107         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7108         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7109         * sysdeps/microblaze/bits/atomic.h: Move to ...
7110         * sysdeps/microblaze/atomic-machine.h: ...here.
7111         * sysdeps/mips/bits/atomic.h: Move to ...
7112         * sysdeps/mips/atomic-machine.h: ...here.
7113         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7114         * sysdeps/powerpc/bits/atomic.h: Move to ...
7115         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7116         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7117         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7118         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7119         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7120         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7121         <atomic-machine.h> instead of <bits/atomic.h>.
7122         * sysdeps/s390/bits/atomic.h: Move to ...
7123         * sysdeps/s390/atomic-machine.h: ...here.
7124         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7125         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7126         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7127         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7128         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7129         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7130         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7131         * sysdeps/tile/bits/atomic.h: Move to ...
7132         * sysdeps/tile/atomic-machine.h: ...here.
7133         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7134         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7135         <sysdeps/tile/atomic-machine.h> instead of
7136         <sysdeps/tile/bits/atomic.h>.
7137         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7138         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7139         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7140         <sysdeps/tile/atomic-machine.h> instead of
7141         <sysdeps/tile/bits/atomic.h>.
7142         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7143         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7144         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7145         <sysdeps/arm/atomic-machine.h> instead of
7146         <sysdeps/arm/bits/atomic.h>.
7147         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7148         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7149         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7150         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7151         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7152         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7153         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7154         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7155         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7156         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7157         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7158         * sysdeps/x86_64/bits/atomic.h: Move to ...
7159         * sysdeps/x86_64/atomic-machine.h: ...here.
7160         * include/atomic.h: Include <atomic-machine.h> instead of
7161         <bits/atomic.h>.
7163         * sysdeps/mips/mips32/libm-test-ulps: Update.
7164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7166         [BZ #18952]
7167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7168         not convert non-integer negative arguments to int to determine the
7169         value of signgam.
7170         * math/auto-libm-test-in: Add more tests of lgamma.
7171         * math/auto-libm-test-out: Regenerated.
7173         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7174         cosh, csqrt, erfc, expm1 and lgamma.
7175         * math/auto-libm-test-out: Regenerated.
7176         * sysdeps/i386/fpu/libm-test-ulps: Update.
7177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7179 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7181         [BZ #2542]
7182         [BZ #2543]
7183         [BZ #2558]
7184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7185         __lgamma_neg for arguments from -28.0 to -2.0.
7186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7187         __lgamma_negf for arguments from -15.0 to -2.0.
7188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7189         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7190         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7191         Call __lgamma_negl for arguments from -33.0 to -2.0.
7192         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7193         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7194         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7195         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7196         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7197         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7198         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7202         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7203         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7204         (__lgamma_neg): Likewise.
7205         (__lgamma_negl): Likewise.
7206         (__lgamma_product): Likewise.
7207         (__lgamma_productl): Likewise.
7208         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7209         * math/auto-libm-test-in: Add more tests of lgamma.
7210         * math/auto-libm-test-out: Regenerated.
7211         * sysdeps/i386/fpu/libm-test-ulps: Update.
7212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7214 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7216         [BZ #18675]
7217         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7219 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7221         [BZ #14912]
7222         * bits/libc-lock.h: Move to ...
7223         * sysdeps/generic/libc-lock.h: ...here.
7224         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7225         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7226         * sysdeps/mach/hurd/libc-lock.h: ...here.
7227         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7228         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7229         * sysdeps/mach/bits/libc-lock.h: Move to ...
7230         * sysdeps/mach/libc-lock.h: ...here.
7231         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7232         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7233         * sysdeps/nptl/libc-lock.h: ...here.
7234         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7235         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7236         * sysdeps/nptl/libc-lockP.h: ...here.
7237         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7238         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7239         <bits/libc-lock.h>.
7240         * dirent/scandir-tail.c: Likewise.
7241         * dlfcn/dlerror.c: Likewise.
7242         * elf/dl-close.c: Likewise.
7243         * elf/dl-iteratephdr.c: Likewise.
7244         * elf/dl-lookup.c: Likewise.
7245         * elf/dl-open.c: Likewise.
7246         * elf/dl-support.c: Likewise.
7247         * elf/dl-writev.h: Likewise.
7248         * elf/rtld.c: Likewise.
7249         * grp/fgetgrent.c: Likewise.
7250         * gshadow/fgetsgent.c: Likewise.
7251         * gshadow/sgetsgent.c: Likewise.
7252         * iconv/gconv_conf.c: Likewise.
7253         * iconv/gconv_db.c: Likewise.
7254         * iconv/gconv_dl.c: Likewise.
7255         * iconv/gconv_int.h: Likewise.
7256         * iconv/gconv_trans.c: Likewise.
7257         * include/link.h: Likewise.
7258         * inet/getnameinfo.c: Likewise.
7259         * inet/getnetgrent.c: Likewise.
7260         * inet/getnetgrent_r.c: Likewise.
7261         * intl/bindtextdom.c: Likewise.
7262         * intl/dcigettext.c: Likewise.
7263         * intl/finddomain.c: Likewise.
7264         * intl/gettextP.h: Likewise.
7265         * intl/loadmsgcat.c: Likewise.
7266         * intl/localealias.c: Likewise.
7267         * intl/textdomain.c: Likewise.
7268         * libidn/idn-stub.c: Likewise.
7269         * libio/libioP.h: Likewise.
7270         * locale/duplocale.c: Likewise.
7271         * locale/freelocale.c: Likewise.
7272         * locale/newlocale.c: Likewise.
7273         * locale/setlocale.c: Likewise.
7274         * login/getutent_r.c: Likewise.
7275         * login/getutid_r.c: Likewise.
7276         * login/getutline_r.c: Likewise.
7277         * login/utmp-private.h: Likewise.
7278         * login/utmpname.c: Likewise.
7279         * malloc/mtrace.c: Likewise.
7280         * misc/efgcvt.c: Likewise.
7281         * misc/error.c: Likewise.
7282         * misc/fstab.c: Likewise.
7283         * misc/getpass.c: Likewise.
7284         * misc/mntent.c: Likewise.
7285         * misc/syslog.c: Likewise.
7286         * nis/nis_call.c: Likewise.
7287         * nis/nis_callback.c: Likewise.
7288         * nis/nss-default.c: Likewise.
7289         * nis/nss_compat/compat-grp.c: Likewise.
7290         * nis/nss_compat/compat-initgroups.c: Likewise.
7291         * nis/nss_compat/compat-pwd.c: Likewise.
7292         * nis/nss_compat/compat-spwd.c: Likewise.
7293         * nis/nss_nis/nis-alias.c: Likewise.
7294         * nis/nss_nis/nis-ethers.c: Likewise.
7295         * nis/nss_nis/nis-grp.c: Likewise.
7296         * nis/nss_nis/nis-hosts.c: Likewise.
7297         * nis/nss_nis/nis-network.c: Likewise.
7298         * nis/nss_nis/nis-proto.c: Likewise.
7299         * nis/nss_nis/nis-pwd.c: Likewise.
7300         * nis/nss_nis/nis-rpc.c: Likewise.
7301         * nis/nss_nis/nis-service.c: Likewise.
7302         * nis/nss_nis/nis-spwd.c: Likewise.
7303         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7304         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7305         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7306         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7307         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7308         * nis/nss_nisplus/nisplus-network.c: Likewise.
7309         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7310         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7311         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7312         * nis/nss_nisplus/nisplus-service.c: Likewise.
7313         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7314         * nis/ypclnt.c: Likewise.
7315         * nptl/libc_pthread_init.c: Likewise.
7316         * nss/getXXbyYY.c: Likewise.
7317         * nss/getXXent.c: Likewise.
7318         * nss/getXXent_r.c: Likewise.
7319         * nss/nss_db/db-XXX.c: Likewise.
7320         * nss/nss_db/db-netgrp.c: Likewise.
7321         * nss/nss_db/nss_db.h: Likewise.
7322         * nss/nss_files/files-XXX.c: Likewise.
7323         * nss/nss_files/files-alias.c: Likewise.
7324         * nss/nsswitch.c: Likewise.
7325         * posix/regex_internal.h: Likewise.
7326         * posix/wordexp.c: Likewise.
7327         * pwd/fgetpwent.c: Likewise.
7328         * resolv/res_hconf.c: Likewise.
7329         * resolv/res_libc.c: Likewise.
7330         * shadow/fgetspent.c: Likewise.
7331         * shadow/lckpwdf.c: Likewise.
7332         * shadow/sgetspent.c: Likewise.
7333         * socket/opensock.c: Likewise.
7334         * stdio-common/reg-modifier.c: Likewise.
7335         * stdio-common/reg-printf.c: Likewise.
7336         * stdio-common/reg-type.c: Likewise.
7337         * stdio-common/vfprintf.c: Likewise.
7338         * stdio-common/vfscanf.c: Likewise.
7339         * stdlib/abort.c: Likewise.
7340         * stdlib/cxa_atexit.c: Likewise.
7341         * stdlib/fmtmsg.c: Likewise.
7342         * stdlib/random.c: Likewise.
7343         * stdlib/setenv.c: Likewise.
7344         * string/strsignal.c: Likewise.
7345         * sunrpc/auth_none.c: Likewise.
7346         * sunrpc/bindrsvprt.c: Likewise.
7347         * sunrpc/create_xid.c: Likewise.
7348         * sunrpc/key_call.c: Likewise.
7349         * sunrpc/rpc_thread.c: Likewise.
7350         * sysdeps/arm/backtrace.c: Likewise.
7351         * sysdeps/generic/ldsodefs.h: Likewise.
7352         * sysdeps/generic/stdio-lock.h: Likewise.
7353         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7354         * sysdeps/i386/backtrace.c: Likewise.
7355         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7356         * sysdeps/m68k/backtrace.c: Likewise.
7357         * sysdeps/mach/hurd/cthreads.c: Likewise.
7358         * sysdeps/mach/hurd/dirstream.h: Likewise.
7359         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7360         * sysdeps/nptl/malloc-machine.h: Likewise.
7361         * sysdeps/nptl/stdio-lock.h: Likewise.
7362         * sysdeps/posix/dirstream.h: Likewise.
7363         * sysdeps/posix/getaddrinfo.c: Likewise.
7364         * sysdeps/posix/system.c: Likewise.
7365         * sysdeps/pthread/aio_suspend.c: Likewise.
7366         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7367         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7368         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7369         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7370         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7371         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7373         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7374         * sysdeps/unix/sysv/linux/system.c: Likewise.
7375         * sysdeps/x86_64/backtrace.c: Likewise.
7376         * time/alt_digit.c: Likewise.
7377         * time/era.c: Likewise.
7378         * time/tzset.c: Likewise.
7379         * wcsmbs/wcsmbsload.c: Likewise.
7380         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7381         instead of <bits/libc-lock.h> in comment.
7383 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7385         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7386         Only use .set mips2 if the current ISA is below mips2.
7387         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7388         Likewise.
7389         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7390         mips32r2 if the current ISA is below mips32r2.
7391         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7392         (TLS_IE): Updated to use the TLD_RDHWR macro.
7393         (TLS_LE): Likewise.
7394         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7395         __ASSEMBLER__ condition.
7397 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7399         Fix parallel build of before-compile targets.
7401         * sysdeps/mach/Makefile ($(patsubst
7402         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7403         mach-before-compile target.
7404         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7405         io fs process)): Move rule to dedicated hurd-before-compile target.
7407 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7409         Fix rules generating headers in hurd/ and mach/ when initial make call
7410         has subdir= explicitly set.
7412         * sysdeps/mach/Makefile ($(patsubst
7413         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7414         calling $(MAKE).
7415         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7416         io fs process)): Force subdir to hurd when calling $(MAKE).
7417         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7418         subdir to mach when calling $(MAKE).
7420 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7422         Check sysheaders when looking for Mach and Hurd headers
7424         * sysdeps/mach/configure.ac: Add sysheaders check.
7425         * sysdeps/mach/configure: Regenerate.
7426         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7427         * sysdeps/mach/hurd/configure: Regenerate.
7429 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7431         [BZ #18921]
7432         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7433         Fix inverted sense of test of 'o_directory_works' value.
7434         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7435         Bernhard Voelker <mail@bernhard-voelker.de>.
7437 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7439         [BZ #14912]
7440         * bits/linkmap.h: Move to ...
7441         * sysdeps/generic/linkmap.h: ...here.
7442         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7443         * sysdeps/aarch64/linkmap.h: ...here.
7444         * sysdeps/arm/bits/linkmap.h: Move to ...
7445         * sysdeps/arm/linkmap.h: ...here.
7446         * sysdeps/hppa/bits/linkmap.h: Move to ...
7447         * sysdeps/hppa/linkmap.h: ...here.
7448         * sysdeps/ia64/bits/linkmap.h: Move to ...
7449         * sysdeps/ia64/linkmap.h: ...here.
7450         * sysdeps/mips/bits/linkmap.h: Move to ...
7451         * sysdeps/mips/linkmap.h: ...here.
7452         * sysdeps/s390/bits/linkmap.h: Move to ...
7453         * sysdeps/s390/linkmap.h: ...here.
7454         * sysdeps/sh/bits/linkmap.h: Move to ...
7455         * sysdeps/sh/linkmap.h: ...here.
7456         * sysdeps/x86/bits/linkmap.h: Move to ...
7457         * sysdeps/x86/linkmap.h: ...here.
7458         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7460 2015-09-04  Andreas Schwab  <schwab@suse.de>
7462         [BZ #18635]
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7464         (__makecontext): Terminate FDE before return label.
7465         (__novec_makecontext): Likewise.
7467 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7469         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7470         first member of struct sv in syscall macro.
7472 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7474         [BZ #14912]
7475         * bits/stdio-lock.h: Move to ...
7476         * sysdeps/generic/stdio-lock.h: ...here.
7477         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7478         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7479         * sysdeps/nptl/stdio-lock.h: ...here.
7480         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7481         * include/libio.h: Include <stdio-lock.h> instead of
7482         <bits/stdio-lock.h>.
7483         * sysdeps/nptl/fork.c: Likewise.
7484         * sysdeps/pthread/flockfile.c: Likewise.
7485         * sysdeps/pthread/ftrylockfile.c: Likewise.
7486         * sysdeps/pthread/funlockfile.c: Likewise.
7488         [BZ #14912]
7489         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7490         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7491         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7492         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7493         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7494         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7495         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7497 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7499         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7500         (test-xfail-tst-protected1b): New variable.
7502 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #14912]
7505         * bits/libc-tsd.h: Move to ...
7506         * sysdeps/generic/libc-tsd.h: ...here.
7507         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7508         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7509         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7510         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7511         * include/ctype.h: Include <libc-tsd.h> instead of
7512         <bits/libc-tsd.h>.
7513         * include/rpc/rpc.h: Likewise.
7514         * locale/localeinfo.h: Likewise.
7515         * sunrpc/rpc_thread.c: Likewise.
7516         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7517         * sysdeps/nptl/malloc-machine.h: Likewise.
7519         * Makefile (headers): Remove bits/libc-lock.h.
7520         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7522         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7523         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7524         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7525         <bits/stdio-lock.h>.
7526         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7527         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7529 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7531         [BZ #18757]
7532         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7533         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7534         BZ #18757.
7536 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7538         * malloc/mtrace.pl: Filter out NULL entries.
7540 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7542         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7543         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7544         macro.
7546         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7547         (TCP_CC_INFO): Likewise.
7548         (TCP_SAVE_SYN): Likewise.
7549         (TCP_SAVED_SYN): Likewise.
7551 2015-08-31  Brett Neumeier <brett@neumeier.us>
7553         [BZ #18870]
7554         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7556 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7558         [BZ #18873]
7559         Fix broken overflow check in posix_fallocate
7560         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7561         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7562         Fix parenthesization typo.
7564 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7566         [BZ #18887]
7567         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7568         tst-mntent-blank-passno.
7569         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7570         * misc/tst-mntent-blank-corrupt.c: New test.
7571         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7572         * misc/tst-mntent.c (do_test): ... here.
7574 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7576         [BZ #4404]
7577         * po/de.po: Fix SIGALRM typo.
7579 2015-08-28  James Perkins  <james@loowit.net>
7581         * time/tst-strptime2.c (tests): Replace short list of test
7582         strings for strptime %z specifier with code which exhaustively
7583         tests every combination of sign and 0 to 5 digits. Tests for
7584         rejection of invalid strings.
7586 2015-08-28  James Perkins  <james@loowit.net>
7588         [BZ #16141]
7589         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7590         calculation, removing incorrect decimal time rounding, so that
7591         all minute values result in a valid seconds value.
7592         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7593         offset range limits to UTC-99:59 through UTC+99:59 to parse
7594         current and historical use cases.
7595         * time/tst-strptime2.c (tests): Modify and add tests for the
7596         strptime %z input field descriptor, specifically conversion of
7597         minutes to seconds and validating an offset range of -9959 to
7598         +9959.
7600 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7601             Dmitry V. Levin  <ldv@altlinux.org>
7603         [BZ #18877]
7604         * posix/Makefile (tests): Add tst-mmap-offset.
7605         * posix/tst-mmap.c: New file.
7606         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7607         offset calculation for negative values.
7609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7611         * sysdeps/i386/init-arch.h: New file.
7612         * sysdeps/i386/i586/init-arch.h: Likewise.
7613         * sysdeps/i386/i686/init-arch.h: Likewise.
7614         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7615         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7616         * sysdeps/x86/cpu-features.h (bit_I586): New.
7617         (bit_I686): Likewise.
7618         (bit_CX8): Likewise.
7619         (bit_CMOV): Likewise.
7620         (index_CX8): Likewise.
7621         (index_CMOV): Likewise.
7622         (index_I586): Likewise.
7623         (index_I686): Likewise.
7624         (reg_CX8): Likewise.
7625         (reg_CMOV): Likewise.
7626         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7627         available at compile-time.
7628         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7629         available at compile-time.
7630         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7631         (USE_I686): Likewise.
7633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7635         * sysdeps/i386/bcopy.S: New file.
7636         * sysdeps/i386/bzero.S: Likewise.
7637         * sysdeps/i386/memcpy.S: Likewise.
7638         * sysdeps/i386/memmove.S: Likewise.
7639         * sysdeps/i386/mempcpy.S: Likewise.
7640         * sysdeps/i386/memset.S: Likewise.
7641         * sysdeps/i386/bzero.c: Removed.
7642         * sysdeps/i386/memset.c: Likewise.
7643         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7644         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7645         * sysdeps/i386/i586/memset_chk.S: Likewise.
7646         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7647         * sysdeps/i386/memcpy_chk.S: Here.
7648         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7649         * sysdeps/i386/memmove_chk.S: Here.
7650         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7651         * sysdeps/i386/mempcpy_chk.S: Likewise.
7652         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7653         * sysdeps/i386/memset_chk.S: Likewise.
7655 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7657         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7658         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7659         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7660         * soft-fp/fmadf4.c: Ditto.
7661         * soft-fp/fmatf4.c: Ditto.
7663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7665         * sysdeps/i386/i586/Implies: Removed.
7666         * sysdeps/i386/i686/Implies: Likewise.
7668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7670         * sysdeps/i386/i486/strlen.S: Moved to ...
7671         * sysdeps/i386/strlen.S: Here.
7673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7675         * sysdeps/i386/i486/strcat.S: Moved to ...
7676         * sysdeps/i386/strcat.S: Here.
7678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7680         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7681         * sysdeps/i386/pthread_spin_trylock.S: Here.
7682         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7683         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7685 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7687         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7688         * sysdeps/i386/string-inlines.c: Here.
7690 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7692         * sysdeps/i386/i486/htonl.S: Moved ...
7693         * sysdeps/i386/htonl.S: here.
7695 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7697         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7698         * sysdeps/i386/bits/atomic.h: Here.
7700 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7702         * sysdeps/i386/i486/Versions: Removed.
7704 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7706         [BZ #2898]
7707         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7708         Based on patch by Aurelien Jarno.
7710 2015-08-26  Stan Shebs  <stanshebs@google.com>
7712         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7713         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7715 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7717         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7718         * sysdeps/powerpc/dl-procinfo.c:
7719         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7720         feature so it shows when LD_SHOW_AUXV=1.
7722 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7724         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7725         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7726         definition.  ISA 2.07B no longer requires full sync.
7728 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7730         [BZ #18863]
7731         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7732         (si_call_addr): Define.
7733         (si_syscall): Define.
7734         (si_arch): Define.
7736 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7738         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7739         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7740         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7741         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7742         (__memset_zero_constant_len_parameter): New.
7743         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7744         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7745         (__memset_zero_constant_len_parameter): Don't define if
7746         __memset_chk or USE_AS_BZERO are defined.
7748         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7749         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7750         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7752         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7753         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7754         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7755         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7756         comments.
7757         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7758         -mno-mmx for $(all-rtld-routines).
7759         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7760         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7761         i386.
7763 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7765         * sysdeps/generic/unwind.h
7766         (_Unwind_Word): Use __mode__(__unwind_word__)
7767         instead of __mode__(__word__).
7768         (_Unwind_Sword): Likewise.
7770         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7771         (MAX_NEEDED_INPUT): New define.
7772         (MAX_NEEDED_OUTPUT): New define.
7774         * NEWS: New item for IBM z13 string optimizations.
7776         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7777         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7778         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7779         * sysdeps/s390/multiarch/Makefile
7780         (sysdep_routines): Add memrchr functions.
7781         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7782         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7784         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7785         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7786         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7787         * sysdeps/s390/multiarch/Makefile
7788         (sysdep_routines): Add wmemcmp functions.
7789         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7790         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7791         * benchtests/bench-wmemcmp.c: New File.
7792         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7794         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7795         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7796         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7797         * sysdeps/s390/multiarch/Makefile
7798         (sysdep_routines): Add wmemset functions.
7799         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7800         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7801         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7802         * string/test-memset.c: Add wmemset support.
7803         * wcsmbs/test-wmemset.c: New File.
7804         * wcsmbs/Makefile (strop-tests): Add wmemset.
7805         * benchtests/bench-memset.c: Add wmemset support.
7806         * benchtests/bench-wmemset.c: New File.
7807         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7809         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7810         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7811         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7812         * sysdeps/s390/multiarch/Makefile
7813         (sysdep_routines): Add memccpy functions.
7814         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7815         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7816         * string/memccpy.c: Use MEMCCPY if defined.
7818         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7819         * sysdeps/s390/multiarch/memchr.c: Likewise.
7820         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7821         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7822         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7823         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7824         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7825         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7826         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7827         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7828         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7829         and rawmemchr functions.
7830         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7831         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7832         and wmemchr.
7833         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7834         * string/test-memchr.c: Add wmemchr support.
7835         * wcsmbs/test-wmemchr.c: New File.
7836         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7837         * benchtests/bench-memchr.c: Add wmemchr support.
7838         * benchtests/bench-wmemchr.c: New File.
7839         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7841         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7842         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7843         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7844         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7845         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7846         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7848         wcscspn functions.
7849         * sysdeps/s390/multiarch/ifunc-impl-list.c
7850         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7851         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7852         * string/test-strcspn.c: Add wcscspn support.
7853         * wcsmbs/test-wcscspn.c: New File.
7854         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7855         * benchtests/bench-strcspn.c: Add wcscspn support.
7856         * benchtests/bench-wcscspn.c: New File.
7857         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7859         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7860         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7861         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7862         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7863         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7864         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7866         wcspbrk functions.
7867         * sysdeps/s390/multiarch/ifunc-impl-list.c
7868         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7869         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7870         * string/test-strpbrk.c: Add wcspbrk support.
7871         * wcsmbs/test-wcspbrk.c: New File.
7872         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7873         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7874         * benchtests/bench-wcspbrk.c: New File.
7875         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7877         * sysdeps/s390/multiarch/strspn-c.c: New File.
7878         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7879         * sysdeps/s390/multiarch/strspn.c: Likewise.
7880         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7881         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7882         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7883         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7885         wcsspn functions.
7886         * sysdeps/s390/multiarch/ifunc-impl-list.c
7887         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7888         * string/test-strspn.c: Add wcsspn support.
7889         * wcsmbs/test-wcsspn.c: New File.
7890         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7891         * benchtests/bench-strspn.c: Add wcsspn support.
7892         * benchtests/bench-wcsspn.c: New File.
7893         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7895         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7896         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7897         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7898         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7899         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7900         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7902         wcsrchr functions.
7903         * sysdeps/s390/multiarch/ifunc-impl-list.c
7904         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7905         * benchtests/bench-wcsrchr.c: New File.
7906         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7908         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7909         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7910         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7911         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7912         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7913         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7915         wcschrnul functions.
7916         * sysdeps/s390/multiarch/ifunc-impl-list.c
7917         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7918         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7919         * string/test-strchr.c: Add wcschrnul support.
7920         * wcsmbs/test-wcschrnul.c: New File.
7921         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7922         * benchtests/bench-strchr.c: Add wcschrnul support.
7923         * benchtests/bench-wcschrnul.c: New File.
7924         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7926         * sysdeps/s390/multiarch/strchr-c.c: New File.
7927         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7928         * sysdeps/s390/multiarch/strchr.c: Likewise.
7929         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7930         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7931         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7933         wcschr functions.
7934         * sysdeps/s390/multiarch/ifunc-impl-list.c
7935         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7936         * string/strchr.c (STRCHR): Define and use macro.
7937         * benchtests/bench-wcschr.c: New File.
7938         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7940         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7941         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7942         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7943         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7944         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7945         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7947         wcsncmp functions.
7948         * sysdeps/s390/multiarch/ifunc-impl-list.c
7949         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7950         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7951         * benchtests/bench-strncmp.c: Add wcsncmp support.
7952         * benchtests/bench-wcsncmp.c: New File.
7953         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7955         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7956         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7957         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7958         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7959         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7960         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7961         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7962         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7963         wcscmp functions.
7964         * sysdeps/s390/multiarch/ifunc-impl-list.c
7965         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7966         * string/strcmp.c (STRCMP): Define and use macro.
7967         * benchtests/bench-wcscmp.c: New File.
7968         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7969         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7970         instead of _HAVE_STRING_ARCH_memchr.
7972         * sysdeps/s390/multiarch/strncat-c.c: New File.
7973         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7974         * sysdeps/s390/multiarch/strncat.c: Likewise.
7975         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7976         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7977         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7978         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7979         wcsncat functions.
7980         * sysdeps/s390/multiarch/ifunc-impl-list.c
7981         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7982         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7983         * string/test-strncat.c: Add wcsncat support.
7984         * wcsmbs/test-wcsncat.c: New File.
7985         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7986         * benchtests/bench-strncat.c: Add wcsncat support.
7987         * benchtests/bench-wcsncat.c: New File.
7988         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7990         * sysdeps/s390/multiarch/strcat-c.c: New File.
7991         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7992         * sysdeps/s390/multiarch/strcat.c: Likewise.
7993         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7994         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7995         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7997         wcscat functions.
7998         * sysdeps/s390/multiarch/ifunc-impl-list.c
7999         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8000         * string/strcat.c (STRCAT): Define and use macro.
8001         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8002         * string/test-strcat.c: Add wcscat support.
8003         * wcsmbs/test-wcscat.c: New File.
8004         * wcsmbs/Makefile (strop-tests): Add wcscat.
8005         * benchtests/bench-strcat.c: Add wcscat support.
8006         * benchtests/bench-wcscat.c: New File.
8007         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8009         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8010         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8011         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8012         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8013         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8014         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8015         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8016         wcpncpy functions.
8017         * sysdeps/s390/multiarch/ifunc-impl-list.c
8018         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8019         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8020         * string/test-stpncpy.c: Add wcpncpy support.
8021         * wcsmbs/test-wcpncpy.c: New File.
8022         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8023         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8024         * benchtests/bench-wcpncpy.c: New File.
8025         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8027         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8028         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8029         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8030         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8031         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8032         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8033         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8035         wcsncpy functions.
8036         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8037         * sysdeps/s390/multiarch/ifunc-impl-list.c
8038         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8039         * string/test-strncpy.c: Add wcsncpy support.
8040         * wcsmbs/test-wcsncpy.c: New File.
8041         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8042         * benchtests/bench-strncpy.c: Add wcsncpy support.
8043         * benchtests/bench-wcsncpy.c: New File.
8044         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8046         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8047         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8048         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8049         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8050         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8051         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8053         wcpcpy functions.
8054         * string/stpcpy.c: Use STPCPY if defined.
8055         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8056         * sysdeps/s390/multiarch/ifunc-impl-list.c
8057         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8058         * string/test-stpcpy.c: Add wcpcpy support.
8059         * wcsmbs/test-wcpcpy.c: New File.
8060         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8061         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8062         * benchtests/bench-wcpcpy.c: New File.
8063         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8065         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8066         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8067         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8068         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8069         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8070         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8071         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8073         wcscpy functions.
8074         * sysdeps/s390/multiarch/ifunc-impl-list.c
8075         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8076         * benchtests/bench-wcscpy.c: New File.
8077         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8079         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8080         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8081         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8082         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8083         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8084         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8086         wcsnlen functions.
8087         * sysdeps/s390/multiarch/ifunc-impl-list.c
8088         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8089         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8090         * string/test-strnlen.c: Add wcsnlen support.
8091         * wcsmbs/test-wcsnlen.c: New File.
8092         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8093         * benchtests/bench-strnlen.c: Add wcsnlen support.
8094         * benchtests/bench-wcsnlen.c: New File.
8095         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8097         * sysdeps/s390/multiarch/Makefile: New File.
8098         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8099         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8100         * sysdeps/s390/multiarch/strlen.c: Likewise.
8101         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8102         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8103         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8104         * string/strlen.c (STRLEN): Define and use macro.
8105         * sysdeps/s390/multiarch/ifunc-impl-list.c
8106         (IFUNC_VX_IMPL): New macro function.
8107         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8108         * benchtests/Makefile (wcsmbs-bench): New variable.
8109         (string-bench-all): Added wcsmbs-bench.
8110         * benchtests/bench-wcslen.c: New File.
8112         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8113         s390_vx_libc_ifunc2): New macro function.
8115         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8116         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8117         assembler support.
8118         * sysdeps/s390/configure: Regenerated.
8120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8121         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8123         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8124         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8125         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8127         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8128         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8130         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8131         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8132         (memcmp, bcmp): Use __memcmp_default as alias source.
8133         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8134         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8135         Rename to __memcmp_default.
8136         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8137         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8138         (memcpy): Use __memcpy_default as alias source.
8139         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8140         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8141         Rename to __memcpy_default.
8142         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8143         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8144         (memset): Use __memset_default as alias source.
8145         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8146         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8147         Rename to __memset_default.
8148         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8149         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8150         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8151         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8152         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8153         (memcmp, bcmp): Use __memcmp_default as alias source.
8154         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8155         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8156         Rename to __memcmp_default.
8157         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8158         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8159         (memcpy): Use __memcpy_default as alias source.
8160         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8161         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8162         Rename to __memcpy_default.
8163         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8164         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8165         (memset): Use __memset_default as alias source.
8166         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8167         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8168         Rename to __memset_default.
8169         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8170         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8172         [BZ #18610]
8173         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8174         __ieee_instruction_pointer to __unused.
8175         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8176         __ieee_instruction_pointer.
8177         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8178         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8179         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8180         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8181         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8182         Mark dxc-field as reserved.
8184 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8186         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8187         if the weak reference is not null.
8189 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8191         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8193         [BZ #11214]
8194         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8196 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8199         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8200         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8201         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8202         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8203         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8204         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8205         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8206         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8207         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8208         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8209         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8210         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8211         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8212         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8213         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8214         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8215         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8217 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8219         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8220         register other than r0 for tabort, it has special meaning.
8221         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8222         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8223         transaction before starting syscall.
8225 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8227         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8229 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8231         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8233         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8234         * sysdeps/x86_64/rtld-memset.S: Likewise.
8235         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8236         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8237         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8238         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8240         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8242 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8244         * debug/strcpy_chk.c: Improve performance.
8245         * debug/stpcpy_chk.c: Likewise.
8246         * sysdeps/x86_64/strcpy_chk.S: Remove.
8247         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8249         [BZ #18240]
8250         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8252 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8254         [BZ #15128]
8255         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8256         ifuncmain8.
8257         (modules-names): Add ifuncmod8.
8258         ($(objpfx)ifuncmain8): New rule.
8259         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8260         <cpuid.h>.
8261         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8262         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8263         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8264         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8265         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8266         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8267         * sysdeps/x86_64/ifuncmain8.c: New file.
8268         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8269         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8270         Removed.
8271         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8272         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8273         Change rtld_savespace_sse to __glibc_unused2.
8274         (RTLD_CHECK_FOREIGN_CALL): Removed.
8275         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8276         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8277         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8279 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8281         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8283 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8285         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8286         Unconditionally set __fpcr to avoid uninialized warning.
8287         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8289 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8291         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8292         is corrupt.
8294         * malloc/arena.c (arena_get2): Drop unused argument.
8295         (arena_lock): Adjust.
8296         (arena_get_retry): Likewise.
8298 2015-08-24  Andreas Schwab  <schwab@suse.de>
8300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8301         Don't define.
8302         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8303         (__ASSUME_IPC64): Don't undef.
8304         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8305         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8306         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8307         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8308         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8309         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8310         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8311         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8312         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8313         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8314         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8315         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8316         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8317         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8318         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8319         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8320         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8321         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8322         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8323         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8324         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8326 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8328         * manual/Makefile (install): Only build manual when perl is available.
8330 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8333         '#undef memcpy' by '#undef memchr'.
8335 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8338         memchr not point to the internal __GI_memchr implementation.
8340 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8342         * timezone/Makefile (CFLAGS-zdump.c): Remove
8343         -Wno-strict-prototypes.
8344         (CFLAGS-zic.c): Likewise.
8345         (CFLAGS-ialloc.c): Likewise.
8346         (CFLAGS-scheck.c): Likewise.
8348         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8349         -Wno-error=undef.
8351 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8353         * i386/i686/multiarch/strcasestr-c.c: Removed.
8354         * x86_64/multiarch/strcasestr.c: Likewise.
8355         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8356         Remove strcasestr.
8358 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8360         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8363         variables for high and low parts before possibly modifying them.
8365 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8367         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8368         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8369         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8370         of "multiarch/init-arch.h".
8371         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8372         * sysdeps/x86/init-arch.h: This.
8374 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8376         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8377         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8379 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8381         [BZ #17787]
8382         * manual/macros.texi: Add twoexp macro.
8383         * manual/filesys.texi: Fix exponents.
8384         * manual/llio.texi: Likewise.
8385         * manual/stdio.texi: Likewise.
8387 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8389         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8390         incorrect use.
8392 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8394         [BZ #18370]
8395         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8396         whose real or imaginary part has small absolute value.
8397         * math/s_csqrtf.c (__csqrtf): Likewise.
8398         * math/s_csqrtl.c (__csqrtl): Likewise.
8399         * math/auto-libm-test-in: Add more tests of csqrt.
8400         * math/auto-libm-test-out: Regenerated.
8401         * sysdeps/i386/fpu/libm-test-ulps: Update.
8403 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8405         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8406         __ppc_set_ppr_very_low): New functions.
8407         * manual/platform.texi: Add documentation about
8408         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8410 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8412         * string/stpncpy.c (stpncpy): Improve performance using
8413         __strnlen/memcpy/memset.
8415 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8417         [BZ #18796]
8418         * scripts/test-installation.pl: Don't add -lmvec to build options if
8419         libmvec wasn't built.
8421 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8423         [BZ #14341]
8424         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8425         case when there is a gap between DT_REL and DT_JMPREL sections.
8426         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8427         (LDFLAGS-tst-split-dynreloc): New.
8428         (tst-split-dynreloc-ENV): Likewise.
8429         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8430         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8432 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8434         [BZ #18822]
8435         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8436         attribute_hidden.
8437         (__xstat64_conv): Likewise.
8438         (__xstat32_conv): Likewise.
8440 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8442         [BZ #18822]
8443         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8444         Don't load %ebx when calling __setcontext.  Call __setcontext
8445         with HIDDEN_JUMPTARGET.
8446         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8447         libc_hidden_def.
8449 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8451         * sysdeps/i386/i686/Makefile
8452         [$(subdir) == string] (sysdep_routines): Moved to ...
8453         * sysdeps/i386/Makefile: Here.
8454         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8455         * sysdeps/i386/cacheinfo.c: Here.
8456         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8457         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8458         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8459         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8461 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8463         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8464         __i586__ is defined.
8465         (HAS_I686): Defined to 1 if __i686__ is defined.
8467 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8469         * elf/Makefile [$(have-z-execstack) = yes]
8470         (CPPFLAGS-tst-execstack.c): New variable.
8472         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8473         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8474         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8475         UTMPX || _HAVE_UT_TV].
8476         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8477         UTMPX || _HAVE_UT_TV - 0].
8479 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8481         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8482         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8483         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8485 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8487         * sysdeps/powerpc/dl-procinfo.c:
8488         (_dl_powerpc_cap_flags): Added missing strings for some
8489         hwcap features.
8490         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8492 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8494         Port the 0x7efe...feff pattern to GCC 6.
8495         See Steve Ellcey's bug report in:
8496         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8497         * string/memrchr.c (MEMRCHR):
8498         * string/rawmemchr.c (RAWMEMCHR):
8499         * string/strchr.c (strchr):
8500         * string/strchrnul.c (STRCHRNUL):
8501         Rewrite code to avoid issues with signed shift overflow.
8503 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8505         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8506         whether cpuid is available only if HAS_CPUID is 0.
8507         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8508         (HAS_I586): Likewise.
8509         (HAS_I686): Likewise.
8511 2015-08-18  Zack Weinberg  <zackw@panix.com>
8513         * misc/Versions (libc): Add GLIBC_2.23.
8515 2015-08-18  Alan Modra  <amodra@gmail.com>
8517         [BZ #18421]
8518         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8519         .Lp__global.
8520         (_start): Load %dp via .Lp__global.
8521         [!SHARED]: Use .section .rodata.
8523 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8525         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8526         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8528 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8530         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8531         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8533 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8535         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8536         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8538 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8540         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8541         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8543 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8545         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8546         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8548 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8550         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8551         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8553 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8555         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8557 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8559         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8560         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8562         (__ASSUME_LWS_CAS): Delete.
8564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8566         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8567         * sysdeps/hppa/configure: Regenerated.
8568         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8569         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8570         * sysdeps/hppa/nptl/tls.h: Likewise.
8572 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8574         [BZ #18823]
8575         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8576         for scaling up small arguments.
8577         * math/s_csqrtf.c (__csqrtf): Likewise.
8578         * math/s_csqrtl.c (__csqrtl): Likewise.
8579         * math/auto-libm-test-in: Add more tests of csqrt.
8580         * math/auto-libm-test-out: Regenerated.
8582 2015-08-17  Andreas Schwab  <schwab@suse.de>
8584         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8585         version set GLIBC_2.19.
8587 2015-08-16  Zack Weinberg  <zackw@panix.com>
8589         [BZ #18681]
8590         * misc/regexp.h: This interface is no longer supported.
8591         Remove all contents, leaving only an #error directive.
8592         * misc/regexp.c (loc1, loc2, locs, step, advance):
8593         Demote to compatibility symbols.
8595 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8597         [BZ #18084]
8598         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8599         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8600         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8601         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8602         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8603         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8604         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8605         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8606         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8608 2015-08-15  Zack Weinberg  <zackw@panix.com>
8610         [BZ #18795]
8611         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8612         buffer length is known to be too large, not if it's known to be
8613         small enough.
8614         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8615         overflow at runtime, involving a length parameter, twice: once
8616         with a compile-time constant length parameter, once without.
8618 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8620         [BZ #18824]
8621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8622         scaling x * y up instead of down.
8623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8625         * math/auto-libm-test-in: Add more tests of fma.
8626         * math/auto-libm-test-out: Regenerated.
8628 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8632 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8634         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8635         unnecessary movq.
8636         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8637         Likewise.
8639 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8641         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8642         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8643         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8644         and tgamma.
8645         * math/auto-libm-test-out: Regenerated.
8646         * sysdeps/i386/fpu/libm-test-ulps: Update.
8647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649         [BZ #16520]
8650         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8651         (__tanh): Force underflow exception for arguments with small
8652         absolute value.
8653         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8654         (__tanhf): Force underflow exception for arguments with small
8655         absolute value.
8656         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8657         (__tanhl): Force underflow exception for arguments with small
8658         absolute value.
8659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8660         (__tanhl): Force underflow exception for arguments with small
8661         absolute value.
8662         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8663         (__tanhl): Force underflow exception for arguments with small
8664         absolute value.
8665         * math/auto-libm-test-in: Add more tests of tanh.
8666         * math/auto-libm-test-out: Regenerated.
8667         * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8671         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8672         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8674 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8676         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8677         <cpuid.h>.
8679 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8681         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8682         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8684 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8686         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8687         Remove $(objpfx)init-arch.o.
8688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8689         init-arch.
8690         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8691         (INIT_ARCH_EXT): Defined as empty.
8692         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8693         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8694         __init_cpu_features call.  Replace HAS_XXX with
8695         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8698         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8700         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8701         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8702         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8703         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8706         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8707         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8708         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8709         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8710         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8711         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8712         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8713         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8714         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8732 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8734         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8735         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8736         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8737         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8738         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8739         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8740         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8741         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8742         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8743         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8744         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8745         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8746         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8747         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8748         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8749         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8750         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8751         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8752         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8753         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8754         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8755         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8756         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8761         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8762         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8764         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8765         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8766         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8768         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8769         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8770         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8771         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8772         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8773         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8774         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8775         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8776         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8778 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8781         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8785         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8786         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8787         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8791         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8792         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8793         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8795         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8797         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8798         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8799         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8801         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8802         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8803         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8804         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8805         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8806         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8807         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8808         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8809         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8810         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8811         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8812         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8815         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8816         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8817         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8818         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8819         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8820         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8821         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8822         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8824 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8826         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8827         (dl_platform_init): Call init_cpu_features.
8828         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8829         * sysdeps/i386/i686/cacheinfo.c
8830         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8831         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8832         * sysdeps/i386/i686/multiarch/Versions: Removed.
8833         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8834         Removed.
8835         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8836         * sysdeps/unix/sysv/linux/x86/Makefile
8837         (libpthread-sysdep_routines): Remove init-arch.
8838         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8839         <sysdeps/x86_64/dl-procinfo.c> instead of
8840         sysdeps/generic/dl-procinfo.c>.
8841         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8842         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8843         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8844         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8845         [$(subdir) == elf] (tests-static): Add
8846         tst-get-cpu-features-static.
8847         * sysdeps/x86/Versions: New file.
8848         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8849         * sysdeps/x86/cpu-features.c: Likewise.
8850         * sysdeps/x86/cpu-features.h: Likewise.
8851         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8852         * sysdeps/x86/libc-start.c: Likewise.
8853         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8854         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8855         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8856         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8857         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8858         Assume USE_MULTIARCH is defined and don't check it.
8859         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8860         (is_amd): Likewise.
8861         (max_cpuid): Likewise.
8862         (intel_check_word): Likewise.
8863         (__cache_sysconf): Don't call __init_cpu_features.
8864         (__x86_preferred_memory_instruction): Removed.
8865         (init_cacheinfo): Don't call __init_cpu_features. Replace
8866         __cpu_features with GLRO(dl_x86_cpu_features).
8867         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8868         (dl_platform_init): Call init_cpu_features.
8869         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8870         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8871         * sysdeps/x86_64/multiarch/Versions: Removed.
8872         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8873         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8875         Removed.
8876         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8878 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8880         [BZ #18820]
8881         * libio/Makefile (test-fmemopen-mem): New test.
8882         * libio/test-fmemopen.c (do_bz18820): New test.
8883         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8884         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8886 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8888         [BZ #16734]
8889         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8890         (FREE_BUF): Delete.
8891         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8892         * libio/genops.c (_IO_setb): Use malloc and free directly.
8893         (_IO_default_doallocate, _IO_default_finish): Likewise.
8894         ( _IO_unbuffer_all): Likewise.
8895         ( libc_freeres_fn): Likewise.
8896         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8897         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8898         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8899         (_IO_wdefault_doallocate): Likewise.
8901 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8903         [BZ #18086]
8904         * sysdeps/posix/nice.c (nice): Restore old errno.
8905         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8907 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8911 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8913         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8914         __bcopy and add a weak_alias to bcopy.
8915         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8916         for static build.
8918         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8919         cleanup macro usage.
8920         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8925         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8926         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8927         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8928         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8929         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8931         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8933         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8938         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8940         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8941         libc_hidden_def.
8942         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8944         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8945         (sysdep_routines): Add strstr-ppc64.
8946         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8948 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8950         [BZ #18778]
8951         * elf/Makefile (tests): Add Add tst-nodelete2.
8952         (modules-names): Add tst-nodelete2mod.
8953         (tst-nodelete2mod.so-no-z-defs): New.
8954         ($(objpfx)tst-nodelete2): Likewise.
8955         ($(objpfx)tst-nodelete2.out): Likewise.
8956         (LDFLAGS-tst-nodelete2): Likewise.
8957         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8958         out of loop through all loaded libraries.
8959         * elf/tst-nodelete2.c: New file.
8960         * elf/tst-nodelete2mod.c: Likewise.
8961         * elf/tst-znodelete-zlib.cc: Delete.
8963 2015-08-11  Andreas Schwab  <schwab@suse.de>
8965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8967         (__openat64_nocancel): Likewise.
8969 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8971         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8972         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8973         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8974         * math/auto-libm-test-out: Regenerated.
8975         * sysdeps/i386/fpu/libm-test-ulps: Update.
8976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8978 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8980         [BZ #18790]
8981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8982         threshold for returning +/- 1.
8983         * math/auto-libm-test-in: Add more tests of tanh.
8984         * math/auto-libm-test-out: Regenerated.
8985         * sysdeps/i386/fpu/libm-test-ulps: Update.
8987 2015-08-10  Andreas Schwab  <schwab@suse.de>
8989         [BZ #18781]
8990         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8991         MORE_OFLAGS to oflag.
8992         * io/test-lfs.c (do_test): Test openat64.
8994 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8996         [BZ #18789]
8997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8998         smaller threshold for returning the argument.
8999         * math/auto-libm-test-in: Add more tests of sinh.
9000         * math/auto-libm-test-out: Regenerated.
9001         * sysdeps/i386/fpu/libm-test-ulps: Update.
9003 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9005         [BZ #18674]
9006         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9007         break.
9009 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9011         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9012         (generated): Don't add $(addprefix z.,$(tzfiles)).
9014 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9016         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9017         * scripts/sysd-rules.awk: Likewise.
9019 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9021         * iconvdata/tst-tables.sh: Change echo -n to printf.
9022         * nss/db-Makefile: Likewise.
9023         * posix/tst-getconf.sh: Likewise.
9024         * stdio-common/tst-unbputc.sh: Likewise.
9026 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9028         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9029         MADV_*_PAGES defines behind this feature check.
9031 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9033         [BZ #18480]
9034         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9035         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9036         Define.
9037         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9038         LOAD_REGS_5, LOAD_REGS_6): Update.
9039         (INTERNAL_SYSCALL): Update using new LOAD defines.
9040         (INTERNAL_SYSCALL_NCS): Likewise.
9041         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9043 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9045         [BZ #16734]
9046         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9048 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9050         [BZ #17905]
9051         * catgets/Makefile (tst-catgets-mem): New test.
9052         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9053         * catgets/open_catalog.c (__open_catalog): Likewise.
9054         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9056 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9058         [BZ #18787]
9059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9060         clobber registers.
9061         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9062         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9063         Cast return to __typeof (oldval).
9065 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9067         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9068         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9069         and delete sys/syscall.h include.
9071 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9073         [BZ #16517]
9074         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9075         (tan): Force underflow exception for arguments with small absolute
9076         value.
9077         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9078         (__kernel_tanf): Force underflow exception for arguments with
9079         small absolute value.
9080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9081         (__kernel_tanl): Force underflow exception for arguments with
9082         small absolute value.
9083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9084         (__kernel_tanl): Force underflow exception for arguments with
9085         small absolute value.
9086         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9087         (__kernel_tanl): Force underflow exception for arguments with
9088         small absolute value.
9089         * math/auto-libm-test-in: Add more tests of tan.
9090         * math/auto-libm-test-out: Regenerated.
9092 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9094         Fix sysdeps/i386/fpu/s_scalbn.S build
9096         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9098 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9100         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9102 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9104         Fix gcrt0.o compilation
9106         When static-start-installed-name is different from
9107         start-installed-name, we must not use the shared objects.
9109         * csu/Makefile
9110         (extra-objs): Add gmon-start.o when building shared library and
9111         $(static-start-installed-name) is different from
9112         $(start-installed-name).
9113         $(objpfx)g$(static-start-installed-name): When building shared
9114         library and $(static-start-installed-name) is different from
9115         $(static-start-installed-name), revert to non-shared rule,
9116         i.e. using $(objpfx)% and gmon-start.o.
9118 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9120         [BZ #16519]
9121         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9122         (__ieee754_sinh): Force underflow exception for arguments with
9123         small absolute value.
9124         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9125         (__ieee754_sinhf): Force underflow exception for arguments with
9126         small absolute value.
9127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9128         (__ieee754_sinhl): Force underflow exception for arguments with
9129         small absolute value.
9130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9131         (__ieee754_sinhl): Force underflow exception for arguments with
9132         small absolute value.
9133         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9134         (__ieee754_sinhl): Force underflow exception for arguments with
9135         small absolute value.
9136         * math/auto-libm-test-in: Add more tests of sinh.
9137         * math/auto-libm-test-out: Regenerated.
9138         * sysdeps/i386/fpu/libm-test-ulps: Update.
9140 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9142         * libio/oldfileops.c: Include unistd.h.
9144 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9146         * stdlib/isomac.c: Include ctype.h.
9148 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9150         * dirent/tst-seekdir.c (main): Converted to ...
9151         (do_test): ... this.
9152         (TEST_FUNCTION): New macro.
9153         Include test-skeleton.c.
9154         * elf/tst-dlmodcount.c (main): Converted to ...
9155         (do_test): ... this.
9156         (TEST_FUNCTION): New macro.
9157         Include test-skeleton.c.
9158         * elf/tst-order-main.c (main): Converted to ...
9159         (do_test): ... this.
9160         (TEST_FUNCTION): New macro.
9161         Include test-skeleton.c.
9162         * elf/tst-pie2.c (main): Converted to ...
9163         (do_test): ... this.
9164         (TEST_FUNCTION): New macro.
9165         Include test-skeleton.c.
9166         * inet/tst-ether_aton.c (main): Converted to ...
9167         (do_test): ... this.
9168         (TEST_FUNCTION): New macro.
9169         Include test-skeleton.c.
9170         * misc/tst-mntent.c (main): Converted to ...
9171         (do_test): ... this.
9172         (TEST_FUNCTION): New macro.
9173         Include test-skeleton.c.
9174         * misc/tst-tsearch.c (main): Converted to ...
9175         (do_test): ... this.
9176         (TEST_FUNCTION): New macro.
9177         Include test-skeleton.c.
9178         * posix/tst-regexloc.c (main): Converted to ...
9179         (do_test): ... this.
9180         (TEST_FUNCTION): New macro.
9181         Include test-skeleton.c.
9182         * resolv/tst-aton.c (main): Converted to ...
9183         (do_test): ... this.
9184         (TEST_FUNCTION): New macro.
9185         Include test-skeleton.c.
9186         * stdio-common/test-fwrite.c (main): Converted to ...
9187         (do_test): ... this.
9188         (TEST_FUNCTION): New macro.
9189         Include test-skeleton.c.
9190         * stdio-common/tst-ferror.c (main): Converted to ...
9191         (do_test): ... this.
9192         (TEST_FUNCTION): New macro.
9193         Include test-skeleton.c.
9194         * stdio-common/tst-printf.c (main): Converted to ...
9195         (do_test): ... this.
9196         (TEST_FUNCTION): New macro.
9197         Include test-skeleton.c.
9198         * stdio-common/tst-printfsz.c (main): Converted to ...
9199         (do_test): ... this.
9200         (TEST_FUNCTION): New macro.
9201         Include test-skeleton.c.
9202         * stdlib/tst-strtod.c (main): Converted to ...
9203         (do_test): ... this.
9204         (TEST_FUNCTION): New macro.
9205         Include test-skeleton.c.
9206         * string/tst-strlen.c (main): Converted to ...
9207         (do_test): ... this.
9208         (TEST_FUNCTION): New macro.
9209         Include test-skeleton.c.
9210         * string/tst-svc.c (main): Converted to ...
9211         (do_test): ... this.
9212         (TEST_FUNCTION): New macro.
9213         Include test-skeleton.c.
9214         * time/tst-strptime.c (main): Converted to ...
9215         (do_test): ... this.
9216         (TEST_FUNCTION): New macro.
9217         Include test-skeleton.c.
9218         * timezone/tst-timezone.c (main): Converted to ...
9219         (do_test): ... this.
9220         (TEST_FUNCTION): New macro.
9221         Include test-skeleton.c.
9223 2015-08-05  Zack Weinberg  <zackw@panix.com>
9225         * misc/regexp.h: Update comments.
9227 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9229         [BZ #18635]
9230         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9231         before return label.
9233 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9235         [BZ #18661]
9236         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9237         when calling __errno_location.
9238         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9239         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9241 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9243         [BZ #18661]
9244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9245         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9246         __gettimeofday.
9248 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9250         [BZ #18661]
9251         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9252         (__start_context): Don't use pop to restore %rdi so that stack
9253         is aligned to 16 bytes when calling __setcontext.
9255 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9258         only for libc.
9259         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9261 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9263         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9264         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9265         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9267 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9269         * string/memccpy.c (memccpy):
9270         Improve performance by using memchr/memcpy/__mempcpy.
9272 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9274         * string/strncpy.c (strncpy):
9275         Improve performance by using __strnlen/memcpy.
9277 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9280         Optimize to avoid an unnecessary FPCR read.
9282 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9285         Optimize to reduce FPCR/FPSR accesses.
9287 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9289         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9290         dead->data[category] != NULL.
9292 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9294         [BZ #18647]
9295         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9296         and |x| close to 1, use absolute value of x when computing log.
9297         * math/auto-libm-test-in: Add more tests of pow.
9298         * math/auto-libm-test-out: Regenerated.
9300 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9302         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9303         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9304         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9306 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9308         [BZ #18525]
9309         * locales/km_KH: Remove timezone definition.
9310         * locales/lo_LA: Likewise.
9311         * locales/my_MM: Likewise.
9312         * locales/nan_TW@latin: Likewise.
9313         * locales/th_TH: Likewise.
9314         * locales/uk_UA: Likewise.
9316 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9318         [BZ #18265]
9319         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9320         (wcsncat): Likewise.
9321         (wcscmp): Likewise.
9322         (wcsncmp): Likewise.
9324 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9326         * test-skeleton.c (usage): New function.
9327         (main): Call usage when opt is '?'.
9329 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9331         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9332         before first use.
9334 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9336         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9337         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9338         in there too.
9340 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9342         * version.h (RELEASE): Set to "development".
9343         (VERSION): Set to "2.22.90"
9345         * version.h (RELEASE): Set to "stable".
9346         (VERSION): Set to "2.22"
9347         * include/features.h (__GLIBC_MINOR__): Set to 22.
9349 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9351         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9352         Restructure macro to avoid "value computed is not used" warning.
9353         (atomic_compare_and_exchange_val_acq): Likewise.
9355 2015-08-04  Andreas Schwab  <schwab@suse.de>
9357         [BZ #18635]
9358         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9359         ret.
9360         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9362 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9364         * po/pl.po: Updated translation.
9365         * po/uk.po: Likewise.
9366         * po/fi.po: Likewise.
9367         * po/ko.po: Likewise.
9368         * po/ru.po: Likewise.
9369         * po/vi.po: Likewise.
9371 2015-07-31  Zack Weinberg  <zackw@panix.com>
9373         [BZ #18681]
9374         * regexp.h: Add unconditional #warning stating that this header
9375         will be removed soon.  Revise banner comment to match.
9376         (compile): Consistently use ERROR instead of RETURN to report
9377         errors (partial fix for bz#18681).
9378         * regexp.c: Don't include regexp.h. Remove some unnecessary
9379         declarations.
9381 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9383         * po/libc.pot: Regenerated.
9385 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9387         [BZ #18740]
9388         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9389         float-vlen4-arch-ext-cflags): Removed.
9390         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9391         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9393 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9395         [BZ #14113]
9396         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9397         aligned to __aligned__.
9398         (pthread_cond_t, pthread_rwlock_t): Likewise.
9400 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9402         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9404 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9406         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9407         (struct sigaction): Change sa_flags from a long to an int, and add
9408         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9410 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9412         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9413         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9414         sysdeps/generic/sysdep.h include.
9415         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9416         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9417         sysdeps/hppa/sysdep.h.
9418         (ENTRY, PSEUDO): Undefine before defining.
9420 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9422         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9423         from scratch to use INTERNAL_SYSCALL.
9425 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9427         [BZ #18078]
9428         * scripts/check-localplt.awk: Support alternate relocations.
9429         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9430         sections.
9431         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9432         malloc entries with + REL R_386_GLOB_DAT.
9433         * sysdeps/x86_64/localplt.data: New file.
9435 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9437         [BZ #18731]
9438         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9439         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9440         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9442 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9444         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9446 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9448         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9449         directly in terms of __sync_fetch_and_add and delete (int) cast.
9451 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9453         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9454         the -D_ASM_IA64_CURRENT_H flag.
9456 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9458         [BZ #18641]
9459         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9461 2015-07-27  Andreas Schwab  <schwab@suse.de>
9463         * conform/conformtest.pl (checknamespace): Filter out string
9464         literals while tokenizing.
9466 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9468         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9469         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9470         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9472 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9474         * nptl/tst-join7mod.c: Add #include <string.h>.
9476 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9478         * sysdeps/nios2/libm-test-ulps: Update.
9480 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9482         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9483         Fix order of arguments to the rt_sigprocmask syscall.
9484         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9485         Likewise.
9487 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9489         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9491 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9493         [BZ #18457]
9494         * nptl/Makefile (tests): New test case tst-join7.
9495         (modules-names): New test case module tst-join7mod.
9496         * nptl/tst-join7.c: New file.
9497         * nptl/tst-join7mod.c: New file.
9498         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9499         all translation units in libc.so, libpthread.so and rtld.
9501 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9505 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9507         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9509         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9514         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9515         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9520         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9521         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9522         implementation.
9524 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9526         [BZ #17711]
9527         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9528         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9529         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9530         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9531         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9532         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9534 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9536         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9537         instead of just saying load lock in the comments.
9539 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9541         * sysdeps/unix/Subdirs: Moved ...
9542         * sysdeps/posix/Subdirs: ... here.
9543         * login/pty.h (struct termios, struct winsize): Add forward decls.
9544         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9545         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9546         * sysdeps/arm/nacl/libc.abilist: Updated.
9547         * sysdeps/nacl/libutil.abilist: New file.
9549         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9550         (SIGWINCH): New macro.
9552         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9553         * sysdeps/arm/nacl/libc.abilist: Add it.
9555 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9557         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9559 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9561         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9562         Swap __glibc_reserved0 and sa_flags order.
9564 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9566         [BZ #18657]
9567         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9568         are pending TLS destructor calls.
9569         * include/link.h (struct link_map): Add concurrency note for
9570         L_TLS_DTOR_COUNT.
9571         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9572         Don't touch the link map flag.  Atomically increment
9573         l_tls_dtor_count.
9574         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9575         Avoid taking the load lock and don't touch the link map flag.
9576         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9577         * stdlib/Makefile (tests): Use it.
9578         * stdlib/tst-tls-atexit.c (do_test): dlopen
9579         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9580         to allow tst-tls-atexit-nodelete test case to use it.
9582 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9584         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9585         to bits/types.h.
9586         (msgqnum_t): New typedef.
9587         (msglen_t): Likewise.
9588         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9589         and msg_qbytes type to msglen_t.
9591 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9593         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9594         pad0 to __glibc_reserved0.
9595         (struct stat64): Likewise.
9597 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9599         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9600         Change sa_flags from a long to an int and add __glibc_reserved0 before
9601         it for padding.
9603 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9605         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9606         anonymous by deleting "siginfo" name.
9608 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9610         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9611         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9612         rather than __nacl_irt_filename.
9613         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9615         * NEWS: New item for arm-nacl port.
9616         * sysdeps/arm/nacl/libc.abilist: New file.
9617         * sysdeps/nacl/ld.abilist: New file.
9618         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9619         * sysdeps/nacl/libanl.abilist: New file.
9620         * sysdeps/nacl/libcrypt.abilist: New file.
9621         * sysdeps/nacl/libdl.abilist: New file.
9622         * sysdeps/nacl/libm.abilist: New file.
9623         * sysdeps/nacl/libpthread.abilist: New file.
9624         * sysdeps/nacl/libresolv.abilist: New file.
9625         * sysdeps/nacl/librt.abilist: New file.
9627 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9629         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9630         __startcontext to initialize the new context.
9631         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9632         up CFI directive to forbid further backtracing.
9634 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9636         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9637         reference.
9638         * charmaps/ANSI_X3.4-1968: Likewise.
9639         * charmaps/BS_4730: Likewise.
9640         * charmaps/BS_VIEWDATA: Likewise.
9641         * charmaps/CP1250: Likewise.
9642         * charmaps/CP1251: Likewise.
9643         * charmaps/CP1252: Likewise.
9644         * charmaps/CP1253: Likewise.
9645         * charmaps/CP1254: Likewise.
9646         * charmaps/CP1255: Likewise.
9647         * charmaps/CP1256: Likewise.
9648         * charmaps/CSN_369103: Likewise.
9649         * charmaps/EBCDIC-DK-NO: Likewise.
9650         * charmaps/GB_1988-80: Likewise.
9651         * charmaps/GREEK-CCITT: Likewise.
9652         * charmaps/GREEK7: Likewise.
9653         * charmaps/INIS-8: Likewise.
9654         * charmaps/ISIRI-3342: Likewise.
9655         * charmaps/ISO_2033-1983: Likewise.
9656         * charmaps/ISO_5427-EXT: Likewise.
9657         * locales/POSIX: Likewise.
9658         * locales/ar_SA: Likewise.
9659         * locales/be_BY: Likewise.
9660         * locales/be_BY@latin: Likewise.
9661         * locales/ca_ES: Likewise.
9662         * locales/cs_CZ: Likewise.
9663         * locales/da_DK: Likewise.
9664         * locales/de_BE: Likewise.
9665         * locales/de_CH: Likewise.
9666         * locales/de_LU: Likewise.
9667         * locales/en_AU: Likewise.
9668         * locales/en_BW: Likewise.
9669         * locales/en_CA: Likewise.
9670         * locales/en_DK: Likewise.
9671         * locales/en_GB: Likewise.
9672         * locales/en_IE: Likewise.
9673         * locales/en_NZ: Likewise.
9674         * locales/en_ZA: Likewise.
9675         * locales/en_ZW: Likewise.
9676         * locales/es_AR: Likewise.
9677         * locales/es_BO: Likewise.
9678         * locales/es_CL: Likewise.
9679         * locales/es_CO: Likewise.
9680         * locales/es_DO: Likewise.
9681         * locales/es_EC: Likewise.
9682         * locales/es_ES: Likewise.
9683         * locales/es_HN: Likewise.
9684         * locales/es_MX: Likewise.
9685         * locales/es_PA: Likewise.
9686         * locales/es_PE: Likewise.
9687         * locales/es_PY: Likewise.
9688         * locales/es_SV: Likewise.
9689         * locales/es_US: Likewise.
9690         * locales/es_UY: Likewise.
9691         * locales/es_VE: Likewise.
9692         * locales/et_EE: Likewise.
9693         * locales/fa_IR: Likewise.
9694         * locales/fo_FO: Likewise.
9695         * locales/fr_CA: Likewise.
9696         * locales/fr_CH: Likewise.
9697         * locales/gv_GB: Likewise.
9698         * locales/he_IL: Likewise.
9699         * locales/hr_HR: Likewise.
9700         * locales/id_ID: Likewise.
9701         * locales/is_IS: Likewise.
9702         * locales/it_CH: Likewise.
9703         * locales/iw_IL: Likewise.
9704         * locales/kl_GL: Likewise.
9705         * locales/ko_KR: Likewise.
9706         * locales/kw_GB: Likewise.
9707         * locales/lg_UG: Likewise.
9708         * locales/lt_LT: Likewise.
9709         * locales/lv_LV: Likewise.
9710         * locales/mi_NZ: Likewise.
9711         * locales/nhn_MX: Likewise.
9712         * locales/nl_BE: Likewise.
9713         * locales/pl_PL: Likewise.
9714         * locales/sk_SK: Likewise.
9715         * locales/sl_SI: Likewise.
9716         * locales/sv_FI: Likewise.
9717         * locales/tl_PH: Likewise.
9718         * locales/tr_TR: Likewise.
9719         * locales/vi_VN: Likewise.
9721 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9723         [BZ #17475]
9724         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9725         of tu_IN and bh_IN.
9727 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9729         [BZ #18694]
9730         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9731         bits/wordsize.h.
9732         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9734 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9736         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9737         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9738         (spawn_thread): New function.
9739         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9740         (do_test): ... here.  Use IS_LOADED to test for its
9741         availability.
9743 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9747 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9749         [BZ #18696]
9750         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9751         si_addr_bnd.
9752         (si_lower): New.
9753         (si_upper): Likewise.
9755 2015-07-16  David S. Miller  <davem@davemloft.net>
9757         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9759 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9761         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9762         buffer.
9763         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9764         fail output information.
9766 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9769         and strstr-ppc64..
9770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9771         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9772         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9773         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9774         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9776 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9778         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9779         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9780         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9781         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9783 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9785         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9786         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9787         rtld_hidden_proto.
9788         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9790 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9792         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9793         the test can fail.
9795         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9797         [BZ #18676]
9798         * elf/tst-nodelete-opened.c: New test case.
9799         * elf/tst-nodelete-opened-lib.c: New test case module.
9800         * elf/Makefile (tests, modules-names): Use them.
9801         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9802         early.
9804 2015-07-15  David S. Miller  <davem@davemloft.net>
9806         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9807         futex-intenal.h
9808         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9809         * sysdeps/sparc/sparc64/Makefile: Likewise.
9810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9811         Remove space from macro define.
9812         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9814 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9816         [BZ #17475]
9817         * locale/iso-639.def: Update Bhili and Tulu language codes as
9818         per iso639-3.
9820 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9822         * elf/tst-leaks1.c (main): Converted to ...
9823         (do_test): ... this.
9824         (TEST_FUNCTION): New macro.
9825         Include test-skeleton.c.
9826         * localedata/tst-langinfo.c (main): Converted to ...
9827         (do_test): ... this.
9828         (TEST_FUNCTION): New macro.
9829         Include test-skeleton.c.
9830         * math/test-fpucw.c (main): Converted to ...
9831         (do_test): ... this.
9832         (TEST_FUNCTION): New macro.
9833         Include test-skeleton.c.
9834         * math/test-tgmath.c (main): Converted to ...
9835         (do_test): ... this.
9836         (TEST_FUNCTION): New macro.
9837         Include test-skeleton.c.
9838         * math/test-tgmath2.c (main): Converted to ...
9839         (do_test): ... this.
9840         (TEST_FUNCTION): New macro.
9841         Include test-skeleton.c.
9842         * setjmp/tst-setjmp.c (main): Converted to ...
9843         (do_test): ... this.
9844         (TEST_FUNCTION): New macro.
9845         Include test-skeleton.c.
9846         * stdio-common/tst-sscanf.c (main): Converted to ...
9847         (do_test): ... this.
9848         (TEST_FUNCTION): New macro.
9849         Include test-skeleton.c.
9850         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9851         (do_test): ... this.
9852         (TEST_FUNCTION): New macro.
9853         Include test-skeleton.c.
9855         * elf/tst-audit9.c (main): Converted to ...
9856         (do_test): ... this.
9857         (TEST_FUNCTION): New macro.
9858         Include test-skeleton.c.
9860 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9862         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9864 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9866         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9867         New variable.
9869 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9873 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9875         * sysdeps/generic/dl-fileid.h: New file.
9876         * sysdeps/posix/dl-fileid.h: New file.
9877         * sysdeps/nacl/dl-fileid.h: New file.
9878         * include/link.h: Include <dl-fileid.h>.
9879         (struct link_map): Replace l_dev and l_ino with l_file_id.
9880         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9881         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9882         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9884 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9886         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9888 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9890         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9891         Add iff $CXX is set.
9892         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9893         Likewise.
9894         (tst-nodelete-zmodiff): Likewise.
9895         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9897 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9899         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9901 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9903         * sysdeps/aarch64/fpu/math_private.h
9904         (define math_opt_barrier): Add AArch64 version.
9905         (math_force_eval): Likewise.
9907 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9909         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9911 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9913         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9914         %ld with %jd and cast to intmax_t.
9915         (do_test_length_zero): Likewise.
9917 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9919         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9921 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9923         * sysdeps/tile/libm-test-ulps: Regenerated.
9925         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9926         Comment out the whole function, not just its body.
9928 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9930         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9931         locks.
9933         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9935 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9937         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9938         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9940 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9942         * sysdeps/nptl/futex-internal.h: New file.
9943         * sysdeps/nacl/futex-internal.h: New file.
9944         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9945         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9946         error checking.
9947         (setxid_unmark_thread): Likewise.
9948         (__nptl_setxid): Likewise.
9949         (__wait_lookup_done): Likewise.
9950         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9951         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9952         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9953         * nptl/pthread_once.c (clear_once_control): Likewise.
9954         (__pthread_once_slow): Likewise.
9955         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9956         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9957         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9958         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9959         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9960         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9961         Likewise.
9962         (__pthread_rwlock_rdlock): Likewise.
9963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9964         Likewise.
9965         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9966         Likewise.
9967         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9968         Likewise.
9969         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9970         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9971         Likewise.
9972         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9973         __ASSUME_PRIVATE_FUTEX check.
9974         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9975         Check that shared futexes are supported.
9976         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9977         wrappers with error checking.
9978         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9979         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9980         * nptl/pthread_barrierattr_setpshared.c
9981         (pthread_barrierattr_setpshared): Check that shared futexes are
9982         supported.
9983         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9984         Likewise.
9985         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9986         Likewise.
9987         * nptl/sem_init.c (futex_private_if_supported): Remove.
9988         (__new_sem_init): Adapt and check that shared futexes are supported.
9989         * nptl/sem_open.c (sem_open): Likewise.
9990         * nptl/sem_post.c (futex_wake): Remove.
9991         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9992         (do_futex_wait): Use futex wrappers with error checking.
9993         * nptl/sem_wait.c: Include lowlevellock.h.
9994         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9995         Use futex_supports_pshared.
9996         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9997         Use futex wrappers with error checking.
9998         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9999         Likewise.
10000         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10001         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10002         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10003         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10004         (futex_wake): Likewise.
10005         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10006         (do_futex_wait): Use futex wrappers with error checking.
10007         (__new_sem_wait_slow): Update EINTR handling.
10008         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10010 2015-07-09  Martin Sebor  <msebor@redhat.com>
10012         [BZ #18435]
10013         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10014         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10015         * nptl/Makefile (test-xfail-tst-once5): Define.
10017 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10019         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10020         * elf/dl-minimal.c: For readability, reorder some definitions and
10021         introduce more page breaks.  Include <stdio.h>.
10022         (__libc_fatal): New function.
10024         * include/unistd.h: Add rtld_hidden_proto for _exit.
10025         * posix/_exit.c: Add rtld_hidden_def.
10026         * sysdeps/mach/hurd/_exit.c: Likewise.
10027         * sysdeps/nacl/_exit.c: Likewise.
10028         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10029         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10031 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10034         bndmov encoding with zero displacement.
10036 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10037             H.J. Lu  <hongjiu.lu@intel.com>
10039         [BZ #18134]
10040         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10041         * sysdeps/i386/configure: Regenerated.
10042         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10043         (_dl_runtime_profile): Save and restore Intel MPX return bound
10044         registers when calling _dl_call_pltexit.  Add
10045         PRESERVE_BND_REGS_PREFIX before return.
10046         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10047         (LRV_BND1_OFFSET): Likewise.
10048         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10049         lrv_bnd1.
10050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10051         typo in bndmov encoding.
10052         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10053         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10054         branch instructions to preserve bounds.
10056 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10059         [GLIBC_2.22]: Add fmemopen.
10061 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10063         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10064         returns an error, also try to use host port from __mach_host_self for
10065         the __vm_wire call.
10066         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10068 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10070         [BZ #18400]
10071         [BZ #18648]
10072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10073         Fix pr_uid and pr_gid members.
10074         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10075         definition to elf_greg_t.
10077 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10079         [BZ #18383]
10080         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10081         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10082         * sysdeps/arm/configure: Regenerated.
10083         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10084         (test-xfail-tst-tlsalign-static): Variable removed.
10086         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10087         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10088         rather than explicit 'ln -s'.
10090         * resolv/rpc/netdb.h: New file.
10091         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10093 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10095         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10096         length buffers.
10097         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10098         test-skeleton.c.
10100         [BZ #6544]
10101         [BZ #11216]
10102         [BZ #12836]
10103         [BZ #13151]
10104         [BZ #13152]
10105         [BZ #14292]
10106         * include/stdio.h (fmemopen): Remove hidden prototype.
10107         (__fmemopen): Add new hidden prototype.
10108         * libio/Makefile: Add oldfmemopen object.
10109         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10110         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10111         compliance.
10112         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10113         symbol compatibility.
10114         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10115         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10116         fmemopen.
10117         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10118         on append and read mode.
10119         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10120         fmemopen.
10121         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10122         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10123         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10124         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10125         Likewise.
10126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10127         [GLIBC_2.22]: Likewise.
10128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10129         Likewise.
10130         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10131         Likewise.
10132         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10133         [GLIBC_2.22]: Likewise.
10134         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10135         [GLIBC_2.22]: Likewise.
10136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10137         [GLIBC_2.22]: Likewise.
10138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10139         [GLIBC_2.22]: Likewise.
10140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10141         [GLIBC_2.22]: Likewise.
10142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10143         [GLIBC_2.22]: Likewise.
10144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10145         [GLIBC_2.22]: Likewise.
10146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10147         Likewise.
10148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10149         Likewise.
10150         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10152         [GLIBC_2.22]: Likewise.
10153         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10154         [GLIBC_2.22]: Likewise.
10155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10156         [GLIBC_2.22]: Likewise.
10157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10158         [GLIBC_2.22]: Likewise.
10159         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10160         Likewise.
10161         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10162         Likewise.
10163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10164         Likewise.
10165         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10166         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10168 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10170         [BZ #18643]
10171         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10172         IPV6_PATHMTU, and IPV6_DONTFRAG.
10174 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10176         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10177         and _IO_UNBUFFERED.
10178         * libio/oldfileops.c: Likewise.
10179         * libio/wfileops.c: Likewise.
10181 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10183         * nscd/selinux.c: Delete selinux/flask.h include.
10185 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10187         [BZ #18641]
10188         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10189         (putpwent): Likewise.
10190         (getpwnam): Likewise.
10191         (getpwent_r): Likewise.
10192         (getpwuid_r): Likewise.
10193         (getpwnam_r): Likewise.
10194         (fgetpwent_r): Likewise.
10196 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10198         [BZ #18557]
10199         * inet/rcmd.c (__validuser2_sa): Check user first to
10200         short-circuit host check.
10202 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10203             Mikhail Ilin  <m.ilin@samsung.com>
10205         [BZ #17833]
10206         * elf/Makefile (tests): Add tst-nodelete.
10207         (modules-names): Add tst-nodelete-uniquemod.
10208         (tst-nodelete-uniquemod.so-no-z-defs): New.
10209         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10210         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10211         ($(objpfx)tst-nodelete): Likewise.
10212         ($(objpfx)tst-nodelete.out): Likewise.
10213         (LDFLAGS-tst-nodelete): Likewise.
10214         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10215         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10216         implement forced object deletion.
10217         (_dl_close): Pass false to _dl_close_worker.
10218         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10219         * elf/tst-nodelete.cc: New file.
10220         * elf/tst-nodeletelib.cc: Likewise.
10221         * elf/tst-znodeletelib.cc: Likewise.
10222         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10224 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10226         [BZ #18508]
10227         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10228         Depend on $(libdl).
10229         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10230         is not called infinitely times.
10231         (backtrace_helper): New function.
10232         (trace_arg): New struct.
10233         (st1): Enlarge stack size.
10234         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10235         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10236         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10237         Likewise.
10239 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10241         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10243 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10245         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10246         Include sys/types.h instead of bits/types.h.
10247         Remove inclusion of bits/wordsize.h.
10249 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10251         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10252         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10253         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10254         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10255         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10256         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10258 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10260         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10261         link-defines.sym.
10262         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10263         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10264         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10265         and LR_SIZE.
10266         * sysdeps/i386/link-defines.sym: New file.
10268 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10270         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10271         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10272         ($(objpfx)tst-audit3): New rule.
10273         ($(objpfx)tst-audit3.out): Likewise.
10274         * sysdeps/i386/tst-audit3.c: New file.
10275         * sysdeps/i386/tst-audit3.h: Likewise.
10276         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10277         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10279 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10281         [BZ #18633]
10282         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10283         pointer in C code.
10284         (__strcat_c): Likewise.
10285         (__strcat_g): Likewise.
10287 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10289         [BZ #18592]
10290         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10292 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10294         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10295         New function.  (__ieee754_sqrtf): New function.
10296         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10297         New function.
10298         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10299         New function.
10301 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10303         * sysdeps/ieee754/support.c: Remove unused file.
10305 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10307         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10308         registers instead of d ones so the layout is kernel abi compatible.
10309         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10310         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10311         Likewise.
10313 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10315         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10317 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10319         [BZ #18619]
10320         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10321         and return argument in case of subnormal argument.
10323 2015-07-01  Martin Sebor  <msebor@redhat.com>
10325         [BZ #18435]
10326         * nptl/Makefile: Add tst-once5.cc.
10327         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10328         Remove macro redefinitions.
10329         * nptl/tst-once5.cc: New test.
10331 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10335         * sysdeps/arm/libm-test-ulps: Regenerated.
10337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10340 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10342         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10343         lll_lock_wait_private and lll_futex_wake probes.
10345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10347         Likewise.
10348         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10349         atomic_spin_nop.
10350         * sysdeps/x86_64/bits/atomic.h: Likewise.
10351         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10352         to atomic_spin_nop and move ...
10353         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10354         ... here and ...
10355         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10356         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10357         atomic_spin_nop instead of BUSY_WAIT_NOP.
10358         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10359         Likewise.
10360         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10361         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10362         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10363         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10364         instead of atomic_delay.
10366 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #18613]
10369         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10370         X_ADJ not X when adjusting exponent.
10371         (__ieee754_gamma_r): Do intermediate computations in
10372         round-to-nearest then adjust overflowing and underflowing results
10373         as needed.
10374         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10375         of X_ADJ not X when adjusting exponent.
10376         (__ieee754_gammaf_r): Do intermediate computations in
10377         round-to-nearest then adjust overflowing and underflowing results
10378         as needed.
10379         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10380         log of X_ADJ not X when adjusting exponent.
10381         (__ieee754_gammal_r): Do intermediate computations in
10382         round-to-nearest then adjust overflowing and underflowing results
10383         as needed.  Use 1.0L not 1.0f as numerator of division.
10384         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10385         log of X_ADJ not X when adjusting exponent.
10386         (__ieee754_gammal_r): Do intermediate computations in
10387         round-to-nearest then adjust overflowing and underflowing results
10388         as needed.  Use 1.0L not 1.0f as numerator of division.
10389         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10390         of X_ADJ not X when adjusting exponent.
10391         (__ieee754_gammal_r): Do intermediate computations in
10392         round-to-nearest then adjust overflowing and underflowing results
10393         as needed.  Use 1.0L not 1.0f as numerator of division.
10394         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10395         to auto-libm-test-in.
10396         (tgamma_test): Use ALL_RM_TEST.
10397         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10398         tests of tgamma with spurious-overflow.
10399         * math/auto-libm-test-out: Regenerated.
10400         * math/gen-libm-have-vector-test.sh: Do not check for START.
10401         * sysdeps/i386/fpu/libm-test-ulps: Update.
10402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10404         [BZ #18612]
10405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10406         arguments, just return 0.5 times the argument, with underflow
10407         forced as needed.
10408         * math/auto-libm-test-in: Add more tests of j1.
10409         * math/auto-libm-test-out: Regenerated.
10411         [BZ #16559]
10412         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10413         (__ieee754_j1): Force underflow exception for small results.
10414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10415         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10416         (__ieee754_j1f): Force underflow exception for small results.
10417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10420         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10421         (__ieee754_j1l): Force underflow exception for small results.
10422         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10423         * math/auto-libm-test-in: Add more tests of j1 and jn.
10424         * math/auto-libm-test-out: Regenerated.
10426         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10427         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10428         (PF_MPLS): Likewise.
10429         (AF_IB): Likewise.
10430         (AF_MPLS): Likewise.
10431         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10432         value and macro.
10433         (MS_RMT_MASK): Include MS_LAZYTIME.
10435 2015-06-26  Mel Gorman  <mgorman@suse.de>
10437         [BZ #18502]
10438         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10439         already minimal.
10441 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10443         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10444         (DT_MIPS_NUM): Update.
10445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10446         DT_MIPS_RLD_MAP_REL.
10448 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10450         [BZ #16559]
10451         [BZ #18602]
10452         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10453         round-to-nearest internally then recompute results that
10454         underflowed to zero in the original rounding mode.
10455         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10456         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10458         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10459         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10460         * sysdeps/i386/fpu/libm-test-ulps: Update.
10461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10463 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10465         * NEWS: Fixed description of link with vector math library.
10467 2015-06-25  Andreas Schwab  <schwab@suse.de>
10469         [BZ #18549]
10470         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10471         * libio/test-fmemopen.c (do_test): Add test for it.
10473 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10475         [BZ #17841]
10476         * Makeconfig (no-pie-ldflag): New.
10477         (+link): Set to $(+link-pie) if default to PIE.
10478         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10479         * config.make.in (build-pie-default): New.
10480         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10481         is default.  AC_SUBST.
10482         * configure: Regenerated.
10483         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10485 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10487         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10488         to 'unsigned int'.
10490         * resolv/gai_misc.h (struct waitlist): Change type of field
10491         counterp to 'volatile unsigned int *'.
10492         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10493         FUTEXADDR and OLDVAL.
10494         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10495         Give local variable TOTAL type 'volatile unsigned int'.
10496         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10497         * resolv/gai_suspend.c (gai_suspend):
10498         Give local variable CNTR type 'unsigned int'.
10500         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10501         counterp to 'volatile unsigned int *'.
10502         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10503         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10504         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10505         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10506         Give local variable TOTAL type 'volatile unsigned int'.
10507         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10509 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10511         [BZ #18383]
10512         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10513         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10514         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10515         comment for i386/x86-64.
10516         (test-xfail-tst-tlsalign-extern-static): Removed.
10518 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10520         * math/test-double.h: New file.
10521         * math/test-float.h: Likewise.
10522         * math/test-ldouble.h: Likewise.
10523         * math/test-math-inline.h: Likewise.
10524         * math/test-math-no-inline.h: Likewise.
10525         * math/test-math-scalar.h: Likewise.
10526         * math/test-math-vector.h: Likewise.
10527         * math/test-vec-loop.h: Remove file.  Contents moved into
10528         test-math-vector.h.
10529         * math/libm-test.inc (MATHCONST): Do not document macro.
10530         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10531         and test-math-scalar.h.
10532         (FUNC): Remove macro.
10533         (FUNC_TEST): Likewise.
10534         (FLOAT): Likewise.
10535         (MATHCONST): Likewise.
10536         (PRINTF_EXPR): Likewise.
10537         (PRINTF_XEXPR): Likewise.
10538         (PRINTF_NEXPR): Likewise.
10539         (TEST_DOUBLE): Likewise.
10540         (TEST_MATHVEC): Likewise.
10541         (__NO_MATH_INLINES): Likewise.
10542         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10543         and test-math-scalar.h.
10544         (FUNC): Remove macro.
10545         (FUNC_TEST): Likewise.
10546         (FLOAT): Likewise.
10547         (MATHCONST): Likewise.
10548         (PRINTF_EXPR): Likewise.
10549         (PRINTF_XEXPR): Likewise.
10550         (PRINTF_NEXPR): Likewise.
10551         (TEST_FLOAT): Likewise.
10552         (TEST_MATHVEC): Likewise.
10553         (__NO_MATH_INLINES): Likewise.
10554         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10555         and test-math-scalar.h.
10556         (FUNC): Remove macro.
10557         (FUNC_TEST): Likewise.
10558         (FLOAT): Likewise.
10559         (MATHCONST): Likewise.
10560         (PRINTF_EXPR): Likewise.
10561         (PRINTF_XEXPR): Likewise.
10562         (PRINTF_NEXPR): Likewise.
10563         (TEST_DOUBLE): Likewise.
10564         (TEST_MATHVEC): Likewise.
10565         (TEST_INLINE): Likewise.
10566         (__NO_MATH_INLINES): Likewise.
10567         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10568         test-math-scalar.h.
10569         (FUNC): Remove macro.
10570         (FUNC_TEST): Likewise.
10571         (FLOAT): Likewise.
10572         (MATHCONST): Likewise.
10573         (PRINTF_EXPR): Likewise.
10574         (PRINTF_XEXPR): Likewise.
10575         (PRINTF_NEXPR): Likewise.
10576         (TEST_FLOAT): Likewise.
10577         (TEST_MATHVEC): Likewise.
10578         (TEST_INLINE): Likewise.
10579         (__NO_MATH_INLINES): Likewise.
10580         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10581         and test-math-scalar.h.
10582         (FUNC): Remove macro.
10583         (FUNC_TEST): Likewise.
10584         (FLOAT): Likewise.
10585         (MATHCONST): Likewise.
10586         (PRINTF_EXPR): Likewise.
10587         (PRINTF_XEXPR): Likewise.
10588         (PRINTF_NEXPR): Likewise.
10589         (TEST_LDOUBLE): Likewise.
10590         (TEST_MATHVEC): Likewise.
10591         (TEST_INLINE): Likewise.
10592         (__NO_MATH_INLINES): Likewise.
10593         * math/test-ldouble.c: Include test-ldouble.h,
10594         test-math-no-inline.h and test-math-scalar.h.
10595         (FUNC): Remove macro.
10596         (FUNC_TEST): Likewise.
10597         (FLOAT): Likewise.
10598         (MATHCONST): Likewise.
10599         (PRINTF_EXPR): Likewise.
10600         (PRINTF_XEXPR): Likewise.
10601         (PRINTF_NEXPR): Likewise.
10602         (TEST_LDOUBLE): Likewise.
10603         (TEST_MATHVEC): Likewise.
10604         (__NO_MATH_INLINES): Likewise.
10605         * math/test-double-vlen2.h: Include test-double.h,
10606         test-math-no-inline.h and test-math-vector.h.
10607         (FLOAT): Remove macro.
10608         (FUNC): Likewise.
10609         (MATHCONST): Likewise.
10610         (PRINTF_EXPR): Likewise.
10611         (PRINTF_XEXPR): Likewise.
10612         (PRINTF_NEXPR): Likewise.
10613         (TEST_DOUBLE): Likewise.
10614         (TEST_MATHVEC): Likewise.
10615         (__NO_MATH_INLINES): Likewise.
10616         (CNCT): Likewise.
10617         (CONCAT): Likewise.
10618         (WRAPPER_NAME): Likewise.
10619         (WRAPPER_DECL): Likewise.
10620         (WRAPPER_DECL_ff): Likewise.
10621         (WRAPPER_DECL_fFF): Likewise.
10622         (VECTOR_WRAPPER): Likewise.
10623         (VECTOR_WRAPPER_ff): Likewise.
10624         (VECTOR_WRAPPER_fFF): Likewise.
10625         (VEC_LEN): New macro.
10626         * math/test-double-vlen4.h: Include test-double.h,
10627         test-math-no-inline.h and test-math-vector.h.
10628         (FLOAT): Remove macro.
10629         (FUNC): Likewise.
10630         (MATHCONST): Likewise.
10631         (PRINTF_EXPR): Likewise.
10632         (PRINTF_XEXPR): Likewise.
10633         (PRINTF_NEXPR): Likewise.
10634         (TEST_DOUBLE): Likewise.
10635         (TEST_MATHVEC): Likewise.
10636         (__NO_MATH_INLINES): Likewise.
10637         (CNCT): Likewise.
10638         (CONCAT): Likewise.
10639         (WRAPPER_NAME): Likewise.
10640         (WRAPPER_DECL): Likewise.
10641         (WRAPPER_DECL_ff): Likewise.
10642         (WRAPPER_DECL_fFF): Likewise.
10643         (VECTOR_WRAPPER): Likewise.
10644         (VECTOR_WRAPPER_ff): Likewise.
10645         (VECTOR_WRAPPER_fFF): Likewise.
10646         (VEC_LEN): New macro.
10647         * math/test-double-vlen8.h: Include test-double.h,
10648         test-math-no-inline.h and test-math-vector.h.
10649         (FLOAT): Remove macro.
10650         (FUNC): Likewise.
10651         (MATHCONST): Likewise.
10652         (PRINTF_EXPR): Likewise.
10653         (PRINTF_XEXPR): Likewise.
10654         (PRINTF_NEXPR): Likewise.
10655         (TEST_DOUBLE): Likewise.
10656         (TEST_MATHVEC): Likewise.
10657         (__NO_MATH_INLINES): Likewise.
10658         (CNCT): Likewise.
10659         (CONCAT): Likewise.
10660         (WRAPPER_NAME): Likewise.
10661         (WRAPPER_DECL): Likewise.
10662         (WRAPPER_DECL_ff): Likewise.
10663         (WRAPPER_DECL_fFF): Likewise.
10664         (VECTOR_WRAPPER): Likewise.
10665         (VECTOR_WRAPPER_ff): Likewise.
10666         (VECTOR_WRAPPER_fFF): Likewise.
10667         (VEC_LEN): New macro.
10668         * math/test-float-vlen4.h: Include test-float.h,
10669         test-math-no-inline.h and test-math-vector.h.
10670         (FLOAT): Remove macro.
10671         (FUNC): Likewise.
10672         (MATHCONST): Likewise.
10673         (PRINTF_EXPR): Likewise.
10674         (PRINTF_XEXPR): Likewise.
10675         (PRINTF_NEXPR): Likewise.
10676         (TEST_FLOAT): Likewise.
10677         (TEST_MATHVEC): Likewise.
10678         (__NO_MATH_INLINES): Likewise.
10679         (CNCT): Likewise.
10680         (CONCAT): Likewise.
10681         (WRAPPER_NAME): Likewise.
10682         (WRAPPER_DECL): Likewise.
10683         (WRAPPER_DECL_ff): Likewise.
10684         (WRAPPER_DECL_fFF): Likewise.
10685         (VECTOR_WRAPPER): Likewise.
10686         (VECTOR_WRAPPER_ff): Likewise.
10687         (VECTOR_WRAPPER_fFF): Likewise.
10688         (VEC_LEN): New macro.
10689         * math/test-float-vlen8.h: Include test-float.h,
10690         test-math-no-inline.h and test-math-vector.h.
10691         (FLOAT): Remove macro.
10692         (FUNC): Likewise.
10693         (MATHCONST): Likewise.
10694         (PRINTF_EXPR): Likewise.
10695         (PRINTF_XEXPR): Likewise.
10696         (PRINTF_NEXPR): Likewise.
10697         (TEST_FLOAT): Likewise.
10698         (TEST_MATHVEC): Likewise.
10699         (__NO_MATH_INLINES): Likewise.
10700         (CNCT): Likewise.
10701         (CONCAT): Likewise.
10702         (WRAPPER_NAME): Likewise.
10703         (WRAPPER_DECL): Likewise.
10704         (WRAPPER_DECL_ff): Likewise.
10705         (WRAPPER_DECL_fFF): Likewise.
10706         (VECTOR_WRAPPER): Likewise.
10707         (VECTOR_WRAPPER_ff): Likewise.
10708         (VECTOR_WRAPPER_fFF): Likewise.
10709         (VEC_LEN): New macro.
10710         * math/test-float-vlen16.h: Include test-float.h,
10711         test-math-no-inline.h and test-math-vector.h.
10712         (FLOAT): Remove macro.
10713         (FUNC): Likewise.
10714         (MATHCONST): Likewise.
10715         (PRINTF_EXPR): Likewise.
10716         (PRINTF_XEXPR): Likewise.
10717         (PRINTF_NEXPR): Likewise.
10718         (TEST_FLOAT): Likewise.
10719         (TEST_MATHVEC): Likewise.
10720         (__NO_MATH_INLINES): Likewise.
10721         (CNCT): Likewise.
10722         (CONCAT): Likewise.
10723         (WRAPPER_NAME): Likewise.
10724         (WRAPPER_DECL): Likewise.
10725         (WRAPPER_DECL_ff): Likewise.
10726         (WRAPPER_DECL_fFF): Likewise.
10727         (VECTOR_WRAPPER): Likewise.
10728         (VECTOR_WRAPPER_ff): Likewise.
10729         (VECTOR_WRAPPER_fFF): Likewise.
10730         (VEC_LEN): New macro.
10731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10732         test-vec-loop.h.
10733         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10735         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10736         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10737         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10739         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10741 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10743         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10744         (__getlogin_r): ... this.
10746 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10748         [BZ #18594]
10749         * math/s_ccosh.c (__ccosh): Compare with least normal value
10750         instead of comparing class with FP_SUBNORMAL.
10751         * math/s_ccoshf.c (__ccoshf): Likewise.
10752         * math/s_ccoshl.c (__ccoshl): Likewise.
10753         * math/s_cexp.c (__cexp): Likewise.
10754         * math/s_cexpf.c (__cexpf): Likewise.
10755         * math/s_cexpl.c (__cexpl): Likewise.
10756         * math/s_csin.c (__csin): Likewise.
10757         * math/s_csinf.c (__csinf): Likewise.
10758         * math/s_csinh.c (__csinh): Likewise.
10759         * math/s_csinhf.c (__csinhf): Likewise.
10760         * math/s_csinhl.c (__csinhl): Likewise.
10761         * math/s_csinl.c (__csinl): Likewise.
10762         * math/s_ctan.c (__ctan): Likewise.
10763         * math/s_ctanf.c (__ctanf): Likewise.
10764         * math/s_ctanh.c (__ctanh): Likewise.
10765         * math/s_ctanhf.c (__ctanhf): Likewise.
10766         * math/s_ctanhl.c (__ctanhl): Likewise.
10767         * math/s_ctanl.c (__ctanl): Likewise.
10768         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10769         csin, csinh, ctan and ctanh.
10770         * math/auto-libm-test-out: Regenerated.
10771         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10772         * sysdeps/i386/fpu/libm-test-ulps: Update.
10773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10777         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10778         return value is wrong, print the expected value too.
10780 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10782         [BZ #18585]
10783         * elf/readlib.c (is_gdb_python_file): New.
10784         (process_file): Don't issue errors on filenames with -gdb.py
10785         suffix.
10787 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10789         * math/auto-libm-test-in: Add more tests of csin and csinh.
10790         * math/auto-libm-test-out: Regenerated.
10791         * math/libm-test.inc (csin_test_data): Remove tests moved to
10792         auto-libm-test-in.
10793         (csinh_test_data): Likewise.
10795         [BZ #18593]
10796         * math/s_csin.c (__csin): Negate before rather than after possibly
10797         overflowing multiplication.
10798         * math/s_csinf.c (__csinf): Likewise.
10799         * math/s_csinh.c (__csinh): Likewise.
10800         * math/s_csinhf.c (__csinhf): Likewise.
10801         * math/s_csinhl.c (__csinhl): Likewise.
10802         * math/s_csinl.c (__csinl): Likewise.
10803         * math/auto-libm-test-in: Add some tests of csin and csinh.
10804         * math/auto-libm-test-out: Regenerated.
10805         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10806         (csinh_test_data): Likewise.
10807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10809         [BZ #18586]
10810         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10811         underflow exception for small results.
10813 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10817         variable and included header.
10818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10820         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10823         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10826         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10827         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10828         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10829         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10830         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10831         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10832         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10833         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10835 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10837         [BZ #16526]
10838         [BZ #16538]
10839         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10840         (__sin): Force underflow exception for arguments with small
10841         absolute value.
10842         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10843         (__kernel_sinf): Force underflow exception for arguments with
10844         small absolute value.
10845         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10846         (__kernel_sincosl): Force underflow exception for arguments with
10847         small absolute value.
10848         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10849         (__kernel_sinl): Force underflow exception for arguments with
10850         small absolute value.
10851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10852         (__kernel_sincosl): Force underflow exception for arguments with
10853         small absolute value.
10854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10855         (__kernel_sinl): Force underflow exception for arguments with
10856         small absolute value.
10857         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10858         (__kernel_sinl): Force underflow exception for arguments with
10859         small absolute value.
10860         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10861         (__kernel_sinf): Force underflow exception for arguments with
10862         small absolute value.
10863         * math/auto-libm-test-in: Add more tests of sin and sincos.
10864         * math/auto-libm-test-out: Regenerated.
10866         [BZ #18245]
10867         [BZ #18583]
10868         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10869         (__kernel_standard_l): Use feholdexcept and fesetenv around
10870         conversion to double instead of special-casing overflow and
10871         underflow.
10872         * math/libm-test.inc (fmod_test_data): Add more tests.
10873         (remainder_test_data): Likewise.
10874         (sqrt_test_data): Likewise.
10876 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10878         [BZ #17403]
10879         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10880         atomic_read_barrier, atomic_write_barrier): Define.
10881         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10882         atomic_read_barrier, atomic_write_barrier): Define.
10884 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10886         * math/Makefile [$(PERL) != no]
10887         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10888         dependency on libm-test.stmp below the inclusion of Rules.
10890 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10894         and included header.
10895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10898         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10900         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10902         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10903         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10904         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10905         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10906         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10907         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10908         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10909         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10910         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10911         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10912         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10913         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10915 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10917         [BZ #18371]
10918         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10919         intermediate but not final result might underflow.
10920         * math/s_csqrtf.c (__csqrtf): Likewise.
10921         * math/s_csqrtl.c (__csqrtl): Likewise.
10922         * math/auto-libm-test-in: Add more tests of csqrt.
10923         * math/auto-libm-test-out: Regenerated.
10924         * sysdeps/i386/fpu/libm-test-ulps: Update.
10926         [BZ #18219]
10927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10928         threshold on absolute value of exponent for which scaling is used.
10929         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10930         * math/auto-libm-test-in: Add more tests of exp2.
10931         * math/auto-libm-test-out: Regenerated.
10933 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10935         [BZ #17977]
10936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10937         when initializing interface list, based on the bug analysis
10938         and the patch proposed by Eric Newton.
10939         * resolv/tst-res_hconf_reorder.c: New test.
10940         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10941         tst-res_hconf_reorder.
10942         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10943         and $(shared-thread-library).
10944         (tst-res_hconf_reorder-ENV): New variable.
10946         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10947         in comment.
10949 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10951         [BZ #16353]
10952         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10953         (__expm1): Force underflow exception for arguments with small
10954         absolute value.
10955         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10956         (__expm1f): Force underflow exception for arguments with small
10957         absolute value.
10958         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10959         (__expm1): Force underflow exception for arguments with small
10960         absolute value.
10961         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10962         (__expm1f): Force underflow exception for arguments with small
10963         absolute value.
10964         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10965         Check for small arguments before calling __expm1.
10966         * math/auto-libm-test-in: Do not mark underflow exceptions as
10967         possibly missing for bug 16353.
10968         * math/auto-libm-test-out: Regenerated.
10970 2015-06-22  Andreas Schwab  <schwab@suse.de>
10972         [BZ #18513]
10973         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10974         PTR queries.
10976 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10978         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10980         * string/strcoll_l.c: Remove unused struct element idxnow.
10982 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10984         [BZ #18569]
10985         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10986         underflow and return argument in case of subnormal argument.
10987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10988         Likewise.
10989         * math/auto-libm-test-in: Add more tests of expm1.
10990         * math/auto-libm-test-out: Regenerated.
10992         [BZ #16361]
10993         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10994         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10995         tiny results.
10996         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10997         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10998         tiny results.
10999         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11000         mark underflow exceptions as possibly missing for bug 16361.
11001         * math/auto-libm-test-out: Regenerated.
11003 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11005         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11006         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11007         Remove variable.
11008         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11009         (test-xfail-XOPEN2K8/utmpx.h/conform).
11011         * conform/conformtest.pl ($xerrors): New variable.
11012         (note_error): New function.
11013         (compiletest): New argument $xfail.  Use not_error.
11014         (runtest): Likewise.
11015         (top level): Handle xfail- lines.  Update calls to compiletest and
11016         runtest.  Handle xfail- and optional- in headers listed with
11017         allow-header.
11018         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11019         (O_EXEC): Likewise.
11020         (O_SEARCH): Likewise.
11021         * conform/data/stropts.h-data (ioctl): Likewise.
11022         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11023         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11024         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11025         (msghdr.msg_controllen): Likewise.
11026         (cmsghdr.cmsg_len): Likewise.
11027         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11028         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11029         variable.
11030         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11031         (test-xfail-XPG4/stropts.h/conform): Likewise.
11032         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11033         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11034         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11035         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11036         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11037         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11038         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11039         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11040         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11041         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11042         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11043         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11044         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11045         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11046         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11047         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11048         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11049         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11050         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11052 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11054         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11055         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11056         definitions for proper unfolding of __MATHDECL_VEC.
11058 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11060         * benchtests/bench-strcoll.c:
11061         Include string.h.
11062         (main): Remove unused variable res.
11064 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11066         * timezone/Makefile (%/UTC %/Universal):
11067         Generate test-result files for UTC and Universal.
11069 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11071         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11073 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11075         [BZ #16350]
11076         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11077         for arguments with small absolute value.
11078         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11079         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11080         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11081         (__asinh): Force underflow exception for arguments with small
11082         absolute value.
11083         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11084         (__asinhf): Force underflow exception for arguments with small
11085         absolute value.
11086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11087         (__asinhl): Force underflow exception for arguments with small
11088         absolute value.
11089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11090         (__asinhl): Force underflow exception for arguments with small
11091         absolute value.
11092         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11093         (__asinhl): Force underflow exception for arguments with small
11094         absolute value.
11095         * math/auto-libm-test-in: Do not mark underflow exceptions as
11096         possibly missing for bug 16350.
11097         * math/auto-libm-test-out: Regenerated.
11099         * include/bits/ipc.h: Remove file.
11100         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11101         variable.
11102         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11103         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11104         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11105         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11106         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11107         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11108         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11109         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11110         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11112         * math/auto-libm-test-in: Remove spurious underflow allowance for
11113         tests of cexp.
11114         * math/auto-libm-test-out: Regenerated.
11116         [BZ #18558]
11117         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11118         unconditional definition.
11119         (MCAST_BLOCK_SOURCE): Likewise.
11120         (MCAST_UNBLOCK_SOURCE): Likewise.
11121         (MCAST_LEAVE_GROUP): Likewise.
11122         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11123         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11124         (MCAST_MSFILTER): Likewise.
11125         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11126         Remove variable.
11127         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11128         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11129         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11130         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11131         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11133 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11135         * NEWS: Mention addition of x86_64 vector sincosf.
11136         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11137         * math/test-float-vlen4.h: Likewise.
11138         * math/test-float-vlen8.h: Likewise.
11139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11140         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11142         * sysdeps/x86_64/fpu/Versions: New versions added.
11143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11144         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11145         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11148         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11149         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11151         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11152         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11153         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11154         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11155         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11156         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11157         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11158         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11159         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11160         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11161         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11162         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11163         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11164         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11165         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11166         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11168         * NEWS: Mention addition of x86_64 vector sincos.
11169         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11170         * math/math.h (__MATHDECL_VEC): New macro.
11171         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11172         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11173         declaration under condition.
11174         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11175         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11176         TEST_VEC_LOOP change.
11177         * math/test-double-vlen4.h: Likewise.
11178         * math/test-double-vlen8.h: Likewise.
11179         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11180         * math/test-float-vlen4.h: Likewise.
11181         * math/test-float-vlen8.h: Likewise.
11182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11183         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11185         * sysdeps/x86_64/fpu/Versions: New versions added.
11186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11188         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11192         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11193         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11194         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11195         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11196         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11197         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11198         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11199         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11200         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11201         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11202         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11203         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11205         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11206         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11207         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11208         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11209         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11213         redirections for powf.
11214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11215         * sysdeps/x86_64/fpu/Versions: New versions added.
11216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11218         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11219         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11220         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11221         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11222         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11223         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11225         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11226         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11227         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11228         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11229         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11230         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11231         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11240         * math/test-float-vlen16.h: Fixed 2 argument macro.
11241         * math/test-float-vlen4.h: Likewise.
11242         * math/test-float-vlen8.h: Likewise.
11243         * NEWS: Mention addition of x86_64 vector powf.
11245 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11247         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11248         and redefine.
11249         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11250         and redefine.
11251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11252         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11255         [BZ #18553]
11256         * resource/getpriority.c (getpriority): Rename to __getpriority
11257         and define as weak alias of __getpriority.
11258         * resource/setpriority.c (setpriority): Rename to __setpriority
11259         and define as weak alias of __setpriority.
11260         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11261         __getpriority and define as weak alias of __getpriority.
11262         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11263         __setpriority and define as weak alias of __setpriority.
11264         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11265         strong name.
11266         (setpriority): Use __setpriority as strong name.
11267         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11268         __getpriority and define as weak alias of __getpriority.
11269         * include/sys/resource.h (__getpriority): Declare.  Use
11270         libc_hidden_proto.
11271         (__setpriority): Likewise.
11272         (getpriority): Don't use libc_hidden_proto.
11273         (setpriority): Likewise.
11274         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11275         getpriority.  Call __setpriority instead of setpriority.
11276         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11277         Remove variable.
11279         [BZ #18547]
11280         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11281         as weak alias of __getttynam.  Use prototype function definition.
11282         Call __setttyent, __getttyent and __endttyent instead of
11283         setttyent, getttyent and endttyent.
11284         (getttyent): Rename to __getttyent and define as weak alias of
11285         __getttyent.  Call __setttyent instead of setttyent.  Call
11286         __fgets_unlocked instead of fgets_unlocked.
11287         (setttyent): Rename to __setttyent and define as weak alias of
11288         __setttyent.
11289         (endttyent): Rename to __endttyent and define as weak alias of
11290         __endttyent.
11291         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11292         (__setttyent): Likewise.
11293         (__endttyent): Likewise.
11294         (getttyent): Don't use libc_hidden_proto.
11295         (setttyent): Likewise.
11296         (endttyent): Likewise.
11297         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11298         __endttyent instead of setttyent, getttyent and endttyent.
11299         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11300         Remove variable.
11302         [BZ #18546]
11303         * socket/recv.c (__recv): Use libc_hidden_def.
11304         * socket/socket.c (__socket): Likewise.
11305         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11306         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11307         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11308         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11309         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11310         libc_hidden_def.
11311         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11312         libc_hidden_weak.
11313         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11314         Use libc_hidden_proto.
11315         (__recv): Likewise.
11316         * socket/Versions (libc): Export __recv and __socket at version
11317         GLIBC_PRIVATE.
11318         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11319         instead of recv.
11320         (init_mq_netlink): Call __socket instead of socket.
11321         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11322         Remove variable.
11324         [BZ #18545]
11325         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11326         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11327         hidden_weak.
11328         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11329         define as alias of __mq_timedsend.  Use hidden_weak.
11330         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11331         __mq_timedsend as strong name.
11332         (mq_timedreceive): Use __mq_timedreceive as strong name.
11333         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11334         (__mq_timedreceive): Likewise.
11335         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11336         __mq_timedreceive instead of mq_timedreceive.
11337         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11338         instead of mq_timedsend.
11339         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11340         Remove variable.
11342         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11343         hidden_def and hidden_weak instead of libc_hidden_def and
11344         libc_hidden_weak.
11345         (top level): Refer to hidden_def in comment.
11346         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11347         macro.  Use it instead of libc_hidden_def.
11348         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11349         specify __GI_* name explicitly.
11350         (mq_timedreceive): Likewise.
11351         (mq_setattr): Likewise.
11353         [BZ #18544]
11354         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11355         __pthread_barrier_init and define as weak alias of
11356         __pthread_barrier_init.
11357         * sysdeps/sparc/nptl/pthread_barrier_init.c
11358         (pthread_barrier_init): Likewise.
11359         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11360         __pthread_barrier_wait and define as weak alias of
11361         __pthread_barrier_wait.
11362         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11363         (pthread_barrier_wait): Likewise.
11364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11365         (pthread_barrier_wait): Likewise.
11366         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11367         (pthread_barrier_wait): Likewise.
11368         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11369         (pthread_barrier_wait): Likewise.
11370         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11371         __pthread_barrier_wait at version GLIBC_PRIVATE.
11372         * include/pthread.h (__pthread_barrier_init): Declare.
11373         (__pthread_barrier_wait): Likewise.
11374         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11375         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11376         (helper_thread): Likewise.
11377         (init_mq_netlink): Call __pthread_barrier_init instead of
11378         pthread_barrier_init.
11380         [BZ #18542]
11381         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11382         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11383         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11384         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11385         vswscanf.
11386         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11387         Remove variable.
11389         [BZ #18540]
11390         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11391         strong alias of _IO_fflush.  Use libc_hidden_def.
11392         * libio/iofflush_u.c (fflush_unlocked): Rename to
11393         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11394         Use libc_hidden_weak.
11395         * include/stdio.h (__fflush_unlocked): Declare.  Use
11396         libc_hidden_proto.
11397         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11398         fflush_unlocked.
11399         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11400         Remove variable.
11402         [BZ #18539]
11403         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11404         define as weak alias of __addseverity.
11405         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11406         Remove variable.
11407         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11408         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11409         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11411         [BZ #18536]
11412         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11413         (__tfind): Likewise.
11414         (__tdelete): Likewise.
11415         (__twalk): Likewise.
11416         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11417         __twalk to GLIBC_PRIVATE.
11418         * include/search.h (__tsearch): Use libc_hidden_proto.
11419         (__tfind): Likewise.
11420         (__tdelete): Likewise.
11421         (__twalk): Likewise.
11422         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11423         Call __tdelete instead of tdelete.
11424         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11425         tfind.  Call __tsearch instead of tsearch.
11426         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11427         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11428         Remove variable.
11429         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11431         [BZ #18534]
11432         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11433         (dprintf): Define as a weak alias of __dprintf, not a strong
11434         alias.
11435         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11436         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11437         dprintf.
11438         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11439         Remove variable.
11440         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11441         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11443         [BZ #18533]
11444         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11445         not a strong alias.
11446         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11447         Remove variable.
11449         [BZ #18532]
11450         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11451         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11452         (in6addr_loopback): Rename to __in6addr_loopback and define as
11453         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11454         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11455         libc_hidden_proto.
11456         (__in6addr_any): Likewise.
11457         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11458         in6addr_any.
11459         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11460         variable.
11461         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11463 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11465         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11466         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11467         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11469         redirections for pow.
11470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11471         * sysdeps/x86_64/fpu/Versions: New versions added.
11472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11473         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11474         build of SSE, AVX2 and AVX512 IFUNC versions.
11475         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11477         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11478         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11479         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11480         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11482         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11483         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11484         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11485         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11486         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11487         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11489         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11492         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11494         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11495         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11496         * NEWS: Mention addition of x86_64 vector pow.
11498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11499         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11500         redirections for expf.
11501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11502         * sysdeps/x86_64/fpu/Versions: New versions added.
11503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11505         build of SSE, AVX2 and AVX512 IFUNC versions.
11506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11507         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11512         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11513         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11514         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11515         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11516         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11517         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11518         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11519         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11526         * NEWS: Mention addition of x86_64 vector expf.
11528         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11529         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11532         redirections for exp.
11533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11534         * sysdeps/x86_64/fpu/Versions: New versions added.
11535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11537         build of SSE, AVX2 and AVX512 IFUNC versions.
11538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11540         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11541         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11544         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11545         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11546         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11547         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11548         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11549         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11550         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11551         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11553         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11554         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11555         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11556         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11557         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11558         * NEWS: Mention addition of x86_64 vector exp.
11560         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11561         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11562         redirections for logf.
11563         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11564         * sysdeps/x86_64/fpu/Versions: New versions added.
11565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11566         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11567         build of SSE, AVX2 and AVX512 IFUNC versions.
11568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11573         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11574         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11575         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11576         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11577         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11578         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11579         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11580         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11581         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11582         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11583         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11584         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11585         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11586         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11587         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11588         * NEWS: Mention addition of x86_64 vector logf.
11590         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11591         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11594         redirections for log.
11595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11596         * sysdeps/x86_64/fpu/Versions: New versions added.
11597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11599         build of SSE, AVX2 and AVX512 IFUNC versions.
11600         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11601         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11602         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11603         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11604         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11605         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11606         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11607         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11608         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11609         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11610         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11611         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11612         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11613         test.
11614         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11617         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11618         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11619         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11620         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11621         * NEWS: Mention addition of x86_64 vector log.
11623 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11625         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11626         cfi_adjust_cfa_offset argument.
11627         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11628         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11630         [BZ #18034]
11631         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11632         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11633         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11634         ordering using ldar.
11635         (_dl_tlsdesc_dynamic): Likewise.
11636         (_dl_tlsdesc_return_lazy): Likewise.
11637         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11638         relaxed atomics instead of volatile and synchronize with release store.
11639         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11640         volatile.
11641         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11643 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11647         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11648         * sysdeps/x86_64/fpu/Versions: New versions added.
11649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11650         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11651         build of SSE, AVX2 and AVX512 IFUNC versions.
11652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11658         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11659         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11660         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11661         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11662         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11663         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11664         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11665         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11666         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11667         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11668         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11670         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11671         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11672         * NEWS: Mention addition of x86_64 vector sinf.
11674 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11676         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11677         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11678         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11679         Remove variable.
11680         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11681         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11683 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11685         [BZ #18530]
11686         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11687         strong alias of _IO_fputs.  Use libc_hidden_def.
11688         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11689         and define as weak alias of __fputs_unlocked.  Use
11690         libc_hidden_weak.
11691         * include/stdio.h (__fputs_unlocked): Declare.  Use
11692         libc_hidden_proto.
11693         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11694         fputs_unlocked.
11696         [BZ #18529]
11697         * resolv/netdb.h [__USE_POSIX]: Change condition to
11698         [__USE_XOPEN2K].
11699         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11700         not expect.
11701         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11702         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11703         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11704         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11705         [XPG4 || UNIX98] (AI_ALL): Likewise.
11706         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11707         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11708         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11709         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11710         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11711         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11712         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11713         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11714         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11715         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11716         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11717         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11718         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11719         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11720         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11721         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11722         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11723         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11724         [XPG4 || UNIX98] (gai_strerror): Likewise.
11725         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11726         [XPG4 || UNIX98] (getnameinfo): Likewise.
11728         [BZ #18528]
11729         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11730         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11731         __USE_XOPEN2K8].
11732         (getgrent): Likewise.
11733         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11734         expect.
11735         [XPG3 || POSIX2008] (endgrent): Likewise.
11736         [XPG3] (setgrent): Likewise.
11737         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11738         variable.
11739         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11741         [BZ #18527]
11742         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11743         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11744         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11745         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11746         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11747         * include/unistd.h (__getlogin_r): Declare.  Use
11748         libc_hidden_proto.
11749         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11750         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11751         variable.
11752         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11753         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11754         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11756 2015-06-12  Martin Sebor  <msebor@redhat.com>
11758         [BZ #18512]
11759         * Makerules (check-install-supported): New target.
11760         (install): Add check-install-supported as a dependency.
11761         * manual/install.texi (Installing the C Library): Document
11762         that overriding prefix and exec_prefix is not supported.
11763         Mention DESTDIR.
11764         * INSTALL: Regenerate from the above.
11766 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11768         [BZ #18519]
11769         * posix/Versions (libc): Export __libc_pread at version
11770         GLIBC_PRIVATE.
11771         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11772         instead of pread.
11773         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11774         variable.
11776         [BZ #18522]
11777         * misc/efgcvt_r.c
11778         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11779         (cvt_symbol): Use weak_alias instead of strong_alias.
11780         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11781         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11782         Remove variable.
11783         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11784         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11786         [BZ #18520]
11787         * inet/herrno.c (h_errno): Rename to __h_errno.
11788         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11789         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11790         to __h_errno instead of h_errno.
11791         * nptl/herrno.c (h_errno): Rename to __h_errno.
11792         (__h_errno_location): Refer to __h_errno not h_errno.
11793         * resolv/Versions (h_errno): Rename to __h_errno.
11794         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11795         Remove variable.
11796         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11798 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11800         * configure.ac: More strict check for AVX512 assembler support.
11801         * configure: Regenerated.
11803         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11804         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11806         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11808         * sysdeps/x86_64/fpu/Versions: New versions added.
11809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11811         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11817         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11818         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11819         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11820         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11821         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11822         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11823         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11825         test.
11826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11833         * NEWS: Mention addition of x86_64 vector sin.
11835 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11837         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11838         comment.
11840 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11842         [BZ #18479]
11843         * nptl/pt-interp.c: New file.
11844         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11845         Add pt-interp.
11846         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11847         $(common-objpfx)runtime-linker.h.
11849 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11851         * Makeconfig (+interp): Remove unused variable.
11852         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11853         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11854         $(elf-objpfx)runtime-linker.h.
11855         ($(elf-objpfx)runtime-linker.h): Rename to
11856         $(common-objpfx)runtime-linker.h and move ...
11857         * Makerules [$(build-shared) = yes]: ... here.
11858         * elf/interp.c: Include <runtime-linker.h> instead of
11859         <elf/runtime-linker.h>.
11861 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11863         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11864         (__gettimeofday_syscall): Remove vsyscall fallback.
11865         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11866         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11867         Add syscall fallback function.
11868         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11869         if vDSO is not present.
11870         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11871         fallback function.
11872         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11873         present.
11874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11875         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11877 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11879         [BZ #18497]
11880         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11881         of wcscmp.
11882         (wcscmp): Define as weak alias of WCSCMP.
11883         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11884         wcscoll.
11885         (USE_HIDDEN_DEF): Define.
11886         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11887         __wcscoll.  Don't use libc_hidden_weak.
11888         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11889         wcscmp.
11890         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11891         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11892         __GI_wcscmp.
11893         (weak_alias): Undefine and redefine.
11894         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11895         __wcscmp and define as weak alias of __wcscmp.
11896         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11897         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11898         (__wcscoll): Likewise.
11899         (wcscmp): Don't use libc_hidden_proto.
11900         (wcscoll): Likewise.
11901         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11902         wcscoll.
11903         * posix/regexec.c (check_node_accept_bytes): Likewise.
11904         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11905         variable.
11906         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11907         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11909         [BZ #18507]
11910         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11911         __fstatvfs and define as weak alias of __fstatvfs.  Use
11912         libc_hidden_weak.
11913         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11914         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11915         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11916         Define as alias of __fstatvfs, not fstatvfs.
11917         (fstatvfs64): Likewise.
11918         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11919         Define as alias of __statvfs, not statvfs.
11920         (statvfs64): Likewise.
11921         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11922         Remove variable.
11924 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11927         (HAVE_GETCPU_VSYSCALL): Define.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11929         (HAVE_GETCPU_VSYSCALL): Likewise.
11930         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11931         * sysdeps/unix/sysv/linux/sched_getcpu.c
11932         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11933         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11935         prototype.
11936         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11937         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11938         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11940         Define.
11941         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11942         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11943         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11946 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11948         * sysdeps/x86_64/fpu/Makefile: New file.
11949         * sysdeps/x86_64/fpu/Versions: New file.
11950         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11951         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11952         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11953         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11954         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11955         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11956         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11958         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11966         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11967         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11968         * sysdeps/x86_64/configure: Regenerated.
11969         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11971         * manual/install.texi (Configuring and compiling): Document
11972         --disable-mathvec.
11973         * INSTALL: Regenerated.
11974         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11976         * math/Makefile: Added rules for vector tests.
11977         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11978         declaration under condition.
11979         * math/test-double-vlen2.h: New file.
11980         * math/test-double-vlen4.h: New file.
11981         * math/test-double-vlen8.h: New file.
11982         * math/test-vec-loop.h: Added initialization macro.
11983         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11985         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11986         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11987         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11990         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11991         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11992         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11993         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11996         * sysdeps/x86_64/fpu/Versions: New versions added.
11997         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12000         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12001         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12004         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12006         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12007         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12008         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12009         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12011         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12013         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12014         * NEWS: Mention addition of x86_64 vector cosf.
12016         * math/Makefile: Added CFLAGS for new tests.
12017         * math/test-float-vlen16.h: New file.
12018         * math/test-float-vlen4.h: New file.
12019         * math/test-float-vlen8.h: New file.
12020         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12021         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12024         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12026         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12030         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12032 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12034         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12035         * locale/programs/ld-ctype.c: Likewise.
12037 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12040         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12041         bit_ZMM16_31_state): New macro.
12042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12043         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12045 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12047         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12049 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12051         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12053 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12055         [BZ #18498]
12056         * libio/memstream.c (open_memstream): Rename to __open_memstream
12057         and define as weak alias of __open_memstream.
12058         * include/stdio.h (__open_memstream): Declare.  Use
12059         libc_hidden_proto.
12060         (open_memstream): Don't use libc_hidden_proto.
12061         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12062         open_memstream.
12063         * posix/getopt.c (_getopt_internal_r): Likewise.
12064         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12065         variable.
12066         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12067         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12068         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12070         [BZ #18496]
12071         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12072         instead of wcrtomb.
12074         [BZ #18483]
12075         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12076         [__USE_XOPEN2K8].  Remove redundant #endif.
12077         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12078         Remove redundant #if.
12079         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12080         Remove variable.
12081         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12082         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12084         [BZ #18495]
12085         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12086         (__iswlower): Likewise.
12087         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12088         (__iswlower): Likewise.
12089         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12090         instead of towlower.
12091         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12092         instead of iswlower.  Call __towupper instead of towupper.
12093         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12094         instead of iswalnum.
12096 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12098         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12099         errors to stderr.
12101 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12103         [BZ #15661]
12104         [BZ #17322]
12105         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12106         Check for overflow properly.  Check for O_APPEND.  Ignore large
12107         file system block sizes.  Add comments about problems.
12108         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12109         * manual/filesys.texi (Storage Allocation): New node.
12111 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12113         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12114         cancellable syscalls.
12115         (SYS_ify): Add guard to no redefine it.
12116         (INLINE_SYSCALL): Likewise.
12117         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12118         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12119         SYSCALL_CANCEL instead.
12120         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12121         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12122         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12123         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12124         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12125         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12126         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12127         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12128         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12129         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12130         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12131         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12132         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12133         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12134         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12138         (__libc_pread64): Likewise.
12139         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12140         (__libc_preadv): Likewise.
12141         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12142         (__libc_readv64): Likewise.
12143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12144         (__libc_pwrite): Likewise.
12145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12146         (__libc_pwrite64): Likewise.
12147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12148         (__libc_pwritev): Likewise.
12149         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12150         (__libc_pwritev64): Likewise.
12151         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12152         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12153         (sync_file_range): Likewise.
12154         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12155         Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12159         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12160         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12161         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12162         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12163         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12164         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12165         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12167         Likewise.
12168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12169         (__libc_read64): Likewise.
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12171         Likewise.
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12177         Likewise.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12179         (__libc_pread64): Likewise.
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12181         Likewise.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12183         (__libc_pwrite64): Likewise.
12184         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12185         (sync_file_range): Likewise.
12186         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12187         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12188         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12189         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12190         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12191         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12192         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12193         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12194         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12195         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12196         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12197         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12198         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12199         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12200         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12201         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12202         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12203         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12205         Likewise.
12206         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12209         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12210         Likewise.
12211         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12212         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12213         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12214         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12215         Likewise.
12216         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12217         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12218         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12219         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12220         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12222 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12224         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12225         Include dl-vdso.
12226         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12227         Use VDSO routines for gettimeofday, clock_gettime if
12228         available.
12229         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12230         Declare VDSO symbols.
12231         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12232         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12233         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12234         * sysdeps/unix/sysv/linux/arm/Versions: Add
12235         __vdso_clock_gettime.
12237 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12239         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12240         be an inline implementation regardless of library is built within.
12241         (open_not_cancel_2): Likewise.
12242         (__read_nocancel): Likewise.
12243         (__write_nocancel): Likewise.
12244         (openat_not_cancel): Likewise.
12245         (openat_not_cancel_3): Likewise.
12246         (openat64_not_cancel): Likewise.
12247         (openat64_not_cancel_3): Likewise.
12248         (__close_nocancel): Likewise.
12249         (pause_not_cancel): Likewise.
12250         (nanosleep_not_cancel): Likewise.
12251         (sigsuspend_not_cancel): Likewise.
12253 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12255         [BZ #14958]
12256         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12257         wake-up.
12258         (__pthread_rwlock_rdlock_slow): Likewise.
12259         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12260         Likewise.
12261         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12262         Likewise.
12263         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12264         * nptl/tst-rwlock16.c: New file.
12265         * nptl/Makefile (tests): Add new test.
12267 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12269         [BZ #18324]
12270         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12271         missing wake-up of readers.
12272         * nptl/tst-rwlock15.c: New file.
12273         * nptl/Makefile (tests): Add new test.
12275 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12277         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12278         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12279         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12280         and __nacl_supply_interface_rtld.
12281         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12282         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12283         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12284         Add __nacl_supply_interface_rtld.
12285         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12287 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12290         isfinite.
12291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12292         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12294 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12296         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12297         __signbit* with standard C99 macros.
12298         * math/e_exp10l.c: Likewise.
12299         * math/e_exp2l.c: Likewise.
12300         * math/e_scalb.c: Likewise.
12301         * math/e_scalbf.c: Likewise.
12302         * math/e_scalbl.c: Likewise.
12303         * math/s_ldexp.c: Likewise.
12304         * math/s_ldexpf.c: Likewise.
12305         * math/s_ldexpl.c: Likewise.
12306         * math/w_atan2.c: Likewise.
12307         * math/w_atan2f.c: Likewise.
12308         * math/w_atan2l.c: Likewise.
12309         * math/w_cosh.c: Likewise.
12310         * math/w_coshf.c: Likewise.
12311         * math/w_coshl.c: Likewise.
12312         * math/w_exp10.c: Likewise.
12313         * math/w_exp10f.c: Likewise.
12314         * math/w_exp10l.c: Likewise.
12315         * math/w_exp2.c: Likewise.
12316         * math/w_exp2f.c: Likewise.
12317         * math/w_exp2l.c: Likewise.
12318         * math/w_fmod.c: Likewise.
12319         * math/w_fmodf.c: Likewise.
12320         * math/w_fmodl.c: Likewise.
12321         * math/w_hypot.c: Likewise.
12322         * math/w_hypotf.c: Likewise.
12323         * math/w_hypotl.c: Likewise.
12324         * math/w_jnl.c: Likewise.
12325         * math/w_lgamma.c: Likewise.
12326         * math/w_lgamma_r.c: Likewise.
12327         * math/w_lgammaf.c: Likewise.
12328         * math/w_lgammaf_r.c: Likewise.
12329         * math/w_lgammal.c: Likewise.
12330         * math/w_lgammal_r.c: Likewise.
12331         * math/w_pow.c: Likewise.
12332         * math/w_powf.c: Likewise.
12333         * math/w_powl.c: Likewise.
12334         * math/w_remainder.c: Likewise.
12335         * math/w_remainderf.c: Likewise.
12336         * math/w_remainderl.c: Likewise.
12337         * math/w_scalb.c: Likewise.
12338         * math/w_scalbf.c: Likewise.
12339         * math/w_scalbl.c: Likewise.
12340         * math/w_scalbln.c: Likewise.
12341         * math/w_scalblnf.c: Likewise.
12342         * math/w_scalblnl.c: Likewise.
12343         * math/w_sinh.c: Likewise.
12344         * math/w_sinhf.c: Likewise.
12345         * math/w_sinhl.c: Likewise.
12346         * math/w_tgamma.c: Likewise.
12347         * math/w_tgammaf.c: Likewise.
12348         * math/w_tgammal.c: Likewise.
12349         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12350         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12351         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12352         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12353         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12355         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12356         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12357         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12358         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12359         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12360         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12362         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12363         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12364         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12366         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12367         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12370         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12374         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12375         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12376         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12377         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12378         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12379         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12380         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12381         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12382         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12383         * stdio-common/printf_fp.c: Likewise.
12384         * stdio-common/printf_fphex.c: Likewise.
12385         * stdio-common/printf_size.c: Likewise.
12387 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12389         [BZ #18470]
12390         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12391         strnlen.
12392         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12393         Remove variable.
12394         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12395         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12396         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12397         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12398         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12399         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12400         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12401         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12402         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12403         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12405         [BZ #18468]
12406         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12407         weak alias of __wmemchr.  Use libc_hidden_weak.
12408         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12409         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12410         instead of wmemchr.
12412 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12414         [BZ #18383]
12415         * elf/tst-tlsalign-extern.c: New file.
12416         * elf/tst-tlsalign-extern-static.c: New file.
12417         * elf/tst-tlsalign-vars.c: New file.
12418         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12419         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12420         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12421         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12422         (test-xfail-tst-tlsalign-extern-static): New variable.
12424 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12426         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12427         Use variable name _sc_err instead of err.
12428         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12429         instead of ret.
12430         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12431         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12432         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12433         (INLINE_SYSCALL): Likewise.
12435         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12436         * include/string.h (__strnlen): Use libc_hidden_proto.
12437         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12438         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12439         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12441         (libc_hidden_def): Undefine and redefine.
12442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12443         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12444         __GI_strnlen.
12445         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12446         libc_hidden_def.
12447         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12449         [BZ #18469]
12450         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12451         weak alias of __towlower.  Use libc_hidden_weak.
12452         (towupper): Rename to __towupper and define as weak alias of
12453         __towupper.  Use libc_hidden_weak.
12454         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12455         (__towupper): Likewise.
12456         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12457         __towlower instead of towlower.
12459 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12461         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12462         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12464 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12466         * sysdeps/aarch64/libm-test-ulps: Update.
12468 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12470         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12471         Define.
12472         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12474         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12475         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12476         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12477         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12478         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12480 2015-06-01  Martin Sebor  <msebor@redhat.com>
12482         [BZ #18116]
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12484         (__setcontext): Use extended four-operand version of mtsf whenever
12485         possible.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12487         (__novec_swapcontext): Likewise.
12489 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12491         * benchtests/scripts/compare_bench.py: New file.
12492         * benchtests/scripts/import_bench.py (mean): New function.
12493         (split_list): Likewise.
12494         (do_for_all_timings): Likewise.
12495         (compress_timings): Likewise.
12497         * benchtests/scripts/import_bench.py: New file.
12498         * benchtests/scripts/validate_benchout.py: Import import_bench
12499         instead of jsonschema.
12500         (validate_bench): Remove function.
12501         (main): Use import_bench.
12503 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12506         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12508 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12512 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12514         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12515         set THREAD_SELF->tid to a magic value and futex-wake it.
12516         Pass its address to the thread_exit system call.
12517         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12518         bit is clear.
12519         * sysdeps/nacl/lowlevellock.h: New file.
12520         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12522         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12523         Add TIMEOUT to current time, don't subtract it.
12525 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12527         [BZ #2981]
12528         [BZ #18422]
12529         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12530         ($(objpfx)tst-audit2.out): Also depend on
12531         $(objpfx)tst-auditmod9b.so.
12532         * elf/tst-audit2.c: Include <dlfcn.h>.
12533         (calloc_called): New.
12534         (calloc): Allow to be called more than once.
12535         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12537 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12539         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12540         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12542 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12544         * stdlib/monetary.h: Fix comment.
12546 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12548         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12549         Avoid using variables in #defines that might cause shadowing.
12550         (INTERNAL_VSYSCALL_CALL): Likewise.
12552 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12554         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12556         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12557         * nptl/lll_timedlock_wait.c: ... to this new file.
12558         * nptl/Makefile (libpthread-routines): Add it.
12559         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12560         * nptl/lll_timedwait_tid.c: ... to this new file.
12561         * nptl/Makefile (libpthread-routines): Add it.
12562         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12563         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12564         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12565         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12566         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12567         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12568         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12569         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12570         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12571         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12573 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12575         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12576         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12577         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12579         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12581         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12583         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12584         * sysdeps/unix/sysv/linux/tile/sysdep.h
12585         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12586         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12587         using vDSO syscall macro.
12589 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12591         [BZ #17293]
12592         * uk_UA: Fix sorting order for Ukrainian locale
12594 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12596         * stdlib/monetary.h: Fix comment.
12598 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12600         [BZ #18234]
12601         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12602         st_mtim and st_ctim members.
12603         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12604         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12605         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12606         (struct stat64): Likewise.
12607         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12608         (struct stat64): Likewise.
12609         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12610         (struct stat64): Likewise.
12612 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12614         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12615         Define and include sysdep-vdso.h.
12616         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12619         Likewise.
12620         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12621         Define with VDSO_SYMBOL and use PTR_MANGLE.
12622         (__vdso_clock_gettime): Likewise.
12623         (__vdso_clock_getres): Likewise.
12624         (_libc_vdso_platform_setup): Likewise.
12625         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12626         Likewise.
12627         (_libc_vdso_platform_setup): Likewise.
12628         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12629         Likewise.
12630         (__vdso_clock_gettime): Likewise.
12631         (__vdso_clock_getres): Likewise.
12632         (__vdso_get_tbfreq): Likewise.
12633         (__vdso_getcpu): Likewise.
12634         (__vdso_time): Likewise.
12635         (__vdso_sigtramp_rt64): Likewise.
12636         (__vdso_signtramp32): Likewise.
12637         (__vdso_sigtramp_rt32): Likewise.
12638         (_libc_vdso_platform_setup): Likewise.
12639         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12640         Likewise.
12641         (__vdso_clock_gettime): Likewise.
12642         (__vdso_clock_getres): Likewise.
12643         (_libc_vdso_platform_setup): Likewise.
12644         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12645         Likewise.
12646         (__vdso_clock_gettime): Likewise.
12647         (_libc_vdso_platform_setup): Likewise.
12648         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12649         Likewise.
12650         (__vdso_getcpu): Likewise.
12651         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12652         Use VDSO_SYMBOL macro to define.
12653         (__vdso_clock_gettime): Likewise.
12654         (__vdso_clock_getres): Likewise.
12655         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12656         Likewise.
12657         (__vdso_clock_gettime): Likewise.
12658         (__vdso_clock_getres): Likewise.
12659         (__vdso_get_tbfreq): Likewise.
12660         (__vdso_getcpu): Likewise.
12661         (__vdso_time): Likewise.
12662         (__vdso_sigtramp_rt64): Likewise.
12663         (__vdso_signtramp32): Likewise.
12664         (__vdso_sigtramp_rt32): Likewise.
12665         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12666         Likewise.
12667         (__vdso_clock_gettime): Likewise.
12668         (__vdso_clock_getres): Likewise.
12669         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12670         Likewise.
12671         (__vdso_clock_gettime): Likewise.
12672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12673         Likewise.
12674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12675         macro.
12676         (INTERNAL_VSYSCALL): Likewise.
12677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12678         Remove macro.
12679         (INTERNAL_VSYSCALL): Likewise.
12680         (INTERNAL_VSYSCALL_NCS): Likewise.
12681         (INTERNAL_VSYSCALL_CALL): New macro.
12682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12684         Likewise.
12685         (INTERNAL_VSYSCALL): Likewise.
12686         (INTERNAL_VSYSCALL_NCS): Likewise.
12687         (INTERNAL_VSYSCALL_CALL): New macro.
12688         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12690         (INLINE_VSYSCALL): Remove macro.
12691         (INTERNAL_VSYSCALL): Remove macro.
12692         (INTERNAL_VSYSCALL_NCS): Remove macro.
12693         (INTERNAL_VSYSCALL_CALL): New macro.
12694         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12696         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12697         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12698         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12700         (INLINE_VSYSCALL): Remove macro.
12701         (INTERNAL_VSYSCALL): Likewise.
12702         (INTERNAL_VSYSCALL_NCS): Likewise.
12703         (INTERNAL_VSYSCALL_CALL): New macro.
12704         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12706         PTR_DEMANGLE on vDSO pointer.
12707         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12708         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12709         macro.
12710         (INTERNAL_SYSCALL): Likewise.
12711         (INTERNAL_VSYSCALL_NCS): Remove macro.
12712         (INTERNAL_VSYSCALL_CALL): New macro.
12713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12714         Remove macro.
12715         (INTERNAL_VSYSCALL): Likewise.
12716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12717         sysdep-vdso.h instead of libc-vdso.h.
12718         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12719         definition.
12720         (INLINE_VSYSCALL): Likewise.
12721         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12722         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12723         definition.
12724         (INLINE_VSYSCALL): Likewise.
12725         (INTERNAL_VSYSCALL): Likewise.
12726         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12727         * sysdeps/unix/sysv/linux/timespec_get.c
12728         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12729         (timespec_get): Use ANSI prototype.
12730         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12731         and definition for Linux.
12733 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12735         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12736         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12738 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12740         [BZ #2981]
12741         [BZ #18410]
12742         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12743         for missing DT_PLTRELSZ.
12745 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12747         Remove obsolete aliases that broke 'locale -a'
12748         [BZ #18412]
12749         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12750         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12751         breaking some applications that use 'locale -a' output.
12752         Change the encoding of this file from Latin-1 to ASCII to avoid
12753         other potential problems with people grepping this file.
12755 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12757         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12758         -fasynchronous-unwind-tables.
12759         (CFLAGS-sendto.c): Likewise.
12760         (CFLAGS-sendmsg.c): Likewise.
12761         (CFLAGS-connect.c): Likewise.
12762         (CFLAGS-recvmsg.c): Likewise.
12763         (CFLAGS-recvfrom.c): Likewise.
12764         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12765         (SOCKETCALL): New macro: non-cancellable socketcall.
12766         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12768         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12769         * sysdeps/unix/sysv/linux/accept.c: New file.
12770         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12771         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12772         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12773         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12774         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12775         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12776         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12777         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12778         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12779         * sysdeps/unix/sysv/linux/send.c: Likewise.
12780         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12781         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12782         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12783         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12784         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12785         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12786         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12787         prototype.
12788         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12789         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12790         instead of __internal_xxx function.
12791         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12792         prototype.
12793         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12794         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12795         instead of __internal_xxx function.
12796         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12797         prototype.
12798         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12799         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12800         instead of __internal_xxx function.
12801         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12802         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12803         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12804         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12805         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12806         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12807         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12808         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12809         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12810         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12811         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12812         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12813         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12814         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12815         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12816         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12817         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12818         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12819         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12820         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12823         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12824         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12825         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12826         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12827         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12828         * sysdeps/unix/sysv/linux/send.S: Likewise.
12829         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12830         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12831         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12832         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12833         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12834         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12835         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12836         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12837         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12838         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12839         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12840         socketcall is implemented in GLIBC.
12842 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12844         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12845         (__fma): Ignore uninitialized warnings around packing.
12846         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12847         (__fmaf): Ignore uninitialized warnings around packing.
12848         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12849         (__fmal): Ignore uninitialized warnings around packing.
12851         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12852         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12854         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12856         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12857         switch statement into default case.
12858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12860         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12861         a conditional in forcing "inexact".
12862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12863         Likewise.
12865 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12867         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12868         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12869         for each INTERNAL_SYSCALL use.
12871 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12873         [BZ #438]
12874         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12875         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12876         variable.
12878         [BZ #18444]
12879         * string/basename.c (basename): Rename to __basename and define as
12880         weak alias of __basename.  Use libc_hidden_weak.
12881         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12882         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12883         __basename instead of basename.
12884         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12885         Remove variable.
12886         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12888 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12890         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12891         (_IO_JUMPS_FILE_plus): New.
12892         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12893         _IO_CAST_FIELD_ACCESS.
12894         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12895         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12896         * libio/freopen.c (freopen): Likewise.
12897         * libio/freopen64.c (freopen64): Likewise.
12898         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12899         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12900         * libio/iofwide.c (_IO_fwide): Likewise.
12901         * libio/memstream.c (open_memstream): Likewise.
12902         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12903         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12904         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12906 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12908         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12909         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12910         NADJ.
12911         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12912         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12913         NADJ.
12914         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12915         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12916         NADJ.
12918         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12919         (p == 4) case.
12921         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12922         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12923         Remove variable.
12924         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12925         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12926         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12928 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12930         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12931         Adjust jump table label generation macros.
12933 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12935         * stdio-common/vfprintf.c (vfprintf): Move local variables
12936         args_malloced, specs, specs_malloced, and the code after
12937         do_positional to the printf_positional function.
12938         (printf_positional): New function.
12940 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12942         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12943         function.
12944         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12945         STEP4_TABLE, process_arg): Move macro definitions
12946         out of the vfprintf function.  (Cosmetic change only.)
12948 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12950         * benchtests/Makefile (stdio-common-bench): Define.
12951         (benchset): Add stdio-common-bench.
12952         * sprintf-inputs: New file.
12953         * sprintf-source.c: New file.
12955 2015-05-21  Andreas Schwab  <schwab@suse.de>
12957         [BZ #13028]
12958         [BZ #17053]
12959         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12960         of struct __res_state.
12961         * resolv/res_send.c (__libc_res_nsend): Likewise.
12962         (get_nsaddr): New function.
12963         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12964         statp directly.
12966 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12968         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12969         -D_POSIX_C_SOURCE=199506L.
12971         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12973         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12974         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12975         Do not mention otherwise.
12976         [POSIX] (_XOPEN_VERSION): Do not expect.
12977         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12978         [POSIX] (_POSIX2_C_BIND): Likewise.
12979         [POSIX] (_POSIX2_VERSION): Likewise.
12980         [POSIX] (_XOPEN_XPG2): Likewise.
12981         [POSIX] (_XOPEN_XPG3): Likewise.
12982         [POSIX] (_XOPEN_XPG4): Likewise.
12983         [POSIX] (_XOPEN_UNIX): Likewise.
12984         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12985         [POSIX] (_POSIX_BARRIERS): Likewise.
12986         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12987         [POSIX] (_POSIX_CPUTIME): Likewise.
12988         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12989         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12990         [POSIX] (_POSIX_SHELL): Likewise.
12991         [POSIX] (_POSIX_SPAWN): Likewise.
12992         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12993         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12994         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12995         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12996         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12997         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12998         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12999         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13000         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13001         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13002         [POSIX] (_POSIX2_PBS): Likewise.
13003         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13004         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13005         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13006         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13007         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13008         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13009         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13010         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13011         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13012         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13013         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13014         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13015         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13016         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13017         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13018         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13019         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13020         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13021         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13022         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13023         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13024         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13025         [POSIX] (_SC_2_C_BIND): Likewise.
13026         [POSIX] (_SC_2_C_VERSION): Likewise.
13027         [POSIX] (_SC_2_PBS): Likewise.
13028         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13029         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13030         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13031         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13032         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13033         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13034         [POSIX] (_SC_BARRIERS): Likewise.
13035         [POSIX] (_SC_BASE): Likewise.
13036         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13037         [POSIX] (_SC_DEVICE_IO): Likewise.
13038         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13039         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13040         [POSIX] (_SC_FD_MGMT): Likewise.
13041         [POSIX] (_SC_FIFO): Likewise.
13042         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13043         [POSIX] (_SC_FILE_LOCKING): Likewise.
13044         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13045         [POSIX] (_SC_IOV_MAX): Likewise.
13046         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13047         [POSIX] (_SC_NETWORKING): Likewise.
13048         [POSIX] (_SC_PAGE_SIZE): Likewise.
13049         [POSIX] (_SC_PASS_MAX): Likewise.
13050         [POSIX] (_SC_PIPE): Likewise.
13051         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13052         [POSIX] (_SC_REGEXP): Likewise.
13053         [POSIX] (_SC_SHELL): Likewise.
13054         [POSIX] (_SC_SIGNALS): Likewise.
13055         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13056         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13057         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13058         [POSIX] (_SC_USER_GROUPS): Likewise.
13059         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13060         [POSIX] (_SC_STREAMS): Likewise.
13061         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13062         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13063         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13064         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13065         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13066         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13067         [POSIX] (_PC_FILESIZEBITS): Likewise.
13068         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13069         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13070         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13071         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13072         [POSIX] (uid_t): Likewise.
13073         [POSIX] (gid_t): Likewise.
13074         [POSIX] (off_t): Likewise.
13075         [POSIX] (pid_t): Likewise.
13076         [POSIX] (cuserid): Allow.
13077         (_SC_2_CHAR_TERM): Require constant.
13078         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13079         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13080         variable.
13082 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13084         * sysdeps/nacl/pthread-pids.h: New file.
13085         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13086         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13088         * nptl/pthread-pids.h: New file.
13089         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13090         * nptl/nptl-init.c: Include <pthread-pids.h>.
13091         (__pthread_initialize_minimal_internal):
13092         Call __pthread_initialize_pids instead of set_tid_address syscall.
13094         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13095         * sysdeps/posix/usleep.c: ... here.
13097 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13099         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13100         call_pselect6 object.
13101         [$(subdir) = io]: Remove call_sync_file_range object.
13102         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13104         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13105         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13107 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13109         * math/s_cproj.c: Add include "math_private.h".
13110         * math/s_cprojf.c: Likewise.
13111         * math/s_cprojl.c: Likewise.
13113 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13115         [BZ #18244]
13116         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13117         high mantissa bit when testing whether P is a NaN.
13118         * math/libm-test.inc (remainder_test_data): Add more tests.
13119         (remquo_test_data): Likewise.
13121         [BZ #18049]
13122         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13123         below -32, return the argument, with underflow if subnormal.
13124         * math/auto-libm-test-in: Add more tests of atanh.
13125         * math/auto-libm-test-out: Regenerated.
13127 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13129         [BZ #18434]
13130         * nptl/tst-sem15.c: New file.
13131         * nptl/Makefile (tests): Add it.
13132         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13133         s/<</>>/ to fix typo in EOVERFLOW check.
13134         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13136 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13138         * manual/strings.texi (envz_remove): Fix typo in safety
13139         annotations.
13141 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13142             Steve Ellcey  <sellcey@imgtec.com>
13144         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13145         in order to avoid strict alias warnings.
13146         (iruserok_af): Ditto for ra.
13148 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13150         [BZ #17581]
13151         * malloc/hooks.c
13152         (magicbyte): Convert to a function and avoid returning 0x01.
13153         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13154         (mem2chunk_check): Fix unsigned comparisons to zero.
13155         Hoist defs of sz and magic.
13157 2015-05-19  Richard Henderson  <rth@redhat.com>
13159         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13161         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13163 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         [BZ #16159]
13166         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13167         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13168         (reused_arena): Find a non-corrupt arena.
13169         (heap_trim): Pass arena to unlink.
13170         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13171         malloc_printerr.
13172         (top_check): Likewise.
13173         (free_check): Likewise.
13174         (realloc_check): Likewise.
13175         * malloc/malloc.c (malloc_printerr): Add arena argument.
13176         (unlink): Likewise.
13177         (munmap_chunk): Adjust.
13178         (ARENA_CORRUPTION_BIT): New macro.
13179         (arena_is_corrupt): Likewise.
13180         (set_arena_corrupt): Likewise.
13181         (sysmalloc): Use mmap if there are no usable arenas.
13182         (_int_malloc): Likewise.
13183         (__libc_malloc): Don't fail if arena_get returns NULL.
13184         (_mid_memalign): Likewise.
13185         (__libc_calloc): Likewise.
13186         (__libc_realloc): Adjust for additional argument to
13187         malloc_printerr.
13188         (_int_free): Likewise.
13189         (malloc_consolidate): Likewise.
13190         (_int_realloc): Likewise.
13191         (_int_memalign): Don't touch corrupt arenas.
13192         * malloc/tst-malloc-backtrace.c: New test case.
13194         * Makefile (summarize-tests): Fix return value on success.
13196         * manual/string.texi (Envz Functions): Add envz_remove.
13198 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13200         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13201         (invalid_name): New function, broken out of ...
13202         (__opendirat): ... here.  Call it.
13203         (need_isdir_precheck): New function, broken out of ...
13204         (__opendirat): ... here.  Call it.
13205         Use __fxstatat64, not __xstatat64.
13206         (opendir_oflags): New function, broken out of ...
13207         (__opendirat): ... here.  Call it.
13208         (opendir_tail): New function, broken out of ...
13209         (__opendirat): ... here.  Call it.
13210         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13211         opendir_tail, rather than punting to __opendirat.
13212         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13214 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13216         * .gitignore: Ignore generated *.pyc.
13218 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13220         * include/stdio.h: Define __need_wint_t.
13221         * test-skeleton.c: Avoid `for' loop initial declaration.
13222         * nptl/tst-initializers1.c: Use test-skeleton.c.
13224 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13226         [BZ #18418]
13227         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13229 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13231         [BZ #16352]
13232         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13233         (__ieee754_atanh): Force underflow exception for results with
13234         small absolute value.
13235         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13236         (__ieee754_atanhf): Force underflow exception for results with
13237         small absolute value.
13238         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13239         (__ieee754_atanh): Force underflow exception for results with
13240         small absolute value.
13241         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13242         (__ieee754_atanhf): Force underflow exception for results with
13243         small absolute value.
13244         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13245         (__ieee754_atanhl): Force underflow exception for results with
13246         small absolute value.
13247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13248         (__ieee754_atanhl): Force underflow exception for results with
13249         small absolute value.
13250         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13251         (__ieee754_atanhl): Force underflow exception for results with
13252         small absolute value.
13253         * math/auto-libm-test-in: Do not allow missing underflow
13254         exceptions from atanh.
13255         * math/auto-libm-test-out: Regenerated.
13257         [BZ #18221]
13258         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13259         2**-28 as threshold for returning x or +/- 1/x.
13260         * math/auto-libm-test-in: Add more tests of tan.
13261         * math/auto-libm-test-out: Regenerated.
13263         [BZ #18220]
13264         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13265         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13266         * math/auto-libm-test-in: Add another test of lgamma.
13267         * math/auto-libm-test-out: Regenerated.
13269 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13271         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13272         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13273         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13274         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13275         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13276         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13277         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13278         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13279         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13280         (log1): Use fabs.  (my_log2): Use fabs.
13281         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13282         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13284         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13286         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13287         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13288         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13289         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13290         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13291         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13293 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13295         [BZ #18217]
13296         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13297         as threshold for returning 1 - x.
13298         * math/auto-libm-test-in: Add more tests of erfc.
13299         * math/auto-libm-test-out: Regenerated.
13301 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13303         [BZ #18196]
13304         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13305         threshold for large arguments.
13306         * math/auto-libm-test-in: Add another test of atan.
13307         * math/auto-libm-test-out: Regenerated.
13309         [BZ #16339]
13310         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13311         (__log1p): Force underflow exception for results with small
13312         absolute value.
13313         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13314         (__log1pf): Force underflow exception for results with small
13315         absolute value.
13316         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13317         (__log1p): Force underflow exception for results with small
13318         absolute value.
13319         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13320         (__log1pf): Force underflow exception for results with small
13321         absolute value.
13322         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13323         (__log1pl): Force underflow exception for results with small
13324         absolute value.
13325         * math/auto-libm-test-in: Do not allow missing underflow
13326         exceptions from log1p.
13327         * math/auto-libm-test-out: Regenerated.
13329 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13330             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13332         [BZ #16704]
13333         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13335 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13337         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13338         (libmvec): New variable.
13339         * configure.ac: Added option for mathvec build.
13340         * configure: Regenerated.
13341         * mathvec/Depend: New file.
13342         * mathvec/Makefile: New file.
13343         * shlib-versions: Added libmvec.
13344         * math/Makefile: Added rule for libm.so installation.
13346         * bits/math-vector.h: New file.
13347         * bits/libm-simd-decl-stubs.h: New header.
13348         * math/Makefile (headers): Added new header
13349         libm-simd-decl-stubs.h.
13350         * math/math.h (__MATHCALL_VEC): New macro.
13352         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13353         for conditions in testing functions.
13354         * math/Makefile: Added call of libm-have-vector-test.sh.
13355         * math/libm-test.inc (HAVE_VECTOR): New macros.
13357         * math/libm-test.inc: START refactored.
13358         * math/test-double.c (TEST_MATHVEC): Add define.
13359         * math/test-float.c: Likewise.
13360         * math/test-idouble.c: Likewise.
13361         * math/test-ifloat.c: Likewise.
13362         * math/test-ildoubl.c: Likewise.
13363         * math/test-ldouble.c: Likewise.
13364         * sysdeps/generic/math-tests-arch.h
13365         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13366         architecture check.
13368         * math/test-double.c (FUNC_TEST): New macro.
13369         * math/test-float.c: Likewise.
13370         * math/test-idouble.c: Likewise.
13371         * math/test-ifloat.c: Likewise.
13372         * math/test-ildoubl.c: Likewise.
13373         * math/test-ldouble.c: Likewise.
13374         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13376 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13378         * sysdeps/nacl/fdopendir.c: New file.
13380         * dirent/scandir-tail.c: New file.
13381         * dirent/scandir64-tail.c: New file.
13382         * dirent/Makefile (routines): Add them.
13383         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13384         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13385         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13386         [!SCANDIR] (SCANDIR_TAIL): New macro.
13387         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13388         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13389         (SCANDIRAT): Macro removed.
13390         (SCANDIR_TAIL): New macro.
13391         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13392         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13393         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13394         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13395         (READDIR): Macro removed.
13396         (SCANDIR_TAIL): New macro.
13397         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13398         (SCANDIR_TAIL): New macro.
13400         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13401         * dirent/scandir-cancel.c: ... to this new file.
13402         * dirent/Makefile (routines): Add it.
13403         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13404         * sysdeps/unix/sysv/linux/i386/scandir64.c
13405         (SKIP_SCANDIR_CANCEL): Macro removed.
13406         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13408         * dirent/tst-scandir.c: New file.
13409         * dirent/tst-scandir64.c: New file.
13410         * dirent/Makefile (tests): Add them.
13412 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13414         [BZ #18409]
13415         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13417 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13419         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13420         list.
13422 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13424         * benchtests/bench-strcoll.c: New benchmark.
13425         * benchtests/Makefile: Generate locales and run benchmark.
13426         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13427         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13428         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13429         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13430         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13431         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13432         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13433         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13434         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13435         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13436         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13437         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13438         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13439         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13440         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13441         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13442         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13443         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13444         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13445         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13446         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13447         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13448         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13449         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13451 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13453         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13454         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13456 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13458         * posix/uname-values.h: New file.
13459         * posix/uname.c: Include that instead of <config-name.h>.
13460         * sysdeps/nacl/uname-values.h: New file.
13461         * sysdeps/arm/nacl/uname-values.h: New file.
13463 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13465         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13466         splitting into fields.
13468 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13470         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13471         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13472         * locale/localeinfo.h: Add enum collation_encoding_type.
13473         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13474         * programs/ld-collate.c (collate_output): Add encoding type info.
13475         * string/strcoll_l.c (STRDIFF): New function.
13476         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13477         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13479 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13481         [BZ #18397]
13482         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13483         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13484         <fpu_control.h> instead of <math/fpu_control.c>.
13485         * sysdeps/mips/mips32/fpu/Makefile: New file.
13487 2015-05-11  Andreas Schwab  <schwab@suse.de>
13489         [BZ #18007]
13490         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13491         nss_endgrent.
13492         (_nss_compat_endgrent): Call nss_endgrent.
13493         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13494         nss_endpwent.
13495         (_nss_compat_endpwent): Call nss_endpwent.
13496         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13497         needent, call nss_setspent only if non-zero.
13498         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13499         (internal_endspent): Don't call nss_endspent.
13500         (_nss_compat_endspent): Call nss_endspent.
13501         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13502         Remove.  All uses removed.
13503         (internal_setent): Remove parameter stayopen, add parameter
13504         stream.  Use it instead of global variable.
13505         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13506         (internal_endent, internal_getent): Add parameter stream.  Use it
13507         instead of global variable.
13508         (CONCAT(_nss_files_end,ENTNAME))
13509         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13510         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13511         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13512         uses removed.
13513         (internal_setent, internal_endent): Add parameter stream.  Use it
13514         instead of global variable.
13515         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13516         stream.
13517         (get_next_alias): Add parameter stream.
13518         (_nss_files_getaliasent_r): Pass global stream.
13519         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13520         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13521         (_nss_files_gethostbyname4_r): Pass local stream to
13522         internal_setent, internal_getent and internal_endent.  Remove
13523         locking.
13525 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13527         * tst-strfmon1.c (tests): Update expected currency symbol.
13529 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13531         * sysdeps/nacl/gethostname.c: New file.
13533 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13535         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13536         and sinh.
13537         * math/auto-libm-test-out: Regenerated.
13538         * sysdeps/i386/fpu/libm-test-ulps: Update.
13539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13541 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13543         [BZ #18125]
13544         * stdlib/tst-setcontext3.c: New file.
13545         * stdlib/tst-setcontext3.sh: New file.
13546         * stdlib/Makefile (tests): Add tst-setcontext3.
13547         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13548         to verify test program created output file.
13549         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13550         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13551         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13552         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13554 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13556         [BZ #18383]
13557         * elf/tst-tlsalign.c: New file.
13558         * elf/tst-tlsalign-static.c: New file.
13559         * elf/tst-tlsalign-lib.c: New file.
13560         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13561         (tests-static): Add tst-tlsalign-static.
13562         (modules-names): Add tst-tlsalign-lib.
13563         (test-xfail-tst-tlsalign): New variable.
13564         (test-xfail-tst-tlsalign-static): New variable.
13566         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13567         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13569 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13571         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13572         csqrt, erfc, sin and sincos.
13573         * math/auto-libm-test-out: Regenerated.
13574         * sysdeps/i386/fpu/libm-test-ulps: Update.
13575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13577 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13579         * sysdeps/aarch64/libm-test-ulps: Update.
13581 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13583         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13584         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13585         * math/auto-libm-test-out: Regenerated.
13586         * sysdeps/i386/fpu/libm-test-ulps: Update.
13587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13589 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13591         [BZ #18265]
13592         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13593         (wcsncpy): Likewise.
13595 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13597         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13598         Assume __ASSUME_FALLOCATE is always true.
13599         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13600         (__posix_fallocate64_l64): Likweise.
13601         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13602         (posix_fallocate): Likewise.
13603         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13604         (__posix_fallocate64_l64): Likewise.
13605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13606         [!__ASSUME_FALLOCATE]: Add comment.
13608 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13610         * sysdeps/unix/sysv/linux/i386/Makefile
13611         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13612         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13613         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13614         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13615         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13616         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13617         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13619 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13621         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13622         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13623         tgamma.
13624         * math/auto-libm-test-out: Regenerated.
13625         * sysdeps/i386/fpu/libm-test-ulps: Update.
13626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13630         * math/auto-libm-test-in: Add more tests of tgamma.
13631         * math/auto-libm-test-out: Regenerated.
13632         * sysdeps/i386/fpu/libm-test-ulps: Update.
13633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13635         * math/auto-libm-test-in: Add more tests of tanh.
13636         * math/auto-libm-test-out: Regenerated.
13637         * sysdeps/i386/fpu/libm-test-ulps: Update.
13638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13640         * math/auto-libm-test-in: Add more tests of tan.
13641         * math/auto-libm-test-out: Regenerated.
13642         * sysdeps/i386/fpu/libm-test-ulps: Update.
13643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13646         * math/auto-libm-test-out: Regenerated.
13647         * sysdeps/i386/fpu/libm-test-ulps: Update.
13648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13650         * math/auto-libm-test-in: Add another test of pow.
13651         * math/auto-libm-test-out: Regenerated.
13652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13654         * math/auto-libm-test-in: Add more tests of lgamma.
13655         * math/auto-libm-test-out: Regenerated.
13656         * sysdeps/i386/fpu/libm-test-ulps: Update.
13657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13659         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13660         log1p.
13661         * math/auto-libm-test-out: Regenerated.
13662         * sysdeps/i386/fpu/libm-test-ulps: Update.
13663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13667         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13668         Elf64_Chdr structs and ELFCOMPRESS constants.
13670 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13672         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13673         expm1.
13674         * math/auto-libm-test-out: Regenerated.
13675         * sysdeps/i386/fpu/libm-test-ulps: Update.
13676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13678         * math/auto-libm-test-in: Add more tests of erf and erfc.
13679         * math/auto-libm-test-out: Regenerated.
13680         * sysdeps/i386/fpu/libm-test-ulps: Update.
13681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13683 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13685         * config.h.in (HAVE_AARCH64_BE): Add.
13687 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13689         * math/auto-libm-test-in: Add more tests of csqrt.
13690         * math/auto-libm-test-out: Regenerated.
13691         * sysdeps/i386/fpu/libm-test-ulps: Update.
13692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13694         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13695         * math/auto-libm-test-out: Regenerated.
13696         * sysdeps/i386/fpu/libm-test-ulps: Update.
13697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13699         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13701 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13703         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13704         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13706         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13707         (euidaccess, eaccess): Define as weak aliases.
13709         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13710         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13711         but __suseconds_t is often 'long int' so some sources assume that
13712         type is being used (e.g. they use %ld to print tv_usec).
13714 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13716         [BZ #18007]
13717         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13718         (CVE-2014-8121)
13719         * nss/tst-nss-getpwent.c: New file.
13720         * nss/Makefile (tests): Add new test.
13722 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #18346]
13725         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13726         exponents less than 48 as cases where high part of mantissa needs
13727         examining to determine whether argument is integral.
13728         * math/libm-test.inc (round_test_data): Add more tests.
13730 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13732         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13734 2015-04-27  David S. Miller  <davem@davemloft.net>
13736         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13737         __tls_get_addr.
13738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13740 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13742         [BZ#18333]
13743         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13745 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13747         [BZ#18333]
13748         * time/tzset.c (parse_tzname): Return error on memory allocation
13749         failure.
13750         * test-skeleton.c (struct temp_name_list): Change type of name
13751         member to non-const.
13752         (add_temp_file): Create a copy of the file name.
13753         (delete_temp_files): Deallocate memory.
13754         (create_temp_file): Add comment.
13756 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13758         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13759         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13761 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13763         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13764         * sysdeps/arm/configure: Regenerated.
13766 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13768         [BZ #17715]
13769         * time/tzfile.c (__tzfile_read): Check for large values of
13770         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13771         * time/tzset.c (__tzstring_len): New function, based on the old
13772         __tzstring function.
13773         (__tzstring): Call __tzstring_len.
13774         (parse_tzname): New helper function extracted from
13775         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13776         the input string.
13777         (parse_offset): New helper function extracted from
13778         __tzset_parse_tz.  Replace switch with fallthrough with
13779         initialization before sscanf.
13780         (parse_rule): Likewise.
13781         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13782         new-style function definition.
13783         * timezone/Makefile (tests): Add tst-tzset.
13784         (tst-tzset.out): Dependencies on time zone files.
13785         (tst-tzset-ENV): Set TZDIR.
13786         (testdata/XT%): Copy crafted time zone files.
13787         * timezone/README: Mention crafted time zone files.
13788         * timezone/testdata/XT1, timezone/testdata/XT2,
13789         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13790         files.
13791         * timezone/tst-tzset.c: New test.
13793 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13795         * Makeconfig (+gccwarn): Remove -Winline.
13797 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13799         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13801 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13803         * NEWS: Mention sysconf() cache information support for s390.
13804         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13806 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13808         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13809         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13810         (__nearbyint): Likewise.
13811         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13812         (copysignl): Likewise.
13814 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13816         [BZ #18287]
13817         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13818         based on padding.  (CVE-2015-1781)
13820 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13822         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13823         libc-vdso.h.
13824         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13825         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13826         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13827         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13828         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13829         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13831         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13833         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13834         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13835         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13836         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13837         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13838         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13839         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13840         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13842         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13843         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13844         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13845         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13846         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13848 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13850         * stdlib/setenv.c (__add_to_environ):
13851         Dump core quickly if setenv (..., NULL, ...) is called.
13852         This time, do it the right way, and pacify GCC with a pragma.
13854 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13856         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13857         IMAP->l_prev cannot be null, and #if out the code for the contrary
13858         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13859         believe that NS (&_dl_ns[NSID]) could point outside the array.
13861         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13862         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13863         before using NSID as an index.
13865 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13867         [BZ #17825]
13868         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13869         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13870         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13872 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13874         Add preliminary port to Google Native Client on ARM.
13875         * abi-tags (.*-.*-nacl.*): New entry.
13876         * sysdeps/arm/nacl: New directory.
13877         * sysdeps/nacl: New directory.
13879 2015-04-16  David S. Miller  <davem@davemloft.net>
13881         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13882         lowlevellock-futex.h
13884 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13886         * sysdeps/tile/configure.ac: New file.
13887         * sysdeps/tile/configure: Regenerated.
13889 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13891         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13892         conditionals for weak_alias and libc_hidden_weak.
13893         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13894         libc_hidden_weak and weak_alias.
13895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13896         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13897         and weak_alias for static one.
13899 2015-04-15  David S. Miller  <davem@davemloft.net>
13901         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13903 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13905         [BZ #18206]
13906         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13907           Use signed comparision instead of substraction to avoid
13908           overflow bug.
13909         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13910           Take the sign of ret.
13911         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13912           Do not expect precise return values. Only the sign matters.
13913         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13914         * wcsmbs/test-wcsncmp.c: New File.
13915         * string/test-strncmp.c: Add wcsncmp support.
13917 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13919         [BZ #6792]
13920         * math/w_log1p.c: New file.
13921         * math/w_log1pf.c: Likewise.
13922         * math/w_log1pl.c: Likewise.
13923         * math/Makefile (libm-calls): Add w_log1p.
13924         * math/s_log1pl.c (log1pl): Remove weak_alias.
13925         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13926         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13927         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13928         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13929         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13930         [NO_LONG_DOUBLE] (log1pl): Likewise.
13931         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13932         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13933         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13934         (log1p): Remove long_double_symbol.
13935         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13936         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13937         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13938         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13939         remove weak_alias for corresponding log1p function.
13940         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13941         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13942         * sysdeps/ia64/fpu/w_log1p.c: New file.
13943         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13944         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13945         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13947 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #18247]
13950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13951         decimal exponent by 1.
13952         * stdlib/tst-strtod-round-data: Add more tests.
13953         * stdlib/tst-strtod-round.c (tests): Regenerated.
13955 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13957         * math/auto-libm-test-in: Add more tests of clog and clog10.
13958         * math/auto-libm-test-out: Regenerated.
13959         * sysdeps/i386/fpu/libm-test-ulps: Update.
13960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13962 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13964         * Makeconfig (module-cppflags): Exclude all .v.i files.
13965         (skip-module-cppflags): Variable removed.
13967         * configure.ac (libc_config_ok): Initialize before reading
13968         preconfigure scripts, not after.
13969         * configure: Regenerated.
13971         * test-skeleton.c (TIMEOUT): Move #define to top level.
13972         (main): Grok environment variable TEST_DIRECT.  If set, print
13973         test expectation details into that file and then behave as if
13974         given --direct.
13976 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13978         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13979         warning on 32-bit.
13981 2015-04-08  David S. Miller  <davem@davemloft.net>
13983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13985 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13987         * math/auto-libm-test-in: Add more tests of atanh.
13988         * math/auto-libm-test-out: Regenerated.
13989         * sysdeps/i386/fpu/libm-test-ulps: Update.
13990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13992         * math/auto-libm-test-in: Add more tests of atan.
13993         * math/auto-libm-test-out: Regenerated.
13994         * sysdeps/i386/fpu/libm-test-ulps: Update.
13995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13999         * elf/pldd.c (main): Rewrite to use struct
14000         scratch_buffer instead of extend_alloca.
14001         * elf/pldd-xx.c (find_maps): Likewise.
14002         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14003         <alloca.h>.
14004         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14005         scratch_buffer instead of extend_alloca.
14006         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14007         grp/compat-initgroups.c.
14008         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14009         Rewrite to use struct scratch_buffer instead of extend_alloca.
14010         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14011         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14013 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14015         * math/auto-libm-test-in: Add more tests of cbrt.
14016         * math/auto-libm-test-out: Regenerated.
14017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14019         * math/auto-libm-test-in: Add more tests of cabs.
14020         * math/auto-libm-test-out: Regenerated.
14021         * sysdeps/i386/fpu/libm-test-ulps: Update.
14022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024         [BZ #18210]
14025         [BZ #18211]
14026         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14027         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14028         computations.
14029         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14030         clog10.
14031         * math/auto-libm-test-out: Regenerated.
14032         * sysdeps/i386/fpu/libm-test-ulps: Update.
14033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14035         [BZ #18197]
14036         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14037         (atan): Set FE_TONEAREST mode for internal computations.
14038         * math/auto-libm-test-in: Add more tests of atan.
14039         * math/auto-libm-test-out: Regenerated.
14041 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14043         [BZ #17930]
14044         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14046 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14048         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14050 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14052         * include/scratch_buffer.h: New file.
14053         * malloc/scratch_buffer_grow.c: Likewise.
14054         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14055         * malloc/scratch_buffer_set_array_size.c: Likewise.
14056         * malloc/tst-scratch_buffer.c: Likewise.
14057         * malloc/Makefile (routines): Add scratch_buffer_grow.
14058         (tests): Add test case.
14059         * malloc/Versions (GLIBC_PRIVATE): Export
14060         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14061         __libc_scratch_buffer_set_array_size.
14063 2015-04-06  Richard Henderson  <rth@redhat.com>
14065         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14066         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14068         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14069         unsigned int before printing.
14071 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14073         [BZ #17596]
14074         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14075         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14077 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14079         * include/libc-internal.h (libc_max_align_t): Define.
14081 2015-04-02  Andreas Schwab  <schwab@suse.de>
14083         [BZ #16850]
14084         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14086 2015-04-02  Mel Gorman  <mgorman@suse.de>
14088         [BZ #17195]
14089         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14090         as well as the main arena.
14092 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14094         [BZ #18185]
14095         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14096         sharing L2 cache to 2 for Silvermont/Knights Landing.
14098 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14100         [BZ #17711]
14101         * config.make.in (have-protected-data): New.
14102         * configure.ac: Check linker support for protected data symbol.
14103         * configure: Regenerated.
14104         * elf/Makefile (modules-names): Add tst-protected1moda and
14105         tst-protected1modb if $(have-protected-data) is yes.
14106         (tests): Add tst-protected1a and tst-protected1b if
14107         $(have-protected-data) is yes.
14108         ($(objpfx)tst-protected1a): New.
14109         ($(objpfx)tst-protected1b): Likewise.
14110         (tst-protected1modb.so-no-z-defs): Likewise.
14111         * elf/tst-protected1a.c: New file.
14112         * elf/tst-protected1b.c: Likewise.
14113         * elf/tst-protected1mod.h: Likewise.
14114         * elf/tst-protected1moda.c: Likewise.
14115         * elf/tst-protected1modb.c: Likewise.
14117 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14119         [BZ #17711]
14120         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14121         indicates it is called from do_lookup_x on relocation against
14122         protected data, skip the data definion in the executable from
14123         copy reloc.
14124         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14125         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14126         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14127         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14128         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14129         otherwise to 0.
14130         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14131         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14132         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14133         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14134         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14135         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14137 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14139         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14140         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14142 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14144         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14145         THREAD_SETMEM_NC.
14146         * sysdeps/x86_64/nptl/tls.h: Ditto.
14148 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14150         * dlfcn/tststatic.c (main): Converted to ...
14151         (do_test): ... this.
14152         (TEST_FUNCTION): New macro.
14153         Include test-skeleton.c.
14155 2015-03-26  Alan Modra  <amodra@gmail.com>
14157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14158         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14159         zero for undefined weak.
14160         (elf_machine_plt_conflict): Similarly.
14162 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14164         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14165         atanh.
14166         * math/auto-libm-test-out: Regenerated.
14167         * sysdeps/i386/fpu/libm-test-ulps: Update.
14168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14170         * math/auto-libm-test-in: Add another test of asin.
14171         * math/auto-libm-test-out: Regenerated.
14172         * sysdeps/i386/fpu/libm-test-ulps: Update.
14173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14176         Remove macro.
14177         (LLL_EBX_REG): Likewise.
14178         (LLL_ENTER_KERNEL): Likewise.
14180         * math/auto-libm-test-in: Add more tests of asin.
14181         * math/auto-libm-test-out: Regenerated.
14182         * sysdeps/i386/fpu/libm-test-ulps: Update.
14183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14185         [BZ #18138]
14186         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14187         libc_do_syscall_args): New structure.
14188         (INTERNAL_SYSCALL_MAIN_0): New macro.
14189         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14190         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14191         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14192         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14193         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14194         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14195         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14196         Replace conditional definitions by conditional definitions of ....
14197         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14198         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14200         (libpthread-sysdep_routines): Add libc-do-syscall.
14201         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14203         to __NR_futex not 240.
14205 2015-03-25  Alan Modra  <amodra@gmail.com>
14207         * NEWS: Advertise TLS optimization.
14208         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14209         (DT_PPC_NUM): Increment.
14210         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14211         (CHECK_STATIC_TLS): Use here.
14212         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14213         TLS descriptors.
14214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14215         * sysdeps/powerpc/dl-tls.c: New file.
14216         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14217         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14219         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14224 2015-03-25  Alan Modra  <amodra@gmail.com>
14226         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14227         for overlapping .opd entries" to "support...".
14228         * sysdeps/powerpc/powerpc64/configure: Regenerate
14230 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14232         * math/auto-libm-test-in: Add more tests of acos.
14233         * math/auto-libm-test-out: Regenerated.
14234         * sysdeps/i386/fpu/libm-test-ulps: Update.
14235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14237         * math/auto-libm-test-in: Add more tests of expm1.
14238         * math/auto-libm-test-out: Regenerated.
14239         * sysdeps/i386/fpu/libm-test-ulps: Update.
14240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14242 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14244         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14245         * math/auto-libm-test-out: Regenerated.
14246         * sysdeps/i386/fpu/libm-test-ulps: Update.
14247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14252         * math/auto-libm-test-in: Add more tests of log2.
14253         * math/auto-libm-test-out: Regenerated.
14254         * sysdeps/i386/fpu/libm-test-ulps: Update.
14255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14259         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14260         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14261         _IO_IS_APPENDING bit in READ_WRITE instead.
14263 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14265         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14266         (__determine_cpumask_size): Replace extend_alloca with a
14267         variable-length array.  Do not treat res == 0 as an error.
14269 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14271         [BZ #18100]
14272         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14273         and integer overflow.
14274         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14275         (main): Add integer overflow tests.
14276         * manual/pattern.texi (Calling Wordexp): Document additional use
14277         for WRDE_SYNTAX.
14279 2015-03-23  Alan Modra  <amodra@gmail.com>
14281         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14282         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14283         and false branch of conditional.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14285         Likewise.
14287 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14290         libc-modules.h
14291         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14292         unused declaration of _hurd_intr_rpc_msg_in_trap.
14293         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14294         defined instead of whether it is non-zero.
14295         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14296         input constraint instead of both input and output constraint.  Use ecx
14297         clobber instead of %ecx.
14298         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14299         mutex_unlock): Use a statement expression instead of an expression list.
14300         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14301         type to vm_size_t instead of vm_address_t.
14302         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14303         defined instead of whether it is non-zero.
14304         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14305         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14306         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14307         comparisons with mapaddr.
14308         * nscd/nscd-client.h: Include <time.h>.
14309         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14310         9th parameter to __vm_region instead of int.
14311         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14312         * scripts/check-local-headers.sh (exclude): Add device/,
14313         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14314         cthreads.h.
14316 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14318         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14319         to account for alignment padding.
14320         * sysdeps/arm/memmove.S: Likewise.
14322 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14324         * sysdeps/unix/sysv/linux/generic/README: New file.
14326 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14328         [BZ #18138]
14329         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14330         (futex_abstimed_wait)
14331         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14332         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14333         of lll_futex_timed_wait.
14335 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14337         [BZ #17542]
14338         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14340 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14342         [BZ #17090]
14343         [BZ #17620]
14344         [BZ #17621]
14345         [BZ #17628]
14346         * NEWS: Update.
14347         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14348         entries with Static TLS too.  Skip entries past the end of the
14349         allocated DTV, from Alan Modra.
14350         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14351         Static TLS DTV entry set up from...
14352         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14353         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14354         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14355         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14356         for Static TLS.
14357         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14358         that the slot we find is associated with the given map before
14359         using its generation count.
14360         * nptl_db/db_info.c: Include ldsodefs.h.
14361         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14362         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14363         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14364         (link_map::l_tls_offset): New struct field.
14365         (dtv_t::counter): Likewise.
14366         (rtld_global): New struct.
14367         (_rtld_global): New rtld variable.
14368         (dl_tls_dtv_slotinfo_list): New rtld global field.
14369         (dtv_slotinfo_list): New struct.
14370         (dtv_slotinfo): Likewise.
14371         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14372         (td_lookup): Rename to...
14373         (td_mod_lookup): ... this.  Use new mod parameter instead of
14374         LIBPTHREAD_SO.
14375         * nptl_db/td_thr_tlsbase.c: Include link.h.
14376         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14377         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14378         addresses even if the DTV is out of date or missing them.
14379         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14380         index zero-length arrays.
14381         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14382         (td_lookup): Make it a macro implemented in terms of...
14383         (td_mod_lookup): ... this declaration.
14384         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14385         (DB_MAIN_VARIABLE): Likewise.
14387 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14389         [BZ #18134]
14390         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14392 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14394         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14396 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14398         [BZ #18128]
14399         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14400         (atomic_add, atomic_increment_and_test)
14401         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14403 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14405         * stdlib/setenv.c (__add_to_environ):
14406         Dump core quickly if setenv (..., NULL, ...) is called.
14408 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14410         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14411         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14412         all the necessary asm magic in one place.
14413         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14414         using those.
14416 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14418         [BZ #14906]
14419         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14420         traced file mtime. Use consistent log message.
14421         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14422         (register_traced_file): Call install_watches. Always set mtime.
14423         (invalidate_cache): Iterate over all trace files. Call install_watches.
14424         (inotify_check_files): Don't inline. Handle watching parent
14425         directories and configuration file movement in and out.
14426         (handle_inotify_events): New function.
14427         (main_loop_poll): Call handle_inotify_events.
14428         (main_loop_epoll): Likewise.
14429         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14430         (struct traced_file): Use array of inotify fds. Add parent directory,
14431         and basename.
14432         (struct database_dyn): Remove unused file_mtime.
14433         (init_traced_file): New inline function.
14434         (define_traced_file): New macro.
14435         * nss/nss_db/db-init.c: Use define_traced_file.
14436         (_nss_db_init): Use init_traced_file.
14437         * nss/nss_files/files-init.c: Use define_traced_file.
14438         (_nss_files_init): Use init_traced_file.
14440 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14442         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14443         [_LIBC]: Do not include <stdlib.h>.
14444         [!_LIBC] (abort): Remove declaration.
14445         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14446         _FP_STATIC_ASSERT instead of conditionally calling abort.
14447         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14448         (_FP_EXTEND_CNAN): Likewise.
14449         (FP_TRUNC): Likewise.
14450         (__FP_CLZ): Likewise.
14451         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14453 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14455         * manual/string.texi (XPG basename): Fix prototype.
14457 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14459         [BZ #18080]
14460         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14461         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14462         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14463         (__setcontext): Likewise.
14464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14465         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14466         Call rt_sigprocmask syscall one time to set new signal mask
14467         and retrieve the current signal mask instead of two calls.
14468         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14469         (__swapcontext): Likewise.
14470         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14471         * stdlib/tst-setcontext2.c: New file.
14473 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14477 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14479         [BZ #18093]
14480         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14481         the wrong size.
14483 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14485         [BZ #18043]
14486         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14488 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14490         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14491         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14492         Remove define.
14493         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14494         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14495         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14496         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14497         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14498         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14499         define.
14500         * nptl_db/td_symbol_list.c (td_lookup): Remove
14501         HAVE_ASM_GLOBAL_DOT_NAME code.
14502         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14503         HAVE_ASM_GLOBAL_DOT_NAME check.
14504         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14505         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14506         (DOT_LABEL): Remove define.
14507         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14508         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14509         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14510         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14511         (__TLS_GET_ADDR): Likewise.
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14513         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14515 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14517         [BZ #18111]
14518         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14519         (_FPU_SETCW): Initialize cw from fpsr before storing.
14520         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14521         (fesetexceptflag): Rewrite using fpu_control.h.
14522         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14524 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14526         [BZ #18110]
14527         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14528         asms.
14529         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14531 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14533         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14534         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14535         abort.
14536         (_FP_FMA): Likewise.
14537         (_FP_DIV): Likewise.
14539 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14541         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14542         with 0 in that case.
14543         * Makefile (summarize-tests): New canned sequence, factored out of
14544         commands for targets tests and xtests.  Display summary lines that
14545         don't start with PASS: or XFAIL: rather than ones that do start with
14546         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14547         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14548         do start with ERROR: or FAIL:.
14549         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14550         (except for [$(build-shared) = yes]).
14551         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14552         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14553         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14554         * nptl/Makefile: Revert 2015-03-04 changes.
14555         [$(CXX) empty] (tests-unsupported): New variable.
14556         * debug/Makefile: Likewise.
14558         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14559         gnulib file.  Replace __attribute with __attribute__ throughout.
14561 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14563         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14565 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14567         [BZ #18104]
14568         * math/auto-libm-test-in: Add another test of pow.
14569         * math/auto-libm-test-out: Regenerated.
14571 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14573         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14574         $(config-cflags-nofma).
14576 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14578         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14579         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14580         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14581         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14582         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14583         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14584         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14585         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14586         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14587         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14588         Add comment on closing #endif.
14590 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14592         * posix/wordexp.c (CHAR_IN_SET): New macro.
14593         (parse_param): Use it.
14595 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14597         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14599 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14601         [BZ #18043]
14602         * posix/wordexp.c (parse_param): Fix buffer overflow.
14603         * posix/wordexp-test.c (test_case): Add test case.
14605 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14607         [BZ #18042]
14608         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14609         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14611 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14613         [BZ #18043]
14614         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14615         (do_bz18043): Delete.
14616         (at_page_end): New.
14617         (testit): Refactor to have words at the edge of unreadable page.
14619 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14621         [BZ #16734]
14622         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14623         Cleanup read-only streams as well.
14624         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14626 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14628         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14629         <bits/libc-lockP.h>
14631 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14633         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14634         on [__KERNEL__].
14635         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14636         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14637         * soft-fp/op-common.h (_FP_DECL): Likewise.
14639 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14641         * elf/ifuncdep2.c (global): Replace
14642         __attribute__((visibility("protected"))) with
14643         asm (".protected global").
14644         * elf/ifuncmod1.c (global): Likewise.
14645         * elf/ifuncmod5.c (global): Likewise.
14647 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14649         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14650         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14652 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14654         * manual/install.texi (Configuring and compiling):
14655         Document test-wrapper-env-only.
14656         * INSTALL: Regenerated.
14658 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14660         [BZ #18043]
14661         * posix/wordexp.c (parse_param): Fix buffer overflow.
14662         * posix/wordexp-test.c (do_bz18043): Add test case.
14664 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14666         * time/tst-strptime2.c (do_test): Ensure failing tests are
14667         reported correctly.
14668         * time/tst-strptime3.c (do_test): Likewise.
14670 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14672         Fix aio_error thread-safety.
14673         * sysdeps/pthread/aio_error.c: New file
14674         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14675         synchronization.
14677 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14679         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14680         (group_number, vfprintf): Use it.
14681         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14682         (JUMP, REF): Use it.
14683         (WORK_BUFFER_SIZE): New enum constant.
14684         (process_arg, vfprintf): Use it.
14686 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14688         * manual/errno.texi (Error Messages): Complete example function
14689         by adding missing #define.
14690         (program_invocation_name): Add statement indicating GNU
14691         extension and reference which header file declares the variable.
14692         (program_invocation_short_name): Likewise.
14694 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14696         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14697         compatibility note.
14699 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14701         * Makeconfig (test-wrapper-env-only): New variable.
14702         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14703         then use that with $(test-wrapper-env-only) rather than using
14704         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14706 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14708         [BZ #18082]
14709         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14710         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14711         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14712         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14713         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14714         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14715         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14716         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14717         Likewise.
14718         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14719         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14720         Likewise.
14721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14722         Likewise.
14723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14724         Likewise.
14725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14726         Likewise.
14727         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14729         Likewise.
14730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14731         Likewise.
14732         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14733         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14735 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14737         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14738         (ETH_ALEN): New macro.
14739         (struct ether_addr): Use it for length of ether_addr_octet.
14741         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14742         (setdb): Don't call __nss_configure_lookup for "rpc".
14743         (do_test): Don't call test_rpc.
14744         (output_rpcent, test_rpc): Functions moved ...
14745         * sunrpc/test-rpcent.c: ... to this new file.
14746         * sunrpc/Makefile (tests): Add it.
14748         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14749         __xpg_sigpause.
14750         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14751         * nptl/tst-signal6.c: Likewise.
14752         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14753         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14755         * configure.ac (libc_cv_cxx_link_ok): New check.
14756         Reset CXX to empty if it fails to link.
14757         * configure: Regenerated.
14758         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14759         bug-atexit3-lib only if $(CXX) is nonempty.
14760         * nptl/Makefile (tests): Likewise for tst-cancel24.
14761         (tests, tests-static): Likewise for tst-cancel24-static.
14762         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14763         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14764         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14765         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14767 2015-03-04  Andreas Schwab  <schwab@suse.de>
14769         [BZ #17631]
14770         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14771         for non-GCC compilers.
14772         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14773         Likewise.
14775 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14777         [BZ #17776]
14778         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14779         integer before bitwise and assembly operations.
14780         (feclearexcept): Likewise.
14781         * math/test-fenvinline.c: New file.
14782         * math/Makefile: Add test-fenvinline test.
14784 2015-03-03  Alan Modra  <amodra@gmail.com>
14786         [BZ #16512]
14787         * scripts/localplt.awk: Strip off symbol version.
14788         * NEWS: Mention bug fix.
14790 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14792         * sysdeps/pthread/timer_routines.c
14793         (timer_free_list, thread_free_list, thread_active_list): Make static.
14795 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14797         [BZ #17779]
14798         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14799         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14800         Undefine.
14801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14802         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14803         Likewise.
14804         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14805         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14806         Likewise.
14808 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14810         [BZ #18036]
14811         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14812         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14814 2015-03-02  Andreas Schwab  <schwab@suse.de>
14816         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14817         variable name.
14819 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14821         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14822         Return error status.
14824 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14826         [BZ #15969]
14827         * locale/findlocale.c (_nl_find_locale): Introduce const
14828         version of loc_name and drop unsafe type casts.
14830 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14832         * dlfcn/tststatic2.c (main): Converted to ...
14833         (do_test): ... this.
14834         (TEST_FUNCTION): New macro.
14835         Include test-skeleton.c.
14837 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14839         [BZ #17711]
14840         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14841         (tests-pie): Add vismain.
14842         (CFLAGS-vismain.c): New.
14843         * elf/vismain.c: Add comments for PIE requirement.
14845 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14847         [BZ #18046]
14848         [BZ #18047]
14849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14850         0x1p-56L as threshold for just returning the argument.
14851         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14852         0x1p-32L as threshold for just returning the argument.
14853         * math/auto-libm-test-in: Add more tests of atanh.
14854         * math/auto-libm-test-out: Regenerated.
14855         * sysdeps/i386/fpu/libm-test-ulps: Update.
14856         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14858 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14860         * string/bcopy.c (bcopy): Call memmove for performance.
14862 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14864         * string/bzero.c (__bzero): Call memset for performance.
14866 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14868         [BZ #18068]
14869         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14870         to 00100000.
14872 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14874         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14876 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14878         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14879         (__kernel_standard): Use CSTR macro when setting exc.name.
14880         * sysdeps/ieee754/Makefile [$(subdir) = math]
14881         (CFLAGS-k_standard.c): Remove variable.
14883         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14884         setting p and q from "else if" to "else".
14885         (qzero): Likewise.
14886         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14887         (qone): Likewise.
14888         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14889         (qzerof): Likewise.
14890         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14891         (qonef): Likewise.
14892         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14893         (qzero): Likewise.
14894         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14895         (qone): Likewise.
14897         [BZ #18038]
14898         [BZ #18039]
14899         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14900         return pi/2 for arguments below 0x1p-113L.
14901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14902         return pi/2 for arguments below 0x1p-106L.
14903         * math/auto-libm-test-in: Add more tests of acos.
14904         * math/auto-libm-test-out: Regenerated.
14906         [BZ #16351]
14907         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14908         (MO): New macro.
14909         (__ieee754_asin): Force underflow exception for results with small
14910         absolute value.
14911         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14912         (MO): New macro.
14913         (__ieee754_asinf): Force underflow exception for results with
14914         small absolute value.
14915         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14916         (__ieee754_asin): Force underflow exception for results with small
14917         absolute value.
14918         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14919         (__ieee754_asinf): Force underflow exception for results with
14920         small absolute value.
14921         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14922         (__ieee754_asinl): Force underflow exception for results with
14923         small absolute value.
14924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14925         (__ieee754_asinl): Force underflow exception for results with
14926         small absolute value.
14927         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14928         (__ieee754_asinl): Force underflow exception for results with
14929         small absolute value.
14930         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14931         Include <math.h>.
14932         * math/auto-libm-test-in: Do not mark underflow exceptions as
14933         possibly missing for bug 16351.
14934         * math/auto-libm-test-out: Regenerated.
14936         [BZ #18030]
14937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14938         of power of 2 down when low part has opposite sign.
14939         * math/libm-test.inc (logb_test_data): Add more tests.
14941 2015-02-26  Andreas Schwab  <schwab@suse.de>
14943         [BZ #18032]
14944         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14945         over collating symbol inside a bracket expression.  Minor cleanup.
14946         * posix/tst-fnmatch3.c (do_test): Add test case.
14948 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14950         [BZ #18029]
14951         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14952         Adjust exponent of power of 2 down when low part has opposite
14953         sign.
14954         * math/libm-test.inc (ilogb_test_data): Add more tests.
14956 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14958         [BZ #15969]
14959         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14960         the previous change.
14962         [BZ #15969]
14963         * locale/findlocale.c (_nl_find_locale): Retry archive search
14964         after alias expansion.
14966 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14968         * iconv/tst-iconv3.c (main): Converted to ...
14969         (do_test): ... this.
14970         (TEST_FUNCTION): New macro.
14971         Include test-skeleton.c.
14973         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14974         (convert): Make function static.
14975         (test_unalign): Likewise.  Add const to argument pointee types.
14976         (main): Replace with static function do_test.
14977         Print "Succeeded." only if RET is zero.
14978         (TEST_FUNCTION): New macro.
14979         Include test-skeleton.c.
14981         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14982         returns a null pointer.
14984 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14986         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14987         to __memcpy_ppc only for static builds.
14989 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14991         [BZ #18020]
14992         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14993         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14994         * math/auto-libm-test-in: Add more tests of asinh.
14995         * math/auto-libm-test-out: Regenerated.
14996         * sysdeps/i386/fpu/libm-test-ulps: Update.
14997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14999 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15001         [BZ #15850]
15002         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15003         and ip6_mtuinfo definitions here.
15004         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15005         in this define too.  Update comment.
15007 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15009         * elf/sprof.c (load_shobj): Tweak error message to match others.
15011 2015-02-24  Kevin Easton  <kevin@guarana.org>
15013         [BZ #16145] (partial fix)
15014         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15015         to reduce lock contention.
15017 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15019         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15020         (struct timex): Update time comment.
15021         (ADJ_SETOFFSET): Define.
15023 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15025         [BZ #18019]
15026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15027         2**56 not 2**28 as threshold for log (2x) formula.
15028         * math/auto-libm-test-in: Add more tests of acosh.
15029         * math/auto-libm-test-out: Regenerated.
15030         * sysdeps/i386/fpu/libm-test-ulps: Update.
15031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15033 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15035         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15036         parenthesis around the buf assignment.
15037         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15039 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15041         [BZ #16783]
15042         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15043         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15044         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15045         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15046         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15047         * math/libm-test.inc (scalb_test_data): Add more tests.
15049 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15051         [BZ #17916]
15052         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15053         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15055 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15057         [BZ #17523]
15058         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15059         * io/bits/fcntl2.h (open): Use it.
15060         (openat): Likewise.
15061         * io/open.c (__libc_open): Likewise.
15062         * io/open64.c (__libc_open64): Likewise.
15063         * io/open64_2.c (__open64_2): Likewise.
15064         * io/open_2.c (__open_2): Likewise.
15065         * io/openat.c (__openat): Likewise.
15066         * io/openat64.c (__openat64): Likewise.
15067         * io/openat64_2.c (__openat64_2): Likewise.
15068         * io/openat_2.c (__openat_2): Likewise.
15069         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15070         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15071         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15072         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15073         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15074         (__open_nocancel): Likewise.
15075         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15076         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15077         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15079 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15081         [BZ #14841]
15082         * resolv/gethnamaddr.c (getanswer): Skip logging if
15083         RES_USE_DNSSEC is set.
15084         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15086 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15088         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15090 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15092         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15093         201304L, for Unicode 7.
15095 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15097         [BZ #17836]
15098         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15099         shared library.  Add gmon-start.os otherwise.
15100         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15101         $(objpfx)gmon-start.os if builing shared library.
15102         ($(objpfx)g$(static-start-installed-name)): Likewise.
15104 2015-02-23  Andreas Schwab  <schwab@suse.de>
15106         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15108 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15110         [BZ #17269]
15111         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15112         (enlarge_userbuf): Likewise.
15114 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15116         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15117         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15118         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15119         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15121 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15123         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15124         expression inside statement expression.
15126 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15129         <sysdeps/nptl/lowlevellock.h> and remove macros and
15130         functions that are now defined there.
15131         (SYS_futex): Remove.
15132         (lll_compare_and_swap): Remove.
15133         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15135 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15137         [BZ #17999]
15138         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15139         instead of scandirat.
15140         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15141         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15142         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15143         __scandirat.
15144         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15145         (__scandirat): Declare.  Use libc_hidden_proto.
15146         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15147         Remove variable.
15148         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15150 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15152         [BZ #15319]
15153         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15154         (MO): New macro.
15155         (__ieee754_atan2): For results with small absolute value, force
15156         underflow exception and remove excess range and precision from
15157         return value.
15158         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15159         (MO): New macro.
15160         (__ieee754_atan2f): For results with small absolute value, force
15161         underflow exception and remove excess range and precision from
15162         return value.
15163         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15164         (MO): New macro.
15165         (__atan): For results with small absolute value, force underflow
15166         exception and remove excess range and precision from return value.
15167         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15168         (MO): New macro.
15169         (__atanf): For results with small absolute value, force underflow
15170         exception and remove excess range and precision from return value.
15171         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15172         <math.h>.
15173         (__ieee754_atan2): Force underflow exception for results with
15174         small absolute value.
15175         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15176         <math_private.h>.
15177         (atan): Force underflow exception for results with small absolute
15178         value.
15179         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15180         (__atanf): Force underflow exception for results with small
15181         absolute value.
15182         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15183         <math.h>.
15184         (__atanl): Force underflow exception for results with small
15185         absolute value.
15186         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15187         (__atanl): Force underflow exception for results with small
15188         absolute value.
15189         * sysdeps/x86/fpu/bits/mathinline.h
15190         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15191         (__ieee754_atan2): Only define inline for long double.
15192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15193         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15194         * math/auto-libm-test-in: Do not mark underflow exceptions as
15195         possibly missing for bug 15319.  Add more tests of atan2.
15196         * math/auto-libm-test-out: Regenerated.
15197         * math/libm-test.inc (casin_test_data): Do not mark underflow
15198         exceptions as possibly missing for bug 15319.
15199         (casinh_test_data): Likewise.
15200         * sysdeps/i386/fpu/libm-test-ulps: Update.
15202 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15204         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15205         * sysdeps/mips/bits/endian.h: Fix comments.
15207 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15209         [BZ #17996]
15210         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15211         (hdestroy_r): Likewise.
15212         (hsearch_r): Likewise.
15213         (__hcreate_r): Declare and use libc_hidden_proto.
15214         (__hdestroy_r): Likewise.
15215         (__hsearch_r): Likewise.
15216         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15217         (hcreate): Call __hcreate_r instead of hcreate_r.
15218         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15219         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15220         as weak alias of __hcreate_r.
15221         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15222         __hdestroy_r.
15223         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15224         __hsearch_r.
15225         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15226         Remove variable.
15227         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15228         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15229         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15230         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15232 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15234         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15235         arena_lock into a single arena_get.
15237 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15239         * dl-reloc.c: Inlucde libc-internal.h.
15240         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15241         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15242         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15243         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15244         (grow_heap): Likewise.
15245         * malloc/malloc.c: Include libc-internal.h.
15246         (do_check_malloc): Call powerof2.
15247         (sysmalloc): Use pagesize. Call ALIGN_UP.
15248         (systrim): Use pagesize.
15249         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15250         (__libc_valloc): Use pagesize.
15251         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15253 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15255         [BZ #17991]
15256         * include/sys/resource.h (__getrlimit64): Declare.  Use
15257         libc_hidden_proto.
15258         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15259         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15260         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15261         getrlimit64.
15262         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15263         __getrlimit64.
15264         [!getrlimit64] (getrlimit64): Define as weak alias of
15265         __getrlimit64.  Use libc_hidden_weak.
15266         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15267         using __getrlimit64 not __new_getrlimit64.
15268         (__GI_getrlimit64): Likewise.
15269         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15270         Likewise.
15271         (__GI_getrlimit64): Likewise.
15272         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15274         (getrlimit): Add __getrlimit64 alias.
15275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15276         Likewise.
15277         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15278         Remove variable.
15279         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15280         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15282 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15284         * libio/fileops.c: Add missing sys/mman.h
15285         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15287 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15289         * manual/math.texi (Errors in Math Functions): Clarify goals
15290         regarding inexact and underflow exceptions.
15292 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15294         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15295         * sysdeps/mips/memset.S: Ditto.
15297 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15299         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15301 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15303         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15304         (__v1longjmp): Remove versioned symbol.
15305         (__v1siglongjmp): Remove alias and versioned symbol.
15306         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15307         (__v2siglongjmp): Likewise.
15309 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15313 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15315         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15317 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15319         [BZ #17987]
15320         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15321         zero result does not depend on the sign resulting from
15322         subtraction.
15323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15324         Likewise.
15325         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15326         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15327         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15328         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15329         * math/libm-test.inc (remquo_test_data): Add more tests.
15331 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15333         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15334         Problem reported by J William Piggott.
15336 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #17978]
15339         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15340         products 4 * y and 2 * y where those would overflow.
15341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15342         Likewise.
15343         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15344         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15346         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15347         * math/libm-test.inc (remquo_test_data): Add more tests.
15349         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15351         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15352         [defined _COMPILING_NEWLIB].
15353         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15354         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15356         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15357         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15359 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15361         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15362         acquired.
15364 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15366         [BZ #17792]
15367         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15368         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15369         HOST_STACK_END_ADDR): Likewise.
15371 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15373         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15374         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15375         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15377 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15379         * sysdeps/generic/c++-types.data: New file.
15380         * sysdeps/generic/ld.abilist: New file.
15381         * sysdeps/generic/libBrokenLocale.abilist: New file.
15382         * sysdeps/generic/libanl.abilist: New file.
15383         * sysdeps/generic/libc.abilist: New file.
15384         * sysdeps/generic/libcrypt.abilist: New file.
15385         * sysdeps/generic/libdl.abilist: New file.
15386         * sysdeps/generic/libm.abilist: New file.
15387         * sysdeps/generic/libpthread.abilist: New file.
15388         * sysdeps/generic/libresolv.abilist: New file.
15389         * sysdeps/generic/librt.abilist: New file.
15391 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15393         [BZ #17569]
15394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15395         Compute absolute value of x as modified by fmod, not original
15396         value of x.
15397         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15398         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15399         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15400         RUN_TEST_ffI_f1_mod8.
15401         (remquo_test_data): Add more tests.
15403 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15405         * sysdeps/init_array/pt-crti.S: New file.
15407 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #17967]
15410         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15411         __builtin_fmaf instead of relying on contraction of a * b + c.
15413 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15415         [BZ #17969]
15416         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15417         node.
15419 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15421         [BZ #17964]
15422         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15423         __builtin_fma instead of relying on contraction of a * b + c.
15425 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15427         * Makeconfig (ASFLAGS): Add -Werror=undef.
15428         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15429         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15430         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15432         * Makeconfig (after-link): New variable.
15433         (+link-pie, +link-pie-tests): Use it.
15434         (+link-static, +link-static-tests): Likewise.
15435         (+link, +link-tests): Likewise.
15436         * Makerules (build-module, build-module-asneeded): Likewise.
15437         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15438         Likewise.
15439         * elf/Makefile ($(objpfx)ld.so): Likewise.
15441 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15443         [BZ #17965]
15444         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15445         both struct timeval and struct timespec.
15447 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15449         [BZ #16560]
15450         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15451         and redefine.
15452         (__ieee754_exp2l): Do not multiply small fractional parts by
15453         M_LN2l.
15454         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15455         small argument.
15456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15457         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15458         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15459         * math/auto-libm-test-in: Add more tests of exp2.
15460         * math/auto-libm-test-out: Regenerated.
15462 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15464         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15465         unaligned path.
15467 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15469         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15470         little endian.
15472 2015-02-12  Andreas Schwab  <schwab@suse.de>
15474         [BZ #15790]
15475         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15476         Filter out elision flags from value returned in kind.
15477         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15478         * nptl/tst-pthread-mutexattr.c: New file.
15480 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15482         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15483         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15484         into gnu-gnu, and update comment to refer to abi-tags.
15486 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15488         [BZ #15467]
15489         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15490         (__sincos): Set errno to EDOM for infinite argument.
15491         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15492         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15493         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15494         (__sincosl): Set errno to EDOM for infinite argument.
15495         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15496         (__sincosl): Set errno to EDOM for infinite argument.
15497         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15498         (__sincosl): Set errno to EDOM for infinite argument.
15499         * math/libm-test.inc (sincos_test_data): Test errno setting.
15501 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15503         * string/strxfrm_l.c: Remove #define STRCMP.
15504         * string/strcoll_l.c: Remove #define STRLEN.
15505         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15506         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15508 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15510         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15511         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15512         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15513         * sysdeps/mips/mips64/Makefile: ... here.
15514         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15515         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15516         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15517         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15518         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15519         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15520         * sysdeps/mips/mips64/n64/Implies: Likewise.
15522 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15524         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15525         <sys/time.h>, <string.h>, and <errno.h>.
15526         (dest_offset, dest_address, value, zero): Remove unused variables.
15527         (ldouble): Remove typedef.
15528         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15529         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15530         1).  Fix code style.
15531         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15532         (check): Function removed.
15533         (CHECK): New macro.
15534         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15535         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15536         Don't call set_sigaction_FP and remove_sigaction_FP here.
15537         (ldouble_test): Just use 'long double' as macro argument, no need for
15538         the 'ldouble' typedef.
15539         (do_test): Set up SIGFPE handler at start, using plain signal rather
15540         than sigaction.  Fix code style.
15542 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15544         [BZ #17949]
15545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15546         jump label.
15548 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15550         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15551         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15553         * sysdeps/powerpc/configure.ac: Remove file.
15554         * sysdeps/powerpc/configure: Likewise.
15556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15557         [sysdep_routines]: Remove wordcopy-power6 object.
15558         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15559         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15560         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15561         (__memmove_ppc32): Likewise.
15562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15563         file.
15564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15566         Remove preprocessor.
15568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15569         [sysdep_routines]: Remove wide chars objects.
15570         [wcsmbs]: New rule for wide char objects.
15572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15573         Remove wordcopy-power6 obejct.
15574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15575         Use local call for wordcopy and memcpy symbols.
15576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15578         implementation for loader.
15579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15582         Remove wordcopy-power7 object.
15583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15585         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15586         (_wordcopy_fwd_dest_aligned): Likewise.
15587         (_wordcopy_bwd_aligned): Likewise.
15588         (_wordcopy_bwd_dest_aligned): Likewise.
15590         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15591         Rewrite to call __memmove_ppc instead of include default
15592         implementation.
15594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15595         Remove wide chars objects.
15596         [wcsmbs]: New rule for wide char objects.
15598 2015-02-09  Andreas Schwab  <schwab@suse.de>
15600         [BZ #17912]
15601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15602         in terms of __O_DIRECTORY.
15604 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15606         * time/getdate.c: Include <stdbool.h>.
15607         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15608         call PTR_MANGLE.
15609         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15610         PTR_DEMANGLE.
15612 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15614         Add ersatz _Static_assert on older C hosts
15615         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15616         pre-C11 C platform that is not known to support _Static_assert.
15618 2015-02-07  Richard Braun  <rbraun@sceen.net>
15620         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15621         sigstate.
15622         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15624 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15626         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15627         priority against unexistent AIO_PRIO_DELTA_MAX.
15628         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15629         instead of int.
15630         * misc/fchflags.c (fchflags): Likewise.
15631         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15632         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15633         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15634         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15635         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15636         Declare macros.
15637         [__USE_MISC] (chflags, fchflags): Declare functions.
15638         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15639         EINVAL when nfds is greater than FD_SETSIZE.
15640         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15641         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15642         45.
15643         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15644         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15645         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15646         MACH_RCV_TIMED_OUT.
15647         * hurd/hurd/signal.h (_hurd_self_sigstate,
15648         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15649         Explicit casts from void *.
15650         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15651         * abi-tags: Rename gnu-gnu os into gnu.
15653         [BZ #4719]
15654         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15655         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15656         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15657         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15658         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15659         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15661         [BZ #17944]
15662         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15663         duplicates ADDR->sun_path with sockaddr LEN limitation.
15664         * sysdeps/mach/hurd/connect.c: Include <string.h>
15665         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15666         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15667         * sysdeps/mach/hurd/sendto.c: Likewise.
15668         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15669         implementing it by hand.
15671 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15673         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15674         Use sfi_breg on ldr.
15675         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15676         Likewise.
15678         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15679         it's defined.
15680         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15681         Test SIGSETXID only if it's defined.
15683         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15685         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15686         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15688         * nptl/tst-align2.c: Moved ...
15689         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15690         * nptl/Makefile (tests): Remove tst-align2.
15691         * sysdeps/unix/sysv/linux/Makefile
15692         [$(subdir) = nptl] (tests): Add tst-align-clone.
15693         * nptl/tst-getpid1.c: Moved ...
15694         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15695         * nptl/tst-getpid2.c: Moved ...
15696         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15697         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15698         * sysdeps/unix/sysv/linux/Makefile
15699         [$(subdir) = nptl] (tests): ... here.
15700         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15701         * sysdeps/unix/sysv/linux/Makefile
15702         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15704         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15705         Drop trailing \n from perror argument.  Use return rather than exit.
15707         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15708         on [SA_SIGINFO].
15709         * nptl/tst-cancel21.c (do_test): Likewise.
15710         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15711         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15712         [!SA_SIGINFO]: Make it a stub test.
15714         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15715         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15717         * posix/tst-getlogin.c: Move to ...
15718         * login/tst-getlogin.c: ... here.
15719         * posix/Makefile (tests): Move tst-getlogin to ...
15720         * login/Makefile (tests): ... here.
15722         * libio/tst-atime.c (do_test): Move local variables SV and E
15723         inside [ST_NOATIME] conditional.
15725         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15727         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15729         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15730         (wait_code): New function replaces macro.
15731         Call nanosleep rather than syscall.
15733         * nptl/pt-system.c: Rewritten.  Put everything under
15734         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15735         Use IFUNC to redirect when possible.
15737         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15738         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15739         Use IFUNC to redirect when possible.
15741         * nptl/pt-fork.c: Rewritten.  Put everything under
15742         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15743         Use IFUNC to redirect when possible.
15744         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15746         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15747         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15748         unconditionally nowadays.  This included the only reference to
15749         __vdso_clock_gettime that appears outside libc proper.
15750         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15751         Remove version set (containing only __vdso_clock_gettime).
15752         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15753         Add attribute_hidden.
15754         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15755         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15756         libc_hidden_data_def.
15757         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15758         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15760         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15761         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15762         setrpcent, and getrpcport to ...
15763         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15764         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15765         getrpcbynumber_r, and getrpcent_r to ...
15766         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15767         * inet/getrpcbyname.c: Moved ...
15768         * sunrpc/getrpcbyname.c: ... here.
15769         * inet/getrpcbyname_r.c: Moved ...
15770         * sunrpc/getrpcbyname_r.c: ... here.
15771         * inet/getrpcbynumber.c: Moved ...
15772         * sunrpc/getrpcbynumber.c: ... here.
15773         * inet/getrpcbynumber_r.c: Moved ...
15774         * sunrpc/getrpcbynumber_r.c: ... here.
15775         * inet/getrpcent.c: Moved ...
15776         * sunrpc/getrpcent.c: ... here.
15777         * inet/getrpcent_r.c: Moved ...
15778         * sunrpc/getrpcent_r.c: ... here.
15779         * inet/Makefile (routines): Move those to ...
15780         * sunrpc/Makefile (routines): ... here.
15781         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15782         the $(subdirs) list.
15783         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15784         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15785         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15786         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15788         * elf/Makefile (routines): Include $(all-dl-routines), not just
15789         $(dl-routines).
15790         (rtld-routines): Likewise.  Use = rather than :=.
15791         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15792         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15793         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15794         * sysdeps/arm/Makefile: Likewise.
15795         * sysdeps/i386/Makefile: Likewise.
15796         * sysdeps/x86_64/Makefile: Likewise.
15797         * sysdeps/hppa/Makefile [$(subdir) = elf]
15798         (sysdep_routines, sysdep-rtld-routines): Don't add
15799         $(sysdep-dl-routines) to these.
15800         * sysdeps/ia64/Makefile: Likewise.
15801         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15802         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15803         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15804         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15805         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15806         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15807         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15808         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15809         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15810         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15811         these; sysdep-dl-routines alone is enough.
15813 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15815         [BZ #17932]
15816         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15817         where multiplication results in zero and third argument is finite
15818         and nonzero.
15819         * math/auto-libm-test-in: Add more tests of fma.
15820         * math/auto-libm-test-out: Regenerated.
15822         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15823         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15824         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15825         (_FP_CMP_EQ): Likewise.
15826         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15828         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15829         extra argument CHECK_NAN.  Redefine as wrapper around
15830         _FP_EXTEND_CNAN.
15832 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15834         * version.h (RELEASE): Set to "stable".
15835         (VERSION): Set to "2.21"
15836         * include/features.h (__GLIBC_MINOR__): Set to 21.
15838         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15840 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15841             Paul Eggert  <eggert@cs.ucla.edu>
15843         [BZ #16618]
15844         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15846         size in bytes. Store needed elements in wpmax. Use needed size
15847         in bytes for extend_alloca.
15849 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15851         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15852         binutls 2.25, and texinfo 5.2.
15853         * INSTALL: Regenerate.
15854         * sysdeps/nios2/configure: Regenerate.
15855         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15856         * manual/contrib.texi: Update.
15857         * po/be.po: Update.
15858         * po/bg.po: Update.
15859         * po/ca.po: Update.
15860         * po/cs.po: Update.
15861         * po/da.po: Update.
15862         * po/de.po: Update.
15863         * po/el.po: Update.
15864         * po/eo.po: Update.
15865         * po/es.po: Update.
15866         * po/fi.po: Update.
15867         * po/fr.po: Update.
15868         * po/gl.po: Update.
15869         * po/hr.po: Update.
15870         * po/hu.po: Update.
15871         * po/ia.po: Update.
15872         * po/id.po: Update.
15873         * po/it.po: Update.
15874         * po/ja.po: Update.
15875         * po/ko.po: Update.
15876         * po/lt.po: Update.
15877         * po/nb.po: Update.
15878         * po/nl.po: Update.
15879         * po/pl.po: Update.
15880         * po/pt_BR.po: Update.
15881         * po/ru.po: Update.
15882         * po/rw.po: Update.
15883         * po/sk.po: Update.
15884         * po/sl.po: Update.
15885         * po/sv.po: Update.
15886         * po/tr.po: Update.
15887         * po/uk.po: Update.
15888         * po/vi.po: Update.
15889         * po/zh_CN.po: Update.
15890         * po/zh_TW.po: Update.
15892         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15893         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15894         * sysdeps/hppa/dl-irel.h: Remove #warning.
15895         * sysdeps/hppa/entry.h: Provide prototype for
15896         __canonicalize_funcptr_for_compare and cast argument.
15897         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15898         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15899         * sysdeps/hppa/sotruss-lib.c: New file.
15900         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15901         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15902         (atomic_compare_and_exchange_bool_acq): Likewise.
15903         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15904         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15906         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15907         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15908         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15910 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15912         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15913         called function in non-PIC case.
15915 2015-01-31  David S. Miller  <davem@davemloft.net>
15917         * sysdeps/sparc/sparc32/bits/atomic.h
15918         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15919         unlock not after it.
15920         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15921         volatile register usage warnings from the compiler.
15923         * sysdeps/sparc/nptl/sem_init.c: Delete.
15924         * sysdeps/sparc/nptl/sem_post.c: Delete.
15925         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15926         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15927         * sysdeps/sparc/sparc32/sem_init.c: New file.
15928         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15929         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15930         padding explicitly initialized.
15931         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15932         padding for in-semaphore spinlock.
15933         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15934         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15935         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15936         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15937         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15938         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15939         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15940         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15941         version.
15942         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15943         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15945 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15947         [BZ #17801]
15948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15949         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15950         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15951         New.
15952         (index_AVX_Fast_Unaligned_Load): Likewise.
15953         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15954         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15955         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15956         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15957         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15958         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15959         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15960         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15961         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15963 2015-01-29  Andreas Schwab  <schwab@suse.de>
15965         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15967 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15969         [BZ #17892]
15970         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15972 2015-01-28  Martin Sebor  <msebor@redhat.com>
15974         * math/README.libm-test: Clarify. Add "How to read the test output."
15976 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15978         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15979         Define to 0.
15981 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15983         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15984         (__HAVE_64B_ATOMICS): Define to 0.
15986 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15988         [BZ #17885]
15989         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15990         value to set as new flag.
15992         [BZ #16576]
15993         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15994         and use _ARCH_PPCSQ instead.
15995         (__ieee754_sqrt): Likewise.
15996         (__ieee754_sqrtf): Likewise.
15997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15998         _ARCH_PPCSQ is defined.
15999         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16000         fsqrt instruction.
16001         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16002         _ARCH_PPCSQ is defined.
16003         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16004         fsqrts instruction.
16005         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16007 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16009         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16010         bug (GCC BZ #64739).
16012 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16014         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16015         Mark _retval as used.
16016         (lll_futex_wake_unlock): Likewise.
16017         (lll_futex_timed_wait_requeue_pi): Likewise.
16019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16020         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16021         register variables.
16023         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16024         libm_hidden_def.
16026         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16027         (__bswap_64): Mark as __always_inline.
16029 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16031         [BZ #15378]
16032         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16033         when none of the search directories exist.
16035 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16037         [BZ #17869]
16038         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16039         power8 in .machine directive.
16041         [BZ #17868]
16042         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16043         set dependency from opd value.
16045 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16048         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16049         architecture.
16051 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16053         [BZ #17870]
16054         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16055         with uint64_t.
16056         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16057         (uint64_t) 1.
16058         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16059         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16060         Replace 1UL with (uint64_t) 1.
16061         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16062         int with uint64_t.
16064 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16066         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16067         (if_freenameindex): Likewise.
16069         * resource/getrlimit64.c: Add missing libc_hidden_def.
16071 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16073         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16074         __label__.
16075         (_FP_FMA): Likewise.
16076         (_FP_TO_INT_ROUND): Likewise.
16077         (_FP_FROM_INT): Likewise.
16079 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16081         [BZ #16418]
16082         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16083         Make code racy and cancel safe.
16085 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16087         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16088         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16089         attribution.
16091         * pwd/tst-getpw.c: Rewrite.
16093         [BZ #17702]
16094         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16095         (modules-names): Add moddummy1 and moddummy2.
16096         ($(objpfx)tst-rec-dlopen): Define.
16097         * dlfcn/moddummy1.c: New file.
16098         * dlfcn/moddummy2.c: New file.
16099         * dlfcn/tst-rec-dlopen.c: New file.
16100         * elf/dl-cache.c (_dl_load_cache_lookup):
16101         Return char*. Copy result with alloca/strcpy/strdup.
16102         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16103         returns char*. Free cached. If not saving realname
16104         free cached.
16105         * elf/dl-open.c (dl_open_worker): Do not assert that
16106         _r_debug->r_state is RT_CONSISTENT.
16107         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16108         returns char*.
16110 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16111             Carlos O'Donell  <carlos@redhat.com>
16113         [BZ #12674]
16114         * nptl/sem_waitcommon.c: New file.
16115         * nptl/sem_wait.c: Include sem_waitcommon.c.
16116         (__sem_wait_cleanup, do_futex_wait): Remove.
16117         (__new_sem_wait): Adapt.
16118         (__new_sem_trywait): New function.
16119         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16120         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16121         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16122         (sem_timedwait): Adapt.
16123         * nptl/sem_post.c (__new_sem_post): Adapt.
16124         (futex_wake): New function.
16125         (__old_sem_post): Add release MO fence.
16126         * nptl/sem_open.c (sem_open): Adapt.
16127         * nptl/sem_init.c (__new_sem_init): Adapt.
16128         (futex_private_if_supported): New function.
16129         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16130         (__old_sem_getvalue): Add using previous code.
16131         * sysdeps/nptl/internaltypes.h: Adapt.
16132         * nptl/tst-sem13.c (do_test): Adapt.
16133         * nptl/tst-sem11.c (main): Adapt.
16134         * nptl/sem_trywait.c: Remove.
16135         * nptl/DESIGN-sem.txt: Remove.
16136         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16137         (gen-as-const-headers): Remove structsem.sym.
16138         * nptl/structsem.sym: Remove.
16139         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16140         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16141         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16142         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16143         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16144         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16145         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16146         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16147         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16148         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16149         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16150         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16151         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16152         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16153         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16154         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16155         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16156         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16157         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16158         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16159         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16160         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16162 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16164         * INSTALL: Regenerated.
16166         * po/libc.pot: Regenerated.
16168 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16169             Sandra Loosemore  <sandra@codesourcery.com>
16170             Andrew Jenner  <andrew@codesourcery.com>
16171             Joseph Myers  <joseph@codesourcery.com>
16172             Nathan Sidwell  <nathan@codesourcery.com>
16174         * NEWS: Mention new Nios II port.
16175         * sysdeps/nios2/Implies: New file.
16176         * sysdeps/nios2/Makefile: New file.
16177         * sysdeps/nios2/Subdirs: New file.
16178         * sysdeps/nios2/Versions: New file.
16179         * sysdeps/nios2/__longjmp.S: New file.
16180         * sysdeps/nios2/abort-instr.h: New file.
16181         * sysdeps/nios2/backtrace.c: New file.
16182         * sysdeps/nios2/bits/endian.h: New file.
16183         * sysdeps/nios2/bits/fenv.h: New file.
16184         * sysdeps/nios2/bits/link.h: New file.
16185         * sysdeps/nios2/bits/setjmp.h: New file.
16186         * sysdeps/nios2/bsd-_setjmp.S: New file.
16187         * sysdeps/nios2/bsd-setjmp.S: New file.
16188         * sysdeps/nios2/configure: New generated file.
16189         * sysdeps/nios2/configure.ac: New file.
16190         * sysdeps/nios2/crti.S: New file.
16191         * sysdeps/nios2/crtn.S: New file.
16192         * sysdeps/nios2/dl-init.c: New file.
16193         * sysdeps/nios2/dl-machine.h: New file.
16194         * sysdeps/nios2/dl-sysdep.h: New file.
16195         * sysdeps/nios2/dl-tls.h: New file.
16196         * sysdeps/nios2/dl-trampoline.S: New file.
16197         * sysdeps/nios2/gccframe.h: New file.
16198         * sysdeps/nios2/gmp-mparam.h: New file.
16199         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16200         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16201         * sysdeps/nios2/ldsodefs.h: New file.
16202         * sysdeps/nios2/libc-tls.c: New file.
16203         * sysdeps/nios2/libm-test-ulps: New file.
16204         * sysdeps/nios2/machine-gmon.h: New file.
16205         * sysdeps/nios2/math-tests.h: New file.
16206         * sysdeps/nios2/math_private.h: New file.
16207         * sysdeps/nios2/memusage.h: New file.
16208         * sysdeps/nios2/nptl/Makefile: New file.
16209         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16210         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16211         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16212         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16213         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16214         * sysdeps/nios2/nptl/tls.h: New file.
16215         * sysdeps/nios2/preconfigure: New file.
16216         * sysdeps/nios2/s_fma.c: New file.
16217         * sysdeps/nios2/s_fmaf.c: New file.
16218         * sysdeps/nios2/setjmp.S: New file.
16219         * sysdeps/nios2/sfp-machine.h: New file.
16220         * sysdeps/nios2/sotruss-lib.c: New file.
16221         * sysdeps/nios2/stackguard-macros.h: New file.
16222         * sysdeps/nios2/stackinfo.h: New file.
16223         * sysdeps/nios2/start.S: New file.
16224         * sysdeps/nios2/sysdep.h: New file.
16225         * sysdeps/nios2/tls-macros.h: New file.
16226         * sysdeps/nios2/tst-audit.h: New file.
16227         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16228         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16229         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16230         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16231         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16232         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16233         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16234         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16235         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16236         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16237         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16238         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16239         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16240         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16241         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16242         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16243         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16244         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16245         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16246         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16247         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16248         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16249         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16250         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16251         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16252         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16253         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16254         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16255         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16256         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16257         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16258         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16259         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16260         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16261         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16262         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16263         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16264         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16265         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16266         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16267         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16268         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16269         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16270         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16272 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16274         [BZ #17844]
16275         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16276         (getutent): Use weak_alias in non SHARED case
16277         and default_symbol_version in SHARED case.
16278         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16279         (getutent_r, pututline): Likewise.
16280         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16281         (getutid): Likewise.
16282         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16283         (getutid_r): Likewise.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16285         (getutline): Likewise.
16286         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16287         (getutline_r): Likewise.
16288         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16289         (updwtmp): Likewise.
16291 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16293         [BZ #17848]
16294         * sysdeps/s390/s390-32/memcmp.S
16295         (memcmp_g5): Rename to __memcmp_g5.
16296         * sysdeps/s390/s390-32/memcpy.S
16297         (memcpy_g5): Rename to __memcpy_g5.
16298         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16299         (memcpy_mvcle) Rename to __memcpy_mvcle.
16300         * sysdeps/s390/s390-32/memset.S
16301         (memset_g5): Rename to __memset_g5.
16302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16303         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16304         and use prefixed functions.
16305         * sysdeps/s390/s390-32/multiarch/memcmp.S
16306         (memcmp_z196): Rename to __memcmp_z196.
16307         (memcmp_z10): Rename to __memcmp_z10.
16308         (memcmp): Set alias to __memcmp_g5.
16309         (bcmp): Set alias to __memcmp_g5.
16310         * sysdeps/s390/s390-32/multiarch/memcpy.S
16311         (memcpy_z196): Rename to __memcpy_z196.
16312         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16313         (memcpy_z10): Rename to __memcpy_z10.
16314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16315         (memcpy): Set alias to __memcpy_g5.
16316         * sysdeps/s390/s390-32/multiarch/memset.S
16317         (memset_z196): Rename to __memset_z196.
16318         Jump to __memset_mvcle instead of memset_mvcle.
16319         (memset_z10): Rename to __memset_z10.
16320         Jump to __memset_mvcle instead of memset_mvcle.
16321         (memset_mvcle) Rename to __memset_mvcle.
16322         (memset): Set alias to __memset_g5.
16323         * sysdeps/s390/s390-64/memcmp.S
16324         (memcmp_z900): Rename to __memcmp_z900.
16325         * sysdeps/s390/s390-64/memcpy.S
16326         (memcpy_z900): Rename to __memcpy_z900.
16327         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16328         (memcpy_mvcle) Rename to __memcpy_mvcle.
16329         * sysdeps/s390/s390-64/memset.S
16330         (memset_z900): Rename to __memset_z900.
16331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16332         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16333         and use prefixed functions.
16334         * sysdeps/s390/s390-64/multiarch/memcmp.S
16335         (memcmp_z196): Rename to __memcmp_z196.
16336         (memcmp_z10): Rename to __memcmp_z10.
16337         (memcmp): Set alias to __memcmp_z900.
16338         (bcmp): Set alias to __memcmp_z900.
16339         * sysdeps/s390/s390-64/multiarch/memcpy.S
16340         (memcpy_z196): Rename to __memcpy_z196.
16341         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16342         (memcpy_z10): Rename to __memcpy_z10.
16343         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16344         (memcpy): Set alias to __memcpy_z900.
16345         * sysdeps/s390/s390-64/multiarch/memset.S
16346         (memset_z196): Rename to __memset_z196.
16347         Jump to __memset_mvcle instead of memset_mvcle.
16348         (memset_z10): Rename to __memset_z10.
16349         Jump to __memset_mvcle instead of memset_mvcle.
16350         (memset_mvcle) Rename to __memset_mvcle.
16351         (memset): Set alias to __memset_z900.
16353 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #17748]
16356         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16357         __fesetenv instead of fesetenv.
16359 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16361         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16362         macro.
16364 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16366         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16367         regression on LE.
16369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16370         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16372         strncmp-power8 object.
16373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16374         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16376         * NEWS: Update.
16378 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16379             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16381         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16382         trailing byte check.
16384 2015-01-13  David S. Miller  <davem@davemloft.net>
16386         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16388 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16390         * login/logout.c (logout): Use memset rather than bzero.
16391         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16392         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16393         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16394         (_gethtbyaddr): Likewise.
16395         * locale/programs/simple-hash.c (bcopy): Macro removed.
16397 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16400         Add strcmp-power8 object.
16401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16402         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16404         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16405         __strcmp_power8 implementation.
16406         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16407         * NEWS: Update.
16409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16410         Add strncpy-power8 and stpncpy-power8 objects.
16411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16412         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16413         implementations.
16414         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16415         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16416         __stpncpy_power8 implementation.
16417         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16418         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16419         __strncpy_power8 implementation.
16420         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16421         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16422         * NEWS: Update.
16424         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16425         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16426         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16429         strncat-power8 object.
16430         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16431         __strcat_power8 implementation.
16432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16433         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16434         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16435         optimized strcat for power8.
16437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16438         strcpy-power8 and stpcpy-power8 objects.
16439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16440         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16441         implementations.
16442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16443         multiarch stpcpy implementation for POWER8.
16444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16445         multiarch strcpy implementation for POWER8.
16446         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16447         __strcpy_power8 function.
16448         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16449         stpcpy for POWER8.
16450         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16451         strcpy for POWER8.
16452         * NEWS: Update.
16454 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16456         [BZ #16009]
16457         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16458         weights and rules. Use do_xfrm_cached if data fits in cache,
16459         do_xfrm otherwise.  Moved former main loop to...
16460         * (do_xfrm_cached): New function.
16461         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16462         find_idx, find_position and stack_push.
16463         * (find_idx): New function.
16464         * (find_position): Likewise.
16465         * localedata/sort-test.sh: Added test run for do_xfrm.
16466         * localedata/xfrm-test.c (main): Added command line option
16467         -nocache to run the test with strings that are too large for
16468         the STRXFRM cache.
16470 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16472         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16473         variable to lll_futex_wake call, not the value itself.
16475 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16477         [BZ #17803]
16478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16479         twom64.  Adjust value to 0x1p-64L.
16480         (__scalblnl): Only return standard underflowing result for K <=
16481         -64 not K <= -63; adjust exponent for underflowing result by 64
16482         not 63.
16483         * math/libm-test.inc (scalbn_test_data): Add more tests.
16484         (scalbln_test_data): Likewise.
16486         [BZ #17834]
16487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16488         0x1p63L.
16489         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16490         not HX.
16491         * math/libm-test.inc (scalbn_test_data): Add more tests.
16492         (scalbln_test_data): Likewise.
16494 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16495             Stefani Seibold  <stefani@seibold.net>
16497         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16498         (sysdep_routines): Add dl-vdso here, ...
16499         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16500         (sysdep_routines): ... not here.
16501         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16502         fallback when vDSO is not presented.
16503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16504         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16505         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16506         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16507         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16508         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16509         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16511         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16513         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16514         fallback configurable symbol when vDSO is not available.
16515         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16516         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16517         be able to redefine fallback symbol when vDSO is not available.
16518         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16519         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16521 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16523         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16524         (TLS_INIT_TP): Add tm_capable initialization.
16525         (TLS_DEFINE_INIT_TP): Likewise.
16526         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16527         TCB.
16528         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16529         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16530         calculation.
16531         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16532         transactoion is lock elision is built and TCB tm_capable is set.
16533         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16535         (INTERNAL_SYSCALL_NCS): Likewise.
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16537         (INTERNAL_SYSCALL_NCS): Likewise.
16538         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16540         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16541         for powerpc.
16542         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16543         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16544         and remove it for 32 bits case.
16545         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16547         initialization.
16548         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16549         Disable lock elision with rdlocks if elision is not available.
16551         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16552         (sysdep_routines): Add lock elision objects.
16553         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16554         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16555         [pthread_mutex_t] (__elision): Add field.
16556         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16557         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16558         elision definitions for powerpc.
16559         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16560         implementation of lock elision for powerpc.
16561         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16562         implementation of timed lock elision for powerpc.
16563         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16564         implementation of trylock with lock elision for powerpc.
16565         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16566         implementaion of unlock for lock elision for powerpc.
16567         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16568         automatic enable lock elision for mutexes.
16569         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16570         transaction execution definitions for powerpc.
16571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16572         definitions.
16573         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16574         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16575         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16576         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16577         * NEWS: Update.
16579 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16581         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16582         for #include of <shm-directory.h>.
16584 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16587         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16589 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16591         [BZ #17791]
16592         * NEWS: Mention bug fix.
16593         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16594         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16595         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16597 2015-01-09  Torvald Riegel <triegel@redhat.com>
16599         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16601 2015-01-09  Torvald Riegel <triegel@redhat.com>
16603         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16605 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16607         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16608         pointer and cast to uintptr_t.
16610 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16612         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16613         removed.
16614         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16616 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16618         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16619         of 0.
16621 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16623         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16624         <nptl/pthreadP.h> instead.
16625         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16627         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16628         already defined.
16629         [__SIGRTMIN] (init): Function removed.
16630         [__SIGRTMIN] (initialized): Variable removed.
16631         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16632         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16633         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16634         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16635         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16636         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16637         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16638         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16639         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16640         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16641         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16642         * sysdeps/nptl/allocrtsig.c: New file.
16643         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16644         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16645         * sysdeps/generic/testrtsig.h: File removed.
16647         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16648         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16650         * nptl/nptl-init.c (pthread_functions): Conditionalize
16651         .ptr__nptl_setxid initialization on [SIGSETXID].
16653         * sysdeps/nptl/sys/procfs.h: New file.
16654         * nptl_db/Makefile (headers): Add it.
16655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16657         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16658         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16659         * nptl/pthread_attr_setaffinity.c: Include it.
16660         * nptl/pthread_setattr_default_np.c: Likewise.
16661         * nptl/check-cpuset.h: New file.
16663 2015-01-08  Richard Henderson  <rth@redhat.com>
16665         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16666         (CFLAGS-tst-execstack-prog.c): Likewise.
16667         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16669 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16670             Sandra Loosemore  <sandra@codesourcery.com>
16671             Andrew Jenner  <andrew@codesourcery.com>
16672             Joseph Myers  <joseph@codesourcery.com>
16673             Nathan Sidwell  <nathan@codesourcery.com>
16675         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16676         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16677         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16678         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16679         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16680         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16681         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16682         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16683         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16684         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16685         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16686         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16687         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16688         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16689         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16690         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16691         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16693 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16695         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16696         timespec struct member in syscall macro.
16697         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16699         first timeval struct member in syscall macro.
16700         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16702 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #17748]
16705         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16706         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16707         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16708         __feupdateenv and define as weak alias of __feupdateenv.  Use
16709         libm_hidden_weak.
16710         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16711         libm_hidden_def.
16712         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16713         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16714         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16715         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16716         libm_hidden_def.
16717         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16718         __feupdateenv and define as weak alias of __feupdateenv.  Use
16719         libm_hidden_weak.
16720         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16721         libm_hidden_def.
16722         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16723         __feupdateenv and define as weak alias of __feupdateenv.  Use
16724         libm_hidden_weak.
16725         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16726         libm_hidden_def.
16727         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16728         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16729         (__feupdateenv): Likewise.
16730         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16731         __feupdateenv and define as weak alias of __feupdateenv.  Use
16732         libm_hidden_weak.
16733         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16734         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16735         libm_hidden_def.
16736         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16737         function.
16738         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16739         libm_hidden_def.
16740         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16741         __feupdateenv instead of feupdateenv.
16742         (default_libc_feupdateenv_test): Likewise.
16743         (libc_feresetround_ctx): Likewise.
16745 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16747         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16748         prototype.
16750 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16752         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16753         COLL_SYM in a couple of places to avoid uninitialized variable
16754         wanings on tilegx gcc 4.8.2.
16756 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16758         * sysdeps/aarch64/strcpy.S: New file.
16759         * sysdeps/aarch64/stpcpy.S: New file.
16760         * NEWS: Updated.
16762 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16764         * sysdeps/aarch64/strrchr.S: New file.
16765         * NEWS: Updated.
16767 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16769         [BZ #17658]
16770         * stdlib/setenv.c: Fix memory leak when setting large,
16771         duplicate string.
16773 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16775         [BZ #17273]
16776         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16777         and tabs from buffer before parsing fstab entry.
16778         * misc/tst-mntent.c (main): Add test for mount entry with
16779         trailing spaces and tabs.
16781 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #17748]
16784         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16785         * math/fesetround.c (fesetround): Rename to __fesetround and
16786         define as weak alias of __fesetround.  Use libm_hidden_weak.
16787         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16788         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16789         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16790         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16791         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16792         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16793         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16794         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16795         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16796         __fesetround_inline.
16797         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16798         __fesetround_inline instead of __fesetround.
16799         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16800         __fesetround and define as weak alias of __fesetround.  Use
16801         libm_hidden_weak.  Call __fesetround_inline instead of
16802         __fesetround.
16803         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16804         __fesetround and define as weak alias of __fesetround.  Use
16805         libm_hidden_weak.
16806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16807         Likewise.
16808         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16809         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16810         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16811         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16812         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16813         __fesetround and define as weak alias of __fesetround.  Use
16814         libm_hidden_weak.
16815         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16816         __fesetround instead of fesetround.
16817         (default_libc_feholdexcept_setround): Likewise.
16818         (libc_feholdsetround_ctx): Likewise.
16819         (libc_feholdsetround_noex_ctx): Likewise.
16821         [BZ #17748]
16822         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16823         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16824         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16825         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16826         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16827         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16828         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16829         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16830         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16831         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16832         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16833         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16834         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16835         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16836         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16837         libm_hidden_def.
16838         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16839         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16840         Likewise.
16841         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16842         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16843         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16844         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16845         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16846         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16847         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16848         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16849         __fesetenv instead of fesetenv.
16850         (libc_feresetround_noex_ctx): Likewise.
16851         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16852         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16853         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16855         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16857         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16858         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16859         (__feupdateenv): Likewise.
16860         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16863         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16865 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16867         [BZ #17806]
16868         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16869         addresses have been freed.
16871 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16873         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16874         and nservall.
16876 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16878         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16879         Clean up check_pf allocation pattern. addresses
16881 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16883         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16884         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16885         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16886         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16887         * nptl/pthread_join.c (pthread_join): Likewise.
16888         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16889         * sysdeps/posix/waitid.c (__waitid): Likewise.
16890         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16891         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16892         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16893         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16895         Likewise.
16896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16897         (__libc_pread64): Likewise.
16898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16899         (__libc_pwrite): Likewise.
16900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16901         (__libc_pwrite64): Likewsie.
16902         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16903         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16904         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16905         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16906         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16907         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16908         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16910         Likewise.
16911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16912         (__libc_pread64): Likewise.
16913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16914         Likewise.
16915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16916         (__libc_pwrite64): Likewise.
16917         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16918         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16919         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16920         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16921         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16922         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16923         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16924         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16925         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16926         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16927         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16928         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16929         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16930         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16931         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16932         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16933         Likewise.
16935 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16937         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16938         (CFLAGS-test-double.c): Likewise.
16939         (CFLAGS-test-ldouble.c): Likewise.
16940         (CPPFLAGS-test-ifloat.c): Likewise.
16941         (CPPFLAGS-test-idouble.c): Likewise.
16942         (CPPFLAGS-test-ildoubl.c): Likewise.
16943         (CFLAGS-test-test-fenv.c): Remove variable.
16944         (CFLAGS-test-misc.c): Likewise.
16946 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16948         [BZ #17797]
16949         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16950         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16951         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16952         CLOCKS_PER_SEC == 1000000.
16953         * time/clocktest.c (main): Replace %ld with %jd and cast to
16954         intmax_t.
16956 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16958         * sysdeps/generic/unwind-resume.h: New file.
16959         * sysdeps/gnu/unwind-resume.c: Include it.
16960         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16961         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16962         argument list.
16963         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16964         global rather than static.
16965         (_Unwind_Resume): Update user.
16966         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16967         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16968         rather than static.  Add __attribute__ ((cold)).
16969         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16970         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16971         * sysdeps/arm/arm-unwind-resume.S: New file.
16972         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16973         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16974         * sysdeps/arm/Makefile [$(subdir) = csu]
16975         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16976         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16977         Add rt-arm-unwind-resume.
16978         [$(subdir) = nptl]
16979         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16980         Add pt-arm-unwind-resume.
16981         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16984 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16986         [BZ #17748]
16987         * include/fenv.h (__feholdexcept): Declare.  Use
16988         libm_hidden_proto.
16989         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16990         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16991         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16992         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16993         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16994         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16995         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16996         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16997         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16998         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17000         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17001         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17002         (feholdexcept): Likewise.
17003         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17004         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17005         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17006         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17007         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17008         __feholdexcept instead of feholdexcept.
17009         (default_libc_feholdexcept_setround): Likewise.
17011 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17013         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17014         to avoid using stl/str to align destination.
17016 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17018         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17020 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17022         [BZ #17796]
17023         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17024         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17025         Define as weak alias not strong alias.
17027 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17029         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17030         bltzal with addiupc.
17031         (RTLD_START): Ditto.
17033 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17035         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17036         for __vdso_* functions in declarations.
17037         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17038         definitions.
17039         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17040         INTERNAL_VSYSCALL): Use struct return types to check for error.
17042         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17043         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17044         function with cast from llround().
17045         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17046         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17047         Define.
17049 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17051         [BZ #17793]
17052         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17053         Define as weak alias not strong alias.
17055         [BZ #17635]
17056         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17057         ...
17058         * ctype/ctype-extn.c: ... here.
17059         (__isblank_l): Move to ...
17060         * ctype/ctype-c99_l.c: ... here.  New file.
17061         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17062         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17063         Remove variable.
17064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17065         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17066         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17067         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17068         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17070         [BZ #17777]
17071         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17072         (posix_fadvise64): Define as weak alias not strong alias.
17073         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17074         (posix_fallocate64): Likewise.
17075         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17076         Remove variable.
17077         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17078         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17079         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17080         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17081         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17083 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17085         [BZ #16191]
17086         * NEWS: Mention bug fix.
17087         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17088         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17089         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17090         (HOST_STACK_END_ADDR): Likewise.
17092 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17094         [BZ #17748]
17095         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17096         * math/fegetround.c (fegetround): Rename to __fegetround and
17097         define as weak alias of __fegetround.  Use libm_hidden_weak.
17098         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17099         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17100         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17101         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17102         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17103         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17104         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17105         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17106         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17107         Undefine after rather than before function definition; use
17108         parentheses around function name in definition.
17109         (__fegetround): Also undefine macro after function definition.
17110         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17111         __fegetround and define as weak alias of __fegetround.  Use
17112         libm_hidden_weak.  Do not undefine as macro.
17113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17114         Likewise.
17115         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17116         __fegetround and define as weak alias of __fegetround.  Use
17117         libm_hidden_weak.
17118         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17119         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17120         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17121         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17122         __fegetround and define as weak alias of __fegetround.  Use
17123         libm_hidden_weak.
17124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17125         __fegetround instead of fegetround.
17127         [BZ #17782]
17128         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17129         Condition macro definition on [__USE_MISC].
17131         [BZ #17781]
17132         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17133         (struct sigaction): Change type of sa_flags field to int.
17135         [BZ #17780]
17136         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17137         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17138         __glibc_reserved0.
17140         * nptl/version.c (banner): Use single year in copyright notice.
17142         * NEWS: Update copyright dates.
17143         * catgets/gencat.c (print_version): Likewise.
17144         * csu/version.c (banner): Likewise.
17145         * debug/catchsegv.sh: Likewise.
17146         * debug/pcprofiledump.c (print_version): Likewise.
17147         * debug/xtrace.sh (do_version): Likewise.
17148         * elf/ldconfig.c (print_version): Likewise.
17149         * elf/ldd.bash.in: Likewise.
17150         * elf/pldd.c (print_version): Likewise.
17151         * elf/sotruss.sh: Likewise.
17152         * elf/sprof.c (print_version): Likewise.
17153         * iconv/iconv_prog.c (print_version): Likewise.
17154         * iconv/iconvconfig.c (print_version): Likewise.
17155         * locale/programs/locale.c (print_version): Likewise.
17156         * locale/programs/localedef.c (print_version): Likewise.
17157         * login/programs/pt_chown.c (print_version): Likewise.
17158         * malloc/memusage.sh (do_version): Likewise.
17159         * malloc/memusagestat.c (print_version): Likewise.
17160         * malloc/mtrace.pl: Likewise.
17161         * manual/libc.texinfo: Likewise.
17162         * nptl/version.c (banner): Likewise.
17163         * nscd/nscd.c (print_version): Likewise.
17164         * nss/getent.c (print_version): Likewise.
17165         * nss/makedb.c (print_version): Likewise.
17166         * posix/getconf.c (main): Likewise.
17167         * scripts/test-installation.pl: Likewise.
17168         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17170 2015-01-02  Will Newton  <will.newton@linaro.org>
17172         * sysdeps/arm/armv7/configure: Removed.
17173         * sysdeps/arm/armv7/configure.ac: Likewise.
17175 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17177         * All files with FSF copyright notices: Update copyright dates
17178         using scripts/update-copyrights.
17179         * intl/plural.c: Regenerated.
17180         * locale/programs/charmap-kw.h: Likewise.
17181         * locale/programs/locfile-kw.h: Likewise.
17183 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17185         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17187 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17189         [BZ #17748]
17190         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17191         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17192         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17193         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17194         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17195         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17196         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17197         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17198         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17199         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17200         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17201         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17202         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17203         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17204         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17205         libm_hidden_def.
17206         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17208         Likewise.
17209         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17210         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17212         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17213         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17214         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17215         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17216         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17217         __fegetenv instead of fegetenv.
17218         (libc_feholdsetround_noex_ctx): Likewise.
17220 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17222         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17223         (Elf_MIPS_ABIFlags_v0): New structure.
17224         (EF_MIPS_FP64): Define.
17225         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17226         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17227         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17228         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17229         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17230         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17231         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17232         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17233         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17234         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17235         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17236         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17237         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17238         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17239         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17240         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17241         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17242         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17243         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17244         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17245         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17246         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17247         field.
17248         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17249         EF_MIPS_FP64.
17250         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17251         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17252         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17253         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17254         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17255         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17256         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17257         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17258         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17259         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17260         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17261         record the current FP ABI extension.
17262         (mips-mode-switch): Define to show if kernel headers support mode
17263         switching.
17264         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17265         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17266         supported SYSV ABI version to 3.
17267         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17268         feature.
17270 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17273         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17274         path.
17275         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17277 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17279         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17280         __fegetround and redefine to call __fegetround.  Remove condition
17281         on [!__NO_MATH_INLINES].
17282         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17283         function.
17284         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17285         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17286         Remove macro.
17287         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17288         instead of <fenv_libc.h>.
17289         (__llrintl): Call fegetround instead of __fegetround.
17290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17291         instead of <fenv_libc.h>.
17292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17293         (__lrintl): Call fegetround instead of __fegetround.
17294         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17295         instead of <fenv_libc.h>.
17296         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17297         (__rintl): Call fegetround instead of __fegetround.
17299 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17301         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17302         arrays.
17304 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17306         [BZ #17775]
17307         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17308         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17309         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17311 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17313         * sysdeps/i386/tls-macros.h: Include <features.h>.
17314         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17315         (TLS_IE): Likewise.
17316         (TLS_LD): Likewise.
17317         (TLS_GD): Likewise.
17318         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17319         define for GCC >= 5.0.
17321 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17323         * math/test-fenv.c (test_single_exception, set_single_exc,
17324         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17325         feexcp_mask_test, feenable_test, fe_single_test): Add
17326         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17327         case where they are not used.
17328         * math/libm-test.inc: Likewise.
17329         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17330         unused in the absence of FP rounding/exception support.
17331         * stdio-common/tst-printf-round.c: Likewise.
17332         * stdlib/tst-strtod-round.c: Likewise.
17333         * stdlib/tst-strtod-underflow.c: Likewise.
17335 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17337         [BZ #17723]
17338         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17339         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17340         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17341         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17342         libm_hidden_weak.
17343         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17344         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17345         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17346         libm_hidden_def.
17347         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17349         libm_hidden_weak.
17350         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17351         Likewise.
17352         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17353         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17354         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17355         libm_hidden_weak.
17356         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17357         libm_hidden_def.
17358         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17359         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17360         (__feraiseexcept): Likewise.
17361         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17362         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17363         libm_hidden_weak.
17364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17365         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17366         libm_hidden_def.
17367         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17368         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17369         Use libm_hidden_def.
17370         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17371         libm_hidden_def.
17372         (feraiseexcept): Define as weak not strong alias.  Use
17373         libm_hidden_weak.
17374         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17375         New inline function.  Factored out of ...
17376         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17377         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17378         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17379         feraiseexcept.
17380         * math/w_acos.c (__acos): Likewise.
17381         * math/w_asin.c (__asin): Likewise.
17382         * math/w_ilogb.c (__ilogb): Likewise.
17383         * math/w_j0.c (y0): Likewise.
17384         * math/w_j1.c (y1): Likewise.
17385         * math/w_jn.c (yn): Likewise.
17386         * math/w_log.c (__log): Likewise.
17387         * math/w_log10.c (__log10): Likewise.
17388         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17389         * sysdeps/aarch64/fpu/math_private.h
17390         (libc_feupdateenv_test_aarch64): Likewise.
17391         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17392         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17393         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17394         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17395         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17396         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17399         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17400         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17402 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17404         [BZ #17732]
17405         * io/test-utime.c (main): Replace %ld with %jd and cast to
17406         intmax_t.
17407         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17408         * nptl/tst-mutex5.c: Include <stdint.h>.
17409         (do_test): Replace %ld with %jd and cast to intmax_t.
17410         * posix/tst-regex.c (run_test): Likewise.
17411         (run_test_backwards): Likewise.
17412         * rt/tst-clock.c: Include <stdint.h>.
17413         (clock_test): Replace %ld with %jd and cast to intmax_t.
17414         * rt/tst-cpuclock1.c: Include <stdint.h>.
17415         (do_test): Replace %lu with %ju and cast to uintmax_t.
17416         * rt/tst-cpuclock2.c: Include <stdint.h>.
17417         (do_test): Replace %lu with %ju and cast to uintmax_t.
17418         * rt/tst-mqueue1.c: Include <stdint.h>.
17419         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17420         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17421         intmax_t.
17422         * rt/tst-mqueue4.c (do_test): Likewise.
17423         * rt/tst-timer4.c: Include <stdint.h>.
17424         (check_ts): Replace %ld with %jd and cast to intmax_t.
17425         (do_test): Likewise.
17426         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17427         and cast to intmax_t.
17428         * sysdeps/pthread/tst-timer.c (main): Likewise.
17429         * time/clocktest.c (main): Likewise.
17430         * time/tst-posixtz.c (do_test): Likewise.
17431         * timezone/tst-timezone.c (main): Likewise.
17433 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17434             H.J. Lu  <hongjiu.lu@intel.com>
17436         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17437         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17438         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17439         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17440         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17441         version if bit_Fast_Unaligned_Load is set.
17442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17449         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17450         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17451         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17452         to 4.
17453         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17454         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17455         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17456         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17458 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17460         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17461         instead of #if to avoid a Wundef warning.
17462         * stdlib/tst-limits.c (do_test): Likewise.
17464         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17465         parallel other exception macros.
17466         (fegetenv): Convert from macro to extern inline so that it applies
17467         retroactively to inline functions already seen by the compiler.
17468         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17470         * posix/Makefile (before-compile): Use $(objpfx) for
17471         posix-conf-vars-def.h.
17473 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17475         * posix/getconf.c (main): Use size_t for type of I.
17476         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17477         NSPEC.
17479         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17480         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17481         * posix/posix-envs.def: Likewise.
17482         * sysdeps/posix/sysconf.c: Likewise.
17483         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17484         (specs): Remove array.
17485         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17486         array.
17488         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17489         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17490         (__sysconf): Use CONF_IS_* macros.
17492         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17493         ($(objpfx)posix-conf-vars-def.h): New target.
17494         * posix/posix-conf-vars.list: New file.
17495         * posix/posix-conf-vars.h: New file.
17496         * posix/confstr.c: Include posix-conf-vars.h.
17497         (confstr): Use CONF_IS_* macros.
17498         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17499         CONF_IS_* macros.
17500         * scripts/gen-posix-conf-vars.awk: New file.
17502 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17504         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17505         fegetround): Add no-op macros to avoid linknamespace issues.
17507         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17508         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17510         * sysdeps/unix/sysv/linux/tile/sysdep.h
17511         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17512         assembly-specific section to avoid a redefinition warning.
17514         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17515         long before casting to pointer to avoid a cast warning.
17517 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17519         * sysdeps/tile/tilegx/Implies: New file.
17521 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17523         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17525 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17527         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17529 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17532         not define.
17533         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17534         <kernel-features.h>.
17535         (__utimes) [__NR_utimes]: Make code unconditional.
17536         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17538         (__ASSUME_UTIMES): Do not undefine.
17539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17540         (__ASSUME_UTIMES): Likewise.
17541         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17542         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17543         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17544         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17546 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17548         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17550 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17552         [BZ #17747]
17553         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17554         alias to weak alias for j0l, y0l.
17555         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17556         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17558         [BZ #17746]
17559         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17560         conversion.
17562 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17564         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17565         to zero if not already defined.
17567 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17569         [BZ #17724]
17570         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17571         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17572         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17573         (char *) casts added.
17574         * sysdeps/ieee754/k_standardf.c: New file.
17575         * sysdeps/ieee754/k_standardl.c: Likewise.
17576         * math/Makefile (libm-support): Remove k_standard.
17577         (libm-calls): Add k_standard.
17579 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17581         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17582         Optimize to avoid an unnecessary FPCR read.
17584 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17586         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17587         Optimize to reduce FPCR/FPSR accesses.
17589 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17591         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17592         Call libc_fetestexcept_aarch64.
17594 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17596         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17597         Call libc_fesetround_aarch64.
17599 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17601         [BZ #17733]
17602         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17603         (__bind): Do not define as weak alias.
17604         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17605         define.
17606         (__getsockname): Do not define as weak alias.
17608 2014-12-22  Will Newton  <will.newton@linaro.org>
17610         * manual/install.texi: Document that we require bison 2.7
17611         or above.
17612         * INSTALL: Regenerate.
17613         * configure.ac: Use AC_CHECK_PROG_VER instead of
17614         AC_PATH_PROG when checking for bison and check for
17615         version 2.7 or above.
17616         * configure: Regenerate.
17618 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17620         [BZ #17745]
17621         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17622         * sysdeps/tile/ffsll.c (ffsll): To here.
17624         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17626 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17628         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17629         if not defined.
17630         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17631         definition.
17632         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17633         hidden ___tls_get_addr.
17634         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17635         hidden __tls_get_addr.
17636         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17637         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17638         Likewise.
17640 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17642         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17643         _dl_init call.
17645 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17647         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17648         from "call _dl_init@PLT".
17649         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17651 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17653         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17654         guarantees.
17656 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17658         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17660 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17662         [BZ #17744]
17663         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17664         strnlen.
17666 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17668         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17669         of multu on MIPSr6.
17670         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17671         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17672         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17673         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17674         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17676 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17678         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17679         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17680         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17681         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17682         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17683         mips32r6/mips64r6.
17684         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17686 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17688         * string/strncat.c (STRNCAT): Simplify implementation.
17690 2014-12-19  David S. Miller  <davem@davemloft.net>
17692         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17693         access the quad as both a long double and as a series of 4 words.
17695         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17696         link_map->l_info array access.
17698 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17700         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17702         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17703         * math/atest-exp2.c (TIMEOUT): Likewise.
17704         * math/atest-sincos.c (TIMEOUT): Likewise.
17706 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17708         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17709         -Wno-error with -fno-builtin-lround.
17711 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17713         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17714         Contains futex constants and functions moved over from ...
17715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17716         <lowlevellock-futex.h>.
17717         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17718         (lll_timedwait_tid): Add comments and parentheses around macro
17719         arguments.
17721 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17723         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17724         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17725         (__lll_private_flag): Remove.
17726         (lll_futex_wait): Likewise.
17727         (lll_futex_timed_wait): Likewise.
17728         (lll_futex_wake): Likewise.
17729         (lll_futex_requeue): Likewise.
17730         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17731         (__lll_timedwait_tid): Spell out argument names.
17732         (lll_timedwait_tid): Add comments and parentheses around macro
17733         arguments.
17734         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17735         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17737 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17739         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17740         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17741         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17742         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17743         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17744         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17745         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17746         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17747         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17748         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17751         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17753         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17754         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17755         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17756         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17757         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17759 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17761         * sysdeps/x86_64/x32/Makefile: New file.
17763 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17765         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17766         1L with (mp_limb_t) 1.
17768 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17770         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17771         * nptl/libc_pthread_init.c: ... here.
17772         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17773         * nptl/register-atfork.c: ... here.
17775         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17776         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17777         Use assert_perror to check its return value.
17778         (__gai_create_helper_thread): Likewise.
17780         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17782         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17784 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17786         [BZ #17725]
17787         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17788         __profil_counter.
17789         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17790         Likewise.
17791         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17794         Likewise.
17795         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17796         (profil_counter): Likewise.
17797         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17798         (profil_counter): Likewise.
17799         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17800         Likewise.
17801         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17802         Likewise.
17803         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17804         (profil_counter): Likewise.
17805         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17806         Likewise.
17807         [!__profil_counter] (profil_counter): Define as weak alias of
17808         __profil_counter.
17809         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17810         (profil_counter): Rename to __profil_counter.
17811         [!__profil_counter] (profil_counter): Define as weak alias of
17812         __profil_counter.
17813         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17814         (profil_counter): Rename to __profil_counter.
17815         [!__profil_counter] (profil_counter): Define as weak alias of
17816         __profil_counter.
17817         * sysdeps/posix/profil.c: Update comment referring to
17818         profil_counter.
17819         (__profil): Use __profil_counter instead of profil_counter.
17820         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17821         __profil_counter.  Use __profil_counter_ushort and
17822         __profil_counter_uint in definitions.
17823         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17824         instead of profil_counter_uint and profil_counter_ushort.
17826         [BZ #17722]
17827         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17828         define as weak alias of __inet_makeaddr.
17829         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17830         as weak alias of __inet_addr.
17831         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17832         as weak alias of __inet_pton.  Use libc_hidden_weak.
17833         * include/arpa/inet.h (__inet_pton): Declare.  Use
17834         libc_hidden_proto.
17835         (inet_makeaddr): Don't use libc_hidden_proto.
17836         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17837         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17838         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17839         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17840         Remove variable.
17841         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17842         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17844 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17846         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17848 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17850         * stdio-common/bug-vfprintf-nargs.c (do_test):
17851         Cast value to intptr_t to avoid format warning
17852         for usage with PRIdPTR printing macro.
17854 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17856         * libio/tst-widetext.c (do_test):
17857         Use format type %td instead of %Zd for ptrdiff_t
17858         in order to avoid format warning.
17860 2014-12-17  Andreas Schwab  <schwab@suse.de>
17862         * nscd/mem.c (gc): Add size_t cast to match printf format.
17864 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17866         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17867         (init): Apply PTR_MANGLE to pointers before storing them.
17868         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17869         before using them.
17871 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17873         [BZ #17719]
17874         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17875         define as weak alias of __memrchr.
17876         (__memrchr): Do not define as strong alias of memrchr.
17877         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17878         Remove variable.
17879         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17880         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17881         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17883         [BZ #17717]
17884         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17885         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17886         (if_indextoname): Rename to __if_indextoname and define as weak
17887         alias of __if_indextoname.  Use libc_hidden_weak.
17888         (if_freenameindex): Rename to __if_freenameindex and define as
17889         weak alias of __if_freenameindex.
17890         (if_nameindex): Rename to __if_nameindex and define as weak alias
17891         of __if_nameindex.
17892         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17893         __if_nametoindex and define as weak alias of __if_nametoindex.
17894         Use libc_hidden_weak.
17895         (if_freenameindex): Rename to __if_freenameindex and define as
17896         weak alias of __if_freenameindex.
17897         (if_nameindex): Rename to __if_nameindex and define as weak alias
17898         of __if_nameindex.
17899         (if_indextoname): Rename to __if_indextoname and define as weak
17900         alias of __if_indextoname.  Use libc_hidden_weak.
17901         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17902         __if_nametoindex and define as weak alias of __if_nametoindex.
17903         Use libc_hidden_weak.
17904         (if_freenameindex): Rename to __if_freenameindex and define as
17905         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17906         (if_nameindex_netlink): Use __if_freenameindex instead of
17907         if_freenameindex.
17908         (if_nameindex): Rename to __if_nameindex and define as weak alias
17909         of __if_nameindex.  Use libc_hidden_weak.
17910         (if_indextoname): Rename to __if_indextoname and define as weak
17911         alias of __if_indextoname.  Use libc_hidden_weak.
17912         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17913         libc_hidden_proto.
17914         [!_ISOMAC] (__if_freenameindex): Likewise.
17915         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17916         if_nametoindex.
17917         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17918         variable.
17919         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17920         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17921         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17922         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17923         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17924         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17925         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17927         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17928         Remove variable.
17929         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17930         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17932 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17934         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17935         subscript above bounds'
17937         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17938         bounds.
17940 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17942         * libio/tst-fopenloc.c: Use test-skeleton.c.
17944         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17945         (entry): Rename to ITEM.
17946         (do_test, comp): Adjust.
17948         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17950 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17952         * string/tester.c: Include <libc-internal.h>.
17953         (test_memset): Ignore -Wmemset-transposed-args.
17955 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17957         * misc/tst-mntent2.c (do_test): Fix warning.
17959 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17961         * elf/tst-unique4lib.cc(a): Mark as used.
17963 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17965         [BZ #17630]
17966         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17967         names.
17969 2014-12-16  Allan McRae  <allan@archlinux.org>
17971         * stdio-common/Makefile (tests): Re-add bug26.
17973 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17975         [BZ #17657]
17976         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17977         static array.
17979 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17981         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17982         (__lll_lock_wait): Likewise.
17983         (__lll_timedlock_wait): Likewise.
17984         (__lll_timedwait_tid): Likewise.
17985         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17986         (__lll_robust_timedlock_wait): Likewise.
17987         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17988         (lll_cond_trylock): Likewise.
17989         (__lll_lock): Likewise.
17990         (__lll_robust_lock): Likewise.
17991         (__lll_cond_lock): Likewise.
17992         (lll_robust_cond_lock): Likewise.
17993         (__lll_timedlock): Likewise.
17994         (__lll_robust_timedlock): Likewise.
17995         (__lll_unlock): Likewise.
17996         (__lll_robust_unlock): Likewise.
17997         (lll_wait_tid): Likewise.
17998         (lll_timedwait_tid): Likewise.
18000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18002         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18004 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18006         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18008 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18010         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18011         * stdio-common/tst-sprintf.c: Likewise.
18013 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18015         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18017 2014-12-15  Jeff Law  <law@redhat.com>
18019         [BZ #16617]
18020         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18021         on the heap.  (CVE-2012-3406)
18022         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18023         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18024         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18026 2014-12-15  Will Newton  <will.newton@linaro.org>
18028         * manual/install.texi: Bump required version of texinfo
18029         to 4.7 from 4.5.
18030         * INSTALL: Regenerated.
18031         * configure.ac: Check for makeinfo version 4.7 and above.
18032         * configure: Regenerated.
18034 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18036         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18037         PREFIX, string constant to insert between directory and name.
18038         * sysdeps/posix/shm_open.c: Update caller.
18039         * sysdeps/posix/shm_unlink.c: Likewise.
18040         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18041         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18042         (SEM_SHM_PREFIX): New macro.
18043         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18044         [$(have-thread-library) = no].
18045         * nptl/Makefile (libpthread-routines): Add shm-directory.
18046         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18047         * sysdeps/nptl/shm-directory.h: New file.
18048         * sysdeps/posix/shm-directory.c
18049         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18050         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18051         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18052         INTERNAL_SYSCALL.
18053         (__where_is_shmfs): Function removed.
18054         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18055         Variables removed.
18056         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18057         Use SHM_GET_NAME.
18058         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18060         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18061         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18062         unconditional for use inside libpthread.
18063         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18065 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18067         * nptl/pthread_getaffinity.c: New file.
18068         * nptl/pthread_setaffinity.c: New file.
18069         * nptl/pthread_getname.c: New file.
18070         * nptl/pthread_setname.c: New file.
18072         * nptl/pthread_create.c (START_THREAD_DEFN)
18073         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18075 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18076             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18078         * resolv/res_send.c (send_vc): Disable warning resplen may
18079         be used uninitialized.
18081 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18083         * nptl/tst-mutex6.c
18084         (ATTR_NULL): New define checks ATTR against NULL.
18085         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18086         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18088 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18090         [BZ #17581]
18091         * malloc/hooks.c
18092         (mem2mem_check): Revert my previous change.
18093         (malloc_check_get_size): Revert my previous change.
18094         (mem2chunk_check): Revert my previous change.
18096 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18098         * sysdeps/posix/shm-directory.c: New file.
18099         * sysdeps/posix/shm-directory.h: New file.
18100         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18101         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18102         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18103         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18104         Transmute EPERM to EACCES.
18105         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18106         from ...
18107         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18108         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18110 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18112         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18113         pointer and cast to uintptr_t.
18114         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18116         Add cast to avoid warning.
18117         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18119 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18121         * nptl/semaphore.h: Move to ...
18122         * sysdeps/pthread/semaphore.h: ... here.
18123         * Makefile (installed-headers): Change nptl/semaphore.h to
18124         sysdeps/pthread/semaphore.h.
18126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18128         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18129         generated error format strings.
18131         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18132         -Wformat-extra-args warnings for scanf formats.
18133         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18134         test of zero-length format (duh).
18135         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18136         corner-case scanf format test.
18137         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18138         generated fprintf format string.
18139         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18140         corner-case sprintf format tests.
18141         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18142         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18143         -Wformat-extra-args warnings throughout.
18144         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18145         (CFLAGS-scanf4.c): Likewise.
18146         (CFLAGS-scanf7.c): Likewise.
18147         (CFLAGS-tst-sprintf.c): Likewise.
18148         (CFLAGS-tst-printf.c): Likewise.
18149         (CFLAGS-tst-printfsz.c): Likewise.
18151 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18153         * include/cpio.h: New file.
18154         * include/fmtmsg.h: Likewise.
18156         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18157         corresponding format argument to size_t.
18158         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18159         arguments.
18160         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18161         corresponding format argument to size_t.
18162         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18163         arguments.
18164         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18165         corresponding format argument to size_t.
18166         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18167         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18168         (CFLAGS-tst-mbswcs2.c): Likewise.
18169         (CFLAGS-tst-mbswcs3.c): Likewise.
18170         (CFLAGS-tst-mbswcs4.c): Likewise.
18171         (CFLAGS-tst-mbswcs5.c): Likewise.
18172         (CFLAGS-tst-trans.c): Likewise
18174 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18176         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18177         rather than assuming they won't contain any '%'s.
18179 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18181         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18182         inhibit_loop_to_libcall to avoid recursive calls.
18183         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18184         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18186 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18188         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18189         prototype.
18191 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18193         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18194         integer value instead of boolean.
18196 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18198         * malloc/malloc.c: Fix powerof2 check.
18200 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18202         * locale/programs/locfile.h (maybe_swap_uint32):
18203         Remove inline and add unused attribute.
18205 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18208         Truncating assembler expression to a .long expression.
18210 2014-12-11  Andreas Schwab  <schwab@suse.de>
18212         * elf/rtld.c (struct map_args): Constify str member.
18213         (do_preload): Constify fname argument.
18215 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18218         constants definition.
18220 2014-12-11  Andreas Schwab  <schwab@suse.de>
18222         [BZ #16657]
18223         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18224         FORCE_ELISION instead of DO_ELISION.
18225         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18226         Remove.
18227         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18228         Likewise.
18230         * iconvdata/gconv-modules: Remove duplicate entry.
18232 2014-12-11  Will Newton  <will.newton@linaro.org>
18234         Merge gettext 0.19.3 into intl/.
18236         This involves a number of cosmetic changes to comments
18237         and ANSI function definitions and prototypes throughout
18238         all the files. The gettext copyright header is used but
18239         with the date ranges taken from the glibc copy.
18241         * NEWS: Add gettext merge to 2.21.
18242         * intl/bindtextdom.c: Switch to gettext copyright.
18243         Use ANSI definitions and prototypes.
18244         Use gl_* locking primitives rather than __libc_* ones.
18245         Use __builtin_expect rather than __glibc_likely/unlikely.
18246         * intl/dcgettext.c: Switch to gettext copyright.
18247         Use ANSI definitions and prototypes.
18248         * intl/dcigettext.c: Switch to gettext copyright.
18249         Use ANSI definitions and prototypes.
18250         (INTDIV0_RAISES_SIGFPE): New define.
18251         Use gl_* locking primitives rather than __libc_* ones.
18252         Include eval-plural.h instead of plural-eval.c.
18253         Use __builtin_expect rather than __glibc_likely/unlikely.
18254         * intl/dcngettext.c: Switch to gettext copyright.
18255         Use ANSI definitions and prototypes.
18256         * intl/dgettext.c: Likewise.
18257         * intl/dngettext.c: Likewise.
18258         * intl/plural-eval.c: Renamed to...
18259         * intl/eval-plural.h: ...this.
18260         * intl/explodename.c: Switch to gettext copyright.
18261         Use ANSI definitions and prototypes.
18262         (_nl_explode_name): Use strchr instead of __rawmemchr.
18263         * intl/finddomain.c: Switch to gettext copyright.
18264         Use ANSI definitions and prototypes.
18265         Use gl_* locking primitives rather than __libc_* ones.
18266         (_nl_find_domain): Use malloc rather than alloca for
18267         allocation of temporary locale name.
18268         * intl/gettext.c: Switch to gettext copyright.
18269         Use ANSI definitions and prototypes.
18270         * intl/gettextP.h: Switch to gettext copyright.
18271         Use ANSI definitions and prototypes.
18272         Use gl_* locking primitives rather than __libc_* ones.
18273         * intl/gmo.h: Switch to gettext copyright.
18274         (struct sysdep_string): Move struct segment_pair outside of
18275         struct definition.
18276         * intl/hash-string.c: Use ANSI definitions and prototypes.
18277         * intl/hash-string.h: Switch to gettext copyright.
18278         Use ANSI definitions and prototypes.
18279         * intl/l10nflist.c: Switch to gettext copyright.
18280         Use ANSI definitions and prototypes.
18281         (_nl_normalize_codeset): Avoid integer overflow.
18282         * intl/loadinfo.h: Switch to gettext copyright.
18283         Use ANSI definitions and prototypes.
18284         (LIBINTL_DLL_EXPORTED): New define.
18285         (PATH_SEPARATOR): New define.
18286         * intl/loadmsgcat.c: Switch to gettext copyright.
18287         * intl/localealias.c: Switch to gettext copyright.
18288         Use ANSI definitions and prototypes.
18289         (_nl_expand_alias): Use PATH_SEPARATOR.
18290         * intl/ngettext.c: Switch to gettext copyright.
18291         Use ANSI definitions and prototypes.
18292         * intl/plural-exp.c: Likewise.
18293         * intl/plural-exp.h: Switch to gettext copyright.
18294         Use ANSI definitions and prototypes.
18295         (struct expression): Move definition of enum operator outside
18296         of struct definition.
18297         * intl/plural.c: Regenerate.
18298         * intl/plural.y: Switch to gettext copyright.
18299         Use ANSI definitions and prototypes.
18300         Port to bison 3.0.
18301         * intl/textdomain.c: Switch to gettext copyright.
18302         Use ANSI definitions and prototypes.
18303         Use gl_* locking primitives rather than __libc_* ones.
18305 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18307         * debug/warning-nop.c: Add used atrribute.
18309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18311         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18313         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18314         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18315         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18317 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18320         [BZ #17634]
18321         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18322         Undefine after defining function.  Define as weak alias of
18323         __wcschr.  Use libc_hidden_weak.
18324         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18325         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18326         (libc_hidden_def): Also define __GI___wcschr alias.
18327         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18328         __wcschr and define as weak alias of __wcschr.
18329         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18330         __wcschr.
18331         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18332         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18333         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18334         libc_hidden_weak.  Do not use libc_hidden_def.
18335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18336         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18337         __GI___wcschr alias.
18338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18339         [IS_IN (libc)] (wcschr): Define as macro expanding to
18340         __redirect_wcschr.
18341         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18342         [IS_IN (libc)] (__wcschr_power6): Likewise.
18343         [IS_IN (libc)] (__wcschr_power7): Likewise.
18344         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18345         instead of wcschr.
18346         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18347         __libc_wcschr.
18348         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18349         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18350         __wcschr and define as weak alias of __wcschr.  Use
18351         libc_hidden_builtin_def.
18352         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18353         as weak alias of __wcschr.  Use libc_hidden_weak.
18354         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18355         wcschr.
18356         * time/era.c (_nl_init_era_entries): Likewise.
18357         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18358         variable.
18359         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18360         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18364         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18365         format for long int variable.
18367 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18369         [BZ #10672]
18370         * manual/search.texi: (Array Sort Function): Remove claim how to make
18371         qsort stable.
18373 2014-12-10  Andreas Schwab  <schwab@suse.de>
18375         [BZ #12847]
18376         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18377         user-controlled locks.
18379 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18381         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18382         register.
18384 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18386         * configure.ac (--disable-werror): New configure option.
18387         (enable_werror): New AC_SUBST.
18388         * configure: Regenerated.
18389         * config.make.in (enable-werror): New variable.
18390         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18391         -Wno-error=undef.
18392         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18393         * manual/install.texi (Configuring and compiling): Document
18394         --disable-werror.
18395         * INSTALL: Regenerated.
18396         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18397         (CFLAGS-tst-chk2.c): Likewise.
18398         (CFLAGS-tst-chk3.c): Likewise.
18399         (CFLAGS-tst-chk4.cc): Likewise.
18400         (CFLAGS-tst-chk5.cc): Likewise.
18401         (CFLAGS-tst-chk6.cc): Likewise.
18402         (CFLAGS-tst-lfschk1.c): Likewise.
18403         (CFLAGS-tst-lfschk2.c): Likewise.
18404         (CFLAGS-tst-lfschk3.c): Likewise.
18405         (CFLAGS-tst-lfschk4.cc): Likewise.
18406         (CFLAGS-tst-lfschk5.cc): Likewise.
18407         (CFLAGS-tst-lfschk6.cc): Likewise.
18409         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18410         (main): Disable -Wdeprecated-declarations around calls to
18411         register_printf_function.
18413         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18414         (do_test): Disable -Wdiv-by-zero around some calls to
18415         fwrite_unlocked and fread_unlocked.
18417         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18418         (DIAG_POP_NEEDS_COMMENT): Likewise.
18419         (_DIAG_STR1): Likewise.
18420         (_DIAG_STR): Likewise.
18421         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18422         * stdio-common/bug21.c: Include <libc-internal.h>.
18423         (do_test): Disable -Wformat around call to sscanf.
18424         * stdio-common/scanf14.c: Include <libc-internal.h>.
18425         (main): Disable -Wformat around some calls to scanf functions.
18427 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18429         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18431 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18433         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18434         stack variable alignment.
18436 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18438         [BZ #17682]
18439         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18440         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18441         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18442         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18444         __getrlimit instead of getrlimit.
18445         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18446         __gettimeofday instead of gettimeofday.
18447         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18448         Likewise.
18449         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18450         Likewise.
18451         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18452         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18453         Remove variable.
18454         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18455         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18457 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18459         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18460         for wide-character tests.
18462 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18464         * io/openat64.c: #include <libc-internal.h>
18465         (__openat64): Prototypify.  Use ignore_value on MODE.
18466         * io/openat.c: Likewise.
18467         * misc/reboot.c: #include <libc-internal.h>
18468         (reboot): Prototypify.  Use ignore_value on HOWTO.
18469         * misc/ptrace.c: #include <libc-internal.h>
18470         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18472 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18474         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18475         XPG4, UNIX98 and XOPEN2K.
18476         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18477         Remove variable.
18478         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18480 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18482         * libio/fileops.c: Use ISO C style for function definitions.
18483         * libio/iofopen.c: Likewise.
18484         * libio/wfileops.c: Likewise.
18486         [BZ #17653]
18487         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18488         offset on EOF.
18489         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18490         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18491         (fgets_func): Function pointer to fgets and fgetws.
18492         (do_ftell_test): Add test to verify ftell value after read
18493         EOF.
18494         (do_test): Set fgets_func.
18496         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18497         O_TRUNC flag for w and w+ modes.
18498         (do_rewind_test): Likewise.
18499         (do_ftell_test): Likewise.
18500         (do_write_test): Likewise.
18502         [BZ #17647]
18503         * libio/fileops.c (do_ftell): Seek only when there are
18504         unflushed writes.
18505         * libio/wfileops.c (do_ftell_wide): Likewise.
18506         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18507         test case.
18508         (do_one_test): Call it.
18510 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18512         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18513         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18514         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18515         Remove variable.
18516         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18517         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18518         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18520 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18522         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18523         Remove variable.
18524         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18526         [BZ #17668]
18527         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18528         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18529         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18530         __freeifaddrs.  Use libc_hidden_weak.
18531         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18532         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18533         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18534         __freeifaddrs.  Use libc_hidden_weak.
18535         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18536         __getifaddrs and define as weak alias of __getifaddrs.  Use
18537         libc_hidden_weak.
18538         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18539         __freeifaddrs.  Use libc_hidden_weak.
18540         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18541         Remove variable.
18542         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18543         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18545 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18547         [BZ #17601]
18548         * sysdeps/mips/start.S (__start): Use indirect jump to call
18549         __libc_start_main.
18551 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18553         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18555         * nptl/tst-mutex1.c: Include <stdbool.h>.
18556         [!ATTR] (ATTR_NULL): New macro.
18557         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18558         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18559         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18561         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18562         to char *.
18564         [BZ #17665]
18565         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18566         Change conditional to [__USE_MISC].
18568         [BZ #17664]
18569         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18570         fgets_unlocked.
18571         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18572         __fgets_unlocked.
18573         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18574         fgets_unlocked.
18575         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18576         Remove variable.
18577         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18578         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18579         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18580         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18581         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18582         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18583         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18584         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18585         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18587         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18589 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18591         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18592         Remove strpbrk objects.
18593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18594         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18595         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18596         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18597         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18598         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18601         Remove strcspn objects.
18602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18603         (__libc_ifunc_impl_list): Remove strcspn implementation.
18604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18605         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18606         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18607         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18609         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18610         Remove strspn objetcs.
18611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18612         (__libc_ifunc_impl_list): Remove strspn implementation.
18613         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18614         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18615         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18616         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18618 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18620         [BZ #17581]
18621         * malloc/hooks.c
18622         (mem2mem_check): Add a terminator to the chain of checking blocks.
18623         (malloc_check_get_size): Use it here.
18624         (mem2chunk_check): Ditto.
18626 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18628         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18629         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18631 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18633         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18635         * nptl/nptl-init.c: Include libc-internal.h.
18636         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18638         * elf/ldconfig.c (search_dir): Expand comment.
18640 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18642         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18643         variable.
18644         (linknamespace-symlist-stdlibs-tests): Likewise.
18645         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18646         instead of $(objpfx)symlist-stdlibs.
18647         (linknamespace-libs-isoc): New variable.
18648         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18649         (linknamespace-libs-ISO): New variable.
18650         (linknamespace-libs-ISO99): Likewise.
18651         (linknamespace-libs-ISO11): Likewise.
18652         (linknamespace-libs-XPG3): Likewise.
18653         (linknamespace-libs-XPG4): Likewise.
18654         (linknamespace-libs-POSIX): Likewise.
18655         (linknamespace-libs-UNIX98): Likewise.
18656         (linknamespace-libs-XOPEN2K): Likewise.
18657         (linknamespace-libs-POSIX2008): Likewise.
18658         (linknamespace-libs-XOPEN2K8): Likewise.
18659         ($(objpfx)symlist-stdlibs): Replace by
18660         $(linknamespace-symlist-stdlibs-tests).  Use
18661         $(linknamespace-libs-$*) as set of libraries.
18662         ($(linknamespace-header-tests)): Update dependencies.  Use
18663         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18664         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18665         * conform/linknamespace.pl: Remove comment about considering
18666         definitions of symbols from irrelevant libraries.
18668 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18670         [BZ #13862]
18671         * elf/dl-tls.c: Include <atomic.h>.
18672         (oom): Remove #ifdef SHARED/#endif.
18673         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18674         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18675         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18676         big enough.
18677         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18678         * nptl/Makefile (tests): Add tst-stack4.
18679         (modules-names): Add tst-stack4mod.
18680         ($(objpfx)tst-stack4): New.
18681         (tst-stack4mod.sos): Likewise.
18682         ($(objpfx)tst-stack4.out): Likewise.
18683         ($(tst-stack4mod.sos)): Likewise.
18684         (clean): Likewise.
18685         * nptl/tst-stack4.c: New file.
18686         * nptl/tst-stack4mod.c: Likewise.
18688 2014-11-27  J. Brown  <jb999@gmx.de>
18690         * sysdeps/x86/bits/string.h: Add recent CPUs.
18692 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18694         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18695         sigblock.
18697         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18698         feof.
18700         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18701         variable.
18703 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18705         * nscd/connections.c: Include libc-internal.h because of macro
18706         usage ignore_value.
18708 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18710         * string/bits/string3.h (__warn_memset_zero_len): Don't
18711         declare for gcc newer than 5.0.
18712         (memset): Don't test for zero-length __LEN for gcc newer than
18713         5.0.
18715 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18717         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18718         size_t for %zu format.
18720         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18721         difference, not %ju.
18723 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18725         * include/libc-internal.h (ignore_value): New macro.
18726         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18727         with ignore_value.
18729         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18730         definition.
18732         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18733         pthread_cleanup_push to void *.
18735         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18736         Undefine.
18738         [BZ #16619]
18739         [BZ #16740]
18740         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18741         instead of 1L << 52.
18743         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18744         * libio/bug-rewind2.c (do_test): Likewise.
18746         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18747         * debug/test-strcpy_chk-ifunc.c: Likewise.
18748         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18749         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18750         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18751         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18752         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18753         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18754         * Rules [$(multi-arch) = no] (tests): Do not filter out
18755         $(tests-ifunc).
18756         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18757         * debug/Makefile (tests-ifunc): Remove variable.
18758         (tests): Do not add $(tests-ifunc).
18759         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18760         (tests): Do not add $(tests-ifunc).
18761         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18762         [TEST_IFUNC]: Remove conditionals.
18763         * string/test-string.h (TEST_IFUNC): Remove macro.
18764         [TEST_IFUNC]: Remove conditionals.
18766         * string/test-strchr.c [!WIDE] (L): New macro.
18767         [WIDE] (L): Likewise.
18768         (check1): Use CHAR instead of char.  Use L on string and character
18769         constants.
18771 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18773         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18774         tests.
18775         * sysdeps/powerpc/bits/atomic.h
18776         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18777         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18778         (atomic_exchange_and_add_acq): Likewise.
18779         (atomic_exchange_and_add_rel): Likewise.
18780         * sysdeps/powerpc/powerpc32/bits/atomic.h
18781         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18782         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18783         * sysdeps/powerpc/powerpc64/bits/atomic.h
18784         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18785         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18787 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18789         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18790         Change synchronization of __sched_fifo_min_prio and
18791         __sched_fifo_max_prio.
18792         * nptl/pthread_mutexattr_getprioceiling.c
18793         (pthread_mutexattr_getprioceiling): Likewise.
18794         * nptl/pthread_mutexattr_setprioceiling.c
18795         (pthread_mutexattr_setprioceiling): Likewise.
18796         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18797         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18798         Likewise.
18800 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18802         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18803         void.
18805 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18807         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18808         third argument const.
18810 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18812         fnmatch: work around GCC compiler warning bug with uninit var
18813         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18814         This works around a bug with x86-64 GCC 4.9.2 and earlier
18815         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18816         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18817         used uninitialized in this function [-Wmaybe-uninitialized]".
18819 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18821         * posix/bug-regex31.c (main): Return RES not 0.
18823 2014-11-25  Anton Blanchard <anton@samba.org>
18825         * sysdeps/powerpc/bits/atomic.h
18826         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18828 2014-11-24  Sterling Augustine  <saugustine@google.com>
18830         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18832 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18834         [BZ #17608]
18835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18837 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18839         [BZ #17633]
18840         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18841         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18842         variable.
18843         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18844         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18846 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18848         * string/strncpy.c (strncpy): Improve performance by using memset.
18850 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18852         * string/strcpy.c (strcpy):
18853         Improve performance by using strlen and memcpy.
18855 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18857         * string/strcoll_l.c (get_next_seq): __always_inline.
18858         * string/strcoll_l.c (do_compare): __always_inline.
18860 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18862         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18863         defined.
18864         * include/mqueue.h: Likewise.
18865         * include/stdlib.h: Likewise.
18867         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18868         (get_null_defines): Adjust.
18869         * sunrpc/Makefile: Adjust comment.
18870         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18871         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18872         (CFLAGS-interp.c): Likewise.
18873         (CFLAGS-ldconfig.c): Likewise.
18874         (CPPFLAGS-.os): Likewise.
18875         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18876         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18877         * extra-modules.mk (extra-modules.mk): Likewise.
18878         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18879         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18880         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18881         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18882         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18883         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18884         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18885         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18886         * iconvdata/Makefile (CPPFLAGS): Likewise.
18887         (cpp-srcs-left): Add libof for all iconvdata routines.
18888         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18889         * include/assert.h: Likewise.
18890         * include/ctype.h: Likewise.
18891         * include/errno.h: Likewise.
18892         * include/libc-symbols.h: Likewise.
18893         * include/math.h: Likewise.
18894         * include/netdb.h: Likewise.
18895         * include/resolv.h: Likewise.
18896         * include/stdio.h: Likewise.
18897         * include/stdlib.h: Likewise.
18898         * include/string.h: Likewise.
18899         * include/sys/stat.h: Likewise.
18900         * include/wctype.h: Likewise.
18901         * intl/l10nflist.c: Likewise.
18902         * libidn/idn-stub.c: Likewise.
18903         * libio/libioP.h: Likewise.
18904         * nptl/libc_multiple_threads.c: Likewise.
18905         * nptl/pthreadP.h: Likewise.
18906         * posix/regex_internal.h: Likewise.
18907         * resolv/res_hconf.c: Likewise.
18908         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18909         * sysdeps/arm/memmove.S: Likewise.
18910         * sysdeps/arm/sysdep.h: Likewise.
18911         * sysdeps/generic/_itoa.h: Likewise.
18912         * sysdeps/generic/symbol-hacks.h: Likewise.
18913         * sysdeps/gnu/errlist.awk: Likewise.
18914         * sysdeps/gnu/errlist.c: Likewise.
18915         * sysdeps/i386/i586/memcpy.S: Likewise.
18916         * sysdeps/i386/i586/memset.S: Likewise.
18917         * sysdeps/i386/i686/memcpy.S: Likewise.
18918         * sysdeps/i386/i686/memmove.S: Likewise.
18919         * sysdeps/i386/i686/mempcpy.S: Likewise.
18920         * sysdeps/i386/i686/memset.S: Likewise.
18921         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18922         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18923         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18924         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18925         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18926         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18927         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18928         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18929         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18931         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18932         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18933         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18934         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18935         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18937         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18938         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18939         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18940         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18941         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18942         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18943         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18944         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18945         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18948         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18950         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18951         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18957         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18958         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18959         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18960         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18961         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18962         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18963         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18964         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18965         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18966         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18967         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18968         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18969         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18970         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18971         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18972         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18973         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18974         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18975         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18976         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18977         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18978         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18979         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18980         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18981         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18982         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18983         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18984         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18985         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18986         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18987         * sysdeps/posix/closedir.c: Likewise.
18988         * sysdeps/posix/opendir.c: Likewise.
18989         * sysdeps/posix/readdir.c: Likewise.
18990         * sysdeps/posix/rewinddir.c: Likewise.
18991         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18992         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18993         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18994         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18995         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19002         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19004         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19005         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19006         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19007         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19008         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19009         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19011         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19013         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19014         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19016         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19027         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19028         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19029         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19030         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19031         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19032         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19033         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19035         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19037         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19038         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19039         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19040         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19041         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19042         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19048         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19049         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19050         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19051         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19052         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19053         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19054         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19055         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19057         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19058         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19059         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19060         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19062         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19063         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19064         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19065         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19066         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19068         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19070         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19071         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19074         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19075         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19076         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19077         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19078         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19079         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19080         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19081         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19082         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19083         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19087         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19089         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19090         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19092         * sysdeps/unix/alpha/sysdep.S: Likewise.
19093         * sysdeps/unix/alpha/sysdep.h: Likewise.
19094         * sysdeps/unix/make-syscalls.sh: Likewise.
19095         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19096         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19097         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19098         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19099         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19100         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19101         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19102         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19103         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19104         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19106         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19109         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19111         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19112         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19113         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19114         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19115         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19116         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19117         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19118         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19119         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19120         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19124         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19125         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19129         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19133         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19134         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19136         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19137         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19138         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19139         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19142         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19146         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19148         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19151         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19153         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19154         * sysdeps/x86_64/memcpy.S: Likewise.
19155         * sysdeps/x86_64/memmove.c: Likewise.
19156         * sysdeps/x86_64/memset.S: Likewise.
19157         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19159         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19160         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19161         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19164         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19166         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19167         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19169         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19170         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19171         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19172         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19173         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19174         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19175         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19176         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19177         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19181         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19182         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19183         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19184         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19185         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19186         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19187         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19188         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19189         * sysdeps/x86_64/strcmp.S: Likewise.
19191         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19193         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19194         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19195         * elf/rtld-Rules: Likewise.
19196         * elf/setup-vdso.h: Likewise.
19197         * include/assert.h: Likewise.
19198         * include/bits/stdlib-float.h: Likewise.
19199         * include/errno.h: Likewise.
19200         * include/sys/stat.h: Likewise.
19201         * include/unistd.h: Likewise.
19202         * sysdeps/aarch64/setjmp.S: Likewise.
19203         * sysdeps/alpha/setjmp.S: Likewise.
19204         * sysdeps/arm/__longjmp.S: Likewise.
19205         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19206         * sysdeps/arm/setjmp.S: Likewise.
19207         * sysdeps/arm/sysdep.h: Likewise.
19208         * sysdeps/generic/_itoa.h: Likewise.
19209         * sysdeps/generic/dl-sysdep.h: Likewise.
19210         * sysdeps/generic/ldsodefs.h: Likewise.
19211         * sysdeps/i386/dl-tls.h: Likewise.
19212         * sysdeps/i386/setjmp.S: Likewise.
19213         * sysdeps/m68k/setjmp.c: Likewise.
19214         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19215         * sysdeps/mach/hurd/opendir.c: Likewise.
19216         * sysdeps/posix/getcwd.c: Likewise.
19217         * sysdeps/posix/opendir.c: Likewise.
19218         * sysdeps/posix/profil.c: Likewise.
19219         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19222         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19223         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19226         * sysdeps/s390/dl-tls.h: Likewise.
19227         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19228         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19229         * sysdeps/sh/sh3/setjmp.S: Likewise.
19230         * sysdeps/sh/sh4/setjmp.S: Likewise.
19231         * sysdeps/unix/alpha/sysdep.h: Likewise.
19232         * sysdeps/unix/arm/sysdep.S: Likewise.
19233         * sysdeps/unix/i386/sysdep.S: Likewise.
19234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19235         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19239         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19240         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19242         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19243         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19244         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19245         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19252         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19254         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19258         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19261         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19262         * sysdeps/x86_64/setjmp.S: Likewise.
19264         * include/math.h: Use IS_IN instead of IS_IN_libm.
19265         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19267         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19268         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19269         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19270         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19271         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19272         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19273         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19274         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19275         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19276         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19277         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19278         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19279         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19280         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19281         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19282         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19284         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19285         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19286         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19287         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19288         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19289         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19290         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19291         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19292         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19293         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19294         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19295         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19296         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19299         Likewise.
19300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19301         Likewise.
19302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19303         Likewise.
19304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19305         Likewise.
19306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19307         Likewise.
19308         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19310         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19311         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19312         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19313         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19319         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19320         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19321         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19322         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19323         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19324         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19326         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19327         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19328         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19332         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19334         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19336         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19337         * nptl/pthreadP.h: Likewise.
19338         * nptl_db/structs.def: Likewise.
19339         * sysdeps/arm/sysdep.h: Likewise.
19340         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19341         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19342         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19343         * sysdeps/unix/alpha/sysdep.h: Likewise.
19344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19348         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19349         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19351         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19352         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19353         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19354         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19355         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19356         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19357         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19362         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19365         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19367         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19368         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19369         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19371         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19372         * nptl/pthreadP.h: Likewise.
19373         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19374         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19375         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19377         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19379         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19381         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19383         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19384         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19386         Likewise.
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19388         Likewise.
19389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19391         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19394         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19395         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19396         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19398         * dlfcn/dladdr.c: Use IS_IN.
19399         * dlfcn/dladdr1.c: Likewise.
19400         * dlfcn/dlclose.c: Likewise.
19401         * dlfcn/dlerror.c: Likewise.
19402         * dlfcn/dlinfo.c: Likewise.
19403         * dlfcn/dlmopen.c: Likewise.
19404         * dlfcn/dlopen.c: Likewise.
19405         * dlfcn/dlsym.c: Likewise.
19406         * dlfcn/dlvsym.c: Likewise.
19408         * include/ifaddrs.h: Use IS_IN.
19409         * inet/check_pf.c: Likewise.
19410         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19411         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19413         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19414         IS_IN_ldconfig.
19415         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19416         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19418         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19419         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19420         IS_IN (libc).
19422         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19424         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19425         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19426         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19427         * include/libc-symbols.h (IS_IN_LIB): New macro.
19428         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19429         * include/netdb.h: Likewise.
19430         * include/stap-probe.h: Remove all uses of IN_LIB.
19432         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19433         instead of IN_MODULE.
19434         * include/libc-symbols.h (IN_MODULE): Define using
19435         MODULE_NAME.
19436         (PASTE_NAME, PASTE_NAME1): New macros.
19437         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19438         of IN_LIB.
19439         (STAP_PROBE_ASM): Likewise.
19441 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19443         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19444         __mach_init in dlopened libc.
19446 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19448         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19449         * sysdeps/arm/preconfigure: Regenerate.
19451 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19453         * nptl/pthread_create.c (__pthread_create_2_1): Set
19454         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19455         when copying values from IATTR into PD.
19457 2014-11-21  Will Newton  <will.newton@linaro.org>
19458             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19460         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19461         Refactor inline-asm.  Also add comment.
19463         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19464         ElfW macro instead of hardcoded Elf64 types.
19465         (la_aarch64_gnu_pltenter): Likewise.
19466         * sysdeps/aarch64/dl-machine.h
19467         (elf_machine_runtime_setup): Use ElfW(Addr).
19469         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19470         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19471         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19472         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19473         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19474         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19475         (R_AARCH64_TLS_DTPMOD): This.
19476         (R_AARCH64_TLS_DTPREL64): Rename to ...
19477         (R_AARCH64_TLS_DTPREL): This.
19478         (R_AARCH64_TLS_TPREL64): Rename to ...
19479         (R_AARCH64_TLS_TPREL): This.
19480         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19481         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19482         R_AARCH64_TLS_TPREL64.
19483         (elf_machine_rela): Likewise.
19485 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19487         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19488         by setting it to 0.  64b atomics are not supported currently.
19490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19492         [BZ #16469]
19493         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19494         search domain names.
19496 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19498         [BZ #16469]
19499         * NEWS: Update.
19500         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19501         trailing dot.
19502         * posix/tst-getaddrinfo5.c: New.
19503         * posix/Makefile (tests): Add it.
19505 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19507         [BZ #14498]
19508         * NEWS: Fixed.
19509         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19510         after parsing line but before break_if_match.
19511         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19512         if there is a protocol mismatch.
19514 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19516         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19517         because the potential race is on the user-supplied stream.
19519 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19521         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19522         string literal if not passed a buffer.
19523         * manual/job.texi (ctermid): Update reasoning, note deviation
19524         from posix, suggest mtasurace when not passed a buffer, for
19525         future non-preliminary safety notes.
19527 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19529         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19530         of not passing it a buffer.
19531         Reported by Peng Haitao.
19533 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19535         * manual/Makefile ($(objpfx)stamp-summary): Require
19536         check-safety.sh to pass.
19537         * manual/check-safety.sh: Wish for verification that every
19538         @deftypefn and @deftypefun is followed by a @safety remark.
19540 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19542         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19544         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19545         PTHREAD_CANCEL_ASYNCHRONOUS.
19546         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19547         send SIGCANCEL.
19549         * nptl/default-sched.h: New file.
19550         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19551         * nptl/pthread_create.c: Include it.
19552         (__pthread_create_2_1): Use collect_default_sched instead of making
19553         Linux syscalls here directly.
19555 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19557         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19558         __pthread_once): Use C11 atomics.
19560 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19562         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19564 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19566         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19567         atomic_thread_fence_acquire, atomic_thread_fence_release,
19568         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19569         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19570         atomic_compare_exchange_weak_relaxed,
19571         atomic_compare_exchange_weak_acquire,
19572         atomic_compare_exchange_weak_release,
19573         atomic_exchange_acquire, atomic_exchange_release,
19574         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19575         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19576         atomic_fetch_and_acquire,
19577         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19579 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19581         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19582         USE_ATOMIC_COMPILER_BUILTINS): Define.
19583         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19585         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19587         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19589         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19591         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19593         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19595         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19597         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19599         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19601         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19603         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19605         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19607         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19609         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19611         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19613         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19615         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19617         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19618         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19619         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19621         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19624 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19626         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19627         the sched_priority value here.  It was already checked when the user
19628         called pthread_attr_setschedparam.
19630         * nptl/tst-bad-schedattr.c: New file.
19631         * nptl/Makefile (tests): Add it.
19633 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19634             Florian Weimer  <fweimer@redhat.com>
19635             Joseph Myers  <joseph@codesourcery.com>
19636             Adam Conrad  <adconrad@0c3.net>
19637             Andreas Schwab  <schwab@suse.de>
19638             Brooks  <bmoses@google.com>
19640         [BZ #17625]
19641         * wordexp-test.c (__dso_handle): Add prototype.
19642         (__register_atfork): Likewise.
19643         (__app_register_atfork): New function.
19644         (registered_forks): New global.
19645         (register_fork): New function.
19646         (test_case): Add 3 new tests for WRDE_CMDSUB.
19647         (main): Call __app_register_atfork.
19648         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19649         fork count is non-zero fail the test.
19650         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19651         is set.
19652         (parse_dollars): Remove check for WRDE_NOCMD.
19653         (parse_dquote): Likewise.
19655 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19657         * Makeconfig (built-modules): List non-library modules to be
19658         built.
19659         (module-cppflags): Include libc-modules.h for
19660         everything except shlib-versions.v.i.
19661         (CPPFLAGS): Use it.
19662         (before-compile): Add libc-modules.h.
19663         ($(common-objpfx)libc-modules.h,
19664         $(common-objpfx)libc-modules.stmp): New targets.
19665         (common-generated): Add libc-modules.h and libc-modules.stmp.
19666         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19667         * include/libc-symbols.h: Don't include libc-modules.h.
19668         * include/libc-modules.h: Remove file.
19669         * scripts/gen-libc-modules.awk: New script to generate
19670         libc-modules.h.
19671         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19672         Depend on libc-modules.stmp.
19674         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19676         * Makeconfig (in-module): Get value of libof set for the
19677         translation unit.
19678         (CPPFLAGS): Use $(in-module).
19679         * Makerules: Don't suffix routine names for nonlib.
19680         * include/libc-modules.h: New file.
19681         * include/libc-symbols.h: Include libc-modules.h
19682         (IS_IN): New macro to replace IS_IN_* macros.
19683         * elf/Makefile: Set libof-* for each routine.
19684         * elf/rtld-Rules: Likewise.
19685         * extra-modules.mk: Likewise.
19686         * iconv/Makefile: Likewise.
19687         * iconvdata/Makefile: Likewise.
19688         * locale/Makefile: Likewise.
19689         * malloc/Makefile: Likewise.
19690         * nss/Makefile: Likewise.
19691         * sysdeps/gnu/Makefile: Likewise.
19692         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19693         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19694         * sysdeps/s390/s390-64/Makefile: Likewise.
19695         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19696         CPPFLAGS for nscd instead of nonlib.
19698 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19700         * nptl/createthread.c: New file.
19702         * nptl/createthread.c: Moved ...
19703         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19705         * nptl/createthread.c: Add proper top-line comment.
19706         (do_clone): Folded into ...
19707         (create_thread): ... here.  Take new arguments STOPPED_START and
19708         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19709         increment __nptl_threads, do event-reporting logic, do
19710         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19711         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19712         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19713         just send SIGCANCEL.
19714         * nptl/pthread_create.c: Forward-declare create_thread before
19715         including createthread.c.
19716         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19717         declaration, and new macro START_THREAD_SELF to replace argument.
19718         Remove return statement.
19719         (report_thread_creation): New function.
19720         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19721         synchronization logic, and __nptl_nthreads increment here, around
19722         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19723         PD->parent_cancelhandling here, before create_thread.  When
19724         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19725         __deallocate_stack, and ENOMEM translation here.
19727 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19729         [BZ #17616]
19730         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19731         (mptwo): Rename to __mptwo.
19732         (__inv): Use __mptwo instead of mptwo.
19733         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19734         (mptwo): Rename to __mptwo.
19735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19736         of mpone and __mptwo instead of mptwo.
19737         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19738         instead of mpone.
19739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19740         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19741         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19742         of mpone and __mptwo instead of mptwo.
19743         (__mpranred): Use __mpone instead of mpone.
19744         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19745         variable.
19746         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19747         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19748         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19749         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19750         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19751         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19752         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19753         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19754         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19755         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19756         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19757         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19758         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19759         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19760         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19761         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19762         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19763         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19764         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19766 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19768         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19769         replace BSD Handler xref with BSD Signal Handling.
19771 2014-11-17  Richard Henderson  <rth@redhat.com>
19773         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19774         (_FP_PACK_RAW_2): Remove.
19775         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19776         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19777         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19778         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19779         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19780         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19781         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19782         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19783         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19784         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19785         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19786         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19787         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19788         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19789         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19790         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19792 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19794         * signal/signal.h [__USE_MISC]
19795         (struct sigvec): Remove type.
19796         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19797         (sigvec): Remove declaration.
19798         * sysdeps/posix/sigvec.c: Moved ...
19799         * signal/sigvec.c: ... here, replacing old file.
19800         (struct sigvec): New type, copied from old signal.h definition.
19801         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19802         (__sigvec): Convert definition to prototype.
19803         (sigvec): Replace weak_alias with compat_symbol.
19804         * signal/Versions (libc: GLIBC_2.21): New version set.
19805         * include/signal.h: Remove __sigvec declaration.
19806         * sysdeps/unix/bsd/sigvec.c: Remove file.
19807         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19808         * manual/signal.texi (BSD Handler): Remove subsection.
19809         Move siginterrupt up to ...
19810         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19811         (Blocking in BSD): Fold subsection into its parent.
19812         * NEWS: Mention sigvec removal.
19814 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19816         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19817         (DLA_FMS): Make definition conditional only on [__FMA4__].
19818         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19819         definition.
19821         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19822         Make definition conditional only on [PROF].
19823         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19824         definition.
19825         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19826         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19828         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19829         !__GNUC__].
19830         * include/signal.h (__sigpause): Move declaration above call to
19831         libc_hidden_proto.
19832         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19833         variable.
19834         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19835         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19837 2014-11-14  David S. Miller  <davem@davemloft.net>
19839         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19840         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19842 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19844         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19845         * configure: Regenerated.
19846         * manual/install.texi (Tools for Compilation): Document a
19847         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19848         compiler verified to work.
19849         * INSTALL: Regenerated.
19851         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19852         redeclare with asm name.
19853         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19854         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19855         including <string.h>.
19856         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19857         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19858         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19859         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19860         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19862         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19864 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19866         * stdlib/strtol.c (__strtol): Use prototype definition.
19868         [BZ #17594]
19869         * stdlib/strtol.c (SYM__): New macro.
19870         (SYM__1): Likewise.
19871         (__strtol): Likewise.
19872         (strtol): Rename to __strtol and define as weak alias of
19873         __strtol.  Use libc_hidden_weak.
19875 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19877         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19878         Use numbered labels in inline assembly.
19880 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19882         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19883         Add setjmp LIBC_PROBE.
19884         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19885         Likewise.
19886         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19887         Add longjmp, longjmp_target LIBC_PROBE.
19888         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19889         Likewise.
19891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19893         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19894         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19895         to get rid of unused variable warning.
19897 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19899         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19900         Check for unwind_backtrace ==  NULL only in SHARED case.
19901         (__backchain_backtrace): Compile only in SHARED case.
19902         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19903         Likewise.
19904         (__backchain_backtrace): Declare as static.
19906 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19908         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19909         (__libc_multiple_threads_ptr): Variable moved ...
19910         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19912 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19914         * conform/GlibcConform.pm: New file.
19915         * conform/conformtest.pl: Use GlibcConform module.
19916         * conform/linknamespace.pl: New file.
19917         * conform/list-header-symbols.pl: Likewise.
19918         * conform/Makefile (linknamespace-symlists-base): New variable.
19919         (linknamespace-symlists-tests): Likewise.
19920         (linknamespace-header-base): Likewise.
19921         (linknamespace-header-tests): Likewise.
19922         (tests-special): Add new tests.
19923         ($(linknamespace-symlists-tests)): New rule.
19924         (linknamespace-libs): New variable.
19925         ($(objpfx)symlist-stdlibs): New rule.
19926         ($(linknamespace-header-tests)): Likewise.
19927         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19928         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19929         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19930         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19931         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19932         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19933         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19934         (test-xfail-ISO/math.h/linknamespace): Likewise.
19935         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19936         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19937         (test-xfail-ISO/time.h/linknamespace): Likewise.
19938         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19939         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19940         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19941         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19942         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19943         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19944         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19945         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19946         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19947         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19948         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19949         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19950         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19951         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19952         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19953         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19954         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19955         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19956         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19957         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19958         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19959         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19960         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19961         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19962         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19963         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19964         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19965         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19966         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19967         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19968         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19969         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19970         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19971         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19972         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19973         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19974         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19975         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19976         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19977         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19978         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19979         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19980         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19981         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19982         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19983         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19984         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19985         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19986         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19987         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19988         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19990         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19991         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19992         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19993         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19994         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19995         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19996         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19997         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19999         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20000         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20001         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20002         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20003         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20004         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20005         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20006         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20007         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20008         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20009         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20010         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20011         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20012         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20013         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20014         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20015         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20016         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20017         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20018         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20019         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20020         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20021         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20022         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20023         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20024         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20025         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20026         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20027         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20028         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20029         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20030         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20031         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20032         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20033         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20034         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20035         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20036         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20037         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20038         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20039         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20040         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20041         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20042         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20043         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20044         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20045         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20046         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20047         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20048         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20049         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20050         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20051         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20052         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20053         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20054         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20055         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20056         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20057         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20058         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20059         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20060         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20061         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20062         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20063         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20064         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20065         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20066         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20067         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20068         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20069         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20070         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20071         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20072         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20073         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20074         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20075         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20076         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20077         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20078         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20079         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20080         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20081         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20082         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20083         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20084         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20085         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20086         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20087         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20089         [BZ #17589]
20090         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20091         of fgets_unlocked.
20093         [BZ #17585]
20094         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20095         (memmem): Rename to __memmem and define as weak alias of
20096         __memmem.  Use libc_hidden_weak.
20097         (__memmem): Use libc_hidden_def.
20098         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20099         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20100         memmem.
20102         [BZ #17582]
20103         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20104         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20105         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20106         and define as weak alias of __fgets_unlocked.  Use
20107         libc_hidden_weak.
20108         (__fgets_unlocked): Use libc_hidden_def.
20109         * include/stdio.h (__fgets_unlocked): Declare.  Use
20110         libc_hidden_proto.
20111         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20112         __fgets_unlocked instead of fgets_unlocked.
20113         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20114         (GET_NPROCS_CONF_PARSER): Likewise.
20115         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20116         (GET_NPROCS_CONF_PARSER): Likewise.
20118         [BZ #17574]
20119         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20120         weak alias of __wmemset.  Use libc_hidden_weak.
20121         (__wmemset): Use libc_hidden_def.
20122         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20123         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20124         of wmemset.
20126         [BZ #17573]
20127         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20128         with asm name __mempcpy.
20129         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20131         [BZ #17572]
20132         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20133         and define as weak alias of __rawmemchr.
20134         (__rawmemchr): Do not define as strong alias of rawmemchr.
20136         [BZ #17571]
20137         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20138         alias of __qsort_r.
20139         (qsort): Call __qsort_r instead of qsort_r.
20140         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20141         (__qsort_r): Declare.  Call libc_hidden_proto.
20142         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20143         instead of qsort_r.
20144         * nscd/gai.c (__qsort_r): Define to qsort_r.
20145         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20146         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20147         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20149         [BZ #17570]
20150         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20151         define as weak alias of __malloc_info.
20153         [BZ #17584]
20154         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20155         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20156         (__rewinddir): Use libc_hidden_def.
20157         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20158         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20159         (__rewinddir): Use libc_hidden_def.
20160         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20161         weak alias of __rewinddir.  Don't use libc_hidden_def.
20162         (__rewinddir): Use libc_hidden_def.
20163         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20164         (__rewinddir): Use libc_hidden_proto.
20165         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20166         rewinddir.
20167         (__getcwd): Use __rewinddir instead of rewinddir.
20169         [BZ #17583]
20170         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20171         alias of __fileno.  Use libc_hidden_weak.
20172         (__fileno): Use libc_hidden_def.
20173         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20174         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20175         alias of __ftello.
20176         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20177         __ftello.
20178         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20179         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20180         libc_hidden_def.
20181         (fread_unlocked): Don't use libc_hidden_ver.
20182         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20183         and define as weak alias of __fread_unlocked.  Don't use
20184         libc_hidden_def.
20185         (__fread_unlocked): Use libc_hidden_def.
20186         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20187         (ftello): Don't use libc_hidden_proto.
20188         (__ftello): Declare.  Use libc_hidden_proto.
20189         (fread_unlocked): Don't use libc_hidden_proto.
20190         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20191         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20192         and __ftello instead of fileno, fread_unlocked and ftello.
20194 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20196         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20197         GOT12.
20198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20199         Likewise.
20200         (_dl_start_user): Likewise.
20201         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20203 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20204             Siddhesh Poyarekar  <siddhesh@redhat.com>
20206         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20207         Move argv and envp down instead of moving argc up.
20208         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20210 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20212         [BZ #17506]
20213         * test-skeleton.c (main): Return successful if one of
20214         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20215         * string/tst-strcoll-overflow.c: Define expected status.
20217 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20219         [BZ #17475]
20220         * locale/iso-639.def: Define Bhili and Tulu language codes.
20222 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20224         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20226 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20228         [BZ #17555]
20229         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20231 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20233         * configure.ac: Updated check of minimal required version to
20234         2.22.
20235         * manual/install.texi (Tools for Compilation): Updated version
20236         number.
20237         * configure: Regenerated.
20238         * INSTALL: Likewise.
20240 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20242         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20243         __tls_get_addr.
20245 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20247         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20248         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20249         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20250         libc_hidden_weak.
20251         (waitpid): Define as alias of __waitpid.
20252         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20253         __waitpid.
20254         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20255         libc_hidden_weak.
20256         (waitpid): Define as alias of __waitpid.
20257         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20258         __libc_waitpid alias.
20259         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20260         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20261         Likewise.
20262         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20263         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20264         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20265         alias.
20266         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20267         __waitpid.
20268         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20269         libc_hidden_weak.
20270         (waitpid): Define as alias of __waitpid.
20272 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20274         * manual/llio.texi: Add comment that write safety has been
20275         fixed in Linux.
20277         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20278         (localplt-build-dso): Add elf/ld.so.
20279         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20280         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20281         and free for ld.so.
20282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20283         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20285         Likewise.
20286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20287         Likewise.
20288         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20289         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20290         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20291         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20292         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20293         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20294         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20295         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20296         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20297         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20298         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20300 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20302         [BZ #14132]
20303         * include/libc-symbols.h (INTUSE): Remove macro.
20304         (INTDEF): Likewise.
20305         (INTVARDEF): Likewise.
20306         (_INTVARDEF): Likewise.
20307         (INTDEF2): Likewise.
20308         (INTVARDEF2): Likewise.
20309         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20310         rtld_hidden_def instead of INTVARDEF.
20311         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20312         (_dl_starting_up_internal): Remove declaration.
20313         (_dl_starting_up): Use rtld_hidden_proto.
20314         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20315         declaration.
20316         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20317         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20318         _dl_starting_up.
20319         * elf/dl-writev.h (_dl_writev): Likewise.
20320         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20321         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20322         _dl_starting_up_internal.
20324 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20326         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20327         test-skeleton.c.
20329 2014-11-05  Will Newton  <will.newton@linaro.org>
20331         * benchtests/Makefile: (bench-malloc): Add malloc thread
20332         scalability benchmark.
20333         * benchtests/bench-malloc-threads.c: New file.
20335 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20337         * sysdeps/aarch64/strchrnul.S: New file.
20339 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20341         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20342         definition.
20343         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20344         Likwise.
20345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20346         Likewise.
20347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20348         Likewise.
20349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20350         Likewise.
20351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20352         Likewise.
20354 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20356         * catgets/test-gencat.c: Use test-skeleton.c.
20357         * catgets/tst-catgets.c: Likewise.
20358         * csu/tst-empty.c: Likewise.
20359         * elf/tst-audit2.c: Likewise.
20360         * elf/tst-global1.c: Likewise.
20361         * elf/tst-pathopt.c: Likewise.
20362         * elf/tst-piemod1.c: Likewise.
20363         * elf/tst-tls10.c: Likewise.
20364         * elf/tst-tls11.c: Likewise.
20365         * elf/tst-tls12.c: Likewise.
20366         * gnulib/tst-gcc.c: Likewise.
20367         * iconvdata/tst-e2big.c: Likewise.
20368         * iconvdata/tst-loading.c: Likewise.
20369         * iconv/tst-iconv1.c: Likewise.
20370         * iconv/tst-iconv2.c: Likewise.
20371         * inet/test-inet6_opt.c: Likewise.
20372         * inet/tst-gethnm.c: Likewise.
20373         * inet/tst-network.c: Likewise.
20374         * inet/tst-ntoa.c: Likewise.
20375         * intl/tst-codeset.c: Likewise.
20376         * intl/tst-gettext2.c: Likewise.
20377         * intl/tst-gettext3.c: Likewise.
20378         * intl/tst-ngettext.c: Likewise.
20379         * intl/tst-translit.c: Likewise.
20380         * io/test-stat.c: Likewise.
20381         * libio/test-fmemopen.c: Likewise.
20382         * libio/tst-freopen.c: Likewise.
20383         * libio/tst-sscanf.c: Likewise.
20384         * libio/tst-ungetwc1.c: Likewise.
20385         * libio/tst-ungetwc2.c: Likewise.
20386         * libio/tst-widetext.c: Likewise.
20387         * localedata/tst-ctype.c: Likewise.
20388         * localedata/tst-digits.c: Likewise.
20389         * localedata/tst-leaks.c: Likewise.
20390         * localedata/tst-mbswcs1.c: Likewise.
20391         * localedata/tst-mbswcs2.c: Likewise.
20392         * localedata/tst-mbswcs3.c: Likewise.
20393         * localedata/tst-mbswcs4.c: Likewise.
20394         * localedata/tst-mbswcs5.c: Likewise.
20395         * localedata/tst-setlocale.c: Likewise.
20396         * localedata/tst-trans.c: Likewise.
20397         * localedata/tst-wctype.c: Likewise.
20398         * localedata/tst-xlocale1.c: Likewise.
20399         * login/tst-grantpt.c: Likewise.
20400         * malloc/tst-calloc.c: Likewise.
20401         * malloc/tst-malloc.c: Likewise.
20402         * malloc/tst-mallocstate.c: Likewise.
20403         * malloc/tst-mcheck.c: Likewise.
20404         * malloc/tst-mtrace.c: Likewise.
20405         * malloc/tst-obstack.c: Likewise.
20406         * math/atest-exp2.c: Likewise.
20407         * math/atest-exp.c: Likewise.
20408         * math/atest-sincos.c: Likewise.
20409         * math/test-matherr.c: Likewise.
20410         * math/test-misc.c: Likewise.
20411         * math/test-powl.c: Likewise.
20412         * math/tst-definitions.c: Likewise.
20413         * misc/tst-dirname.c: Likewise.
20414         * misc/tst-efgcvt.c: Likewise.
20415         * misc/tst-fdset.c: Likewise.
20416         * misc/tst-hsearch.c: Likewise.
20417         * misc/tst-mntent2.c: Likewise.
20418         * nptl/tst-sem7.c: Likewise.
20419         * nptl/tst-sem8.c: Likewise.
20420         * nptl/tst-sem9.c: Likewise.
20421         * nss/test-netdb.c: Likewise.
20422         * posix/tst-fnmatch.c: Likewise.
20423         * posix/tst-getlogin.c: Likewise.
20424         * posix/tst-gnuglob.c: Likewise.
20425         * posix/tst-mmap.c: Likewise.
20426         * pwd/tst-getpw.c: Likewise.
20427         * resolv/tst-inet_ntop.c: Likewise.
20428         * rt/tst-timer.c: Likewise.
20429         * stdio-common/test-fseek.c: Likewise.
20430         * stdio-common/test-popen.c: Likewise.
20431         * stdio-common/test-vfprintf.c: Likewise.
20432         * stdio-common/tst-cookie.c: Likewise.
20433         * stdio-common/tst-fileno.c: Likewise.
20434         * stdio-common/tst-gets.c: Likewise.
20435         * stdio-common/tst-obprintf.c: Likewise.
20436         * stdio-common/tst-perror.c: Likewise.
20437         * stdio-common/tst-sprintf2.c: Likewise.
20438         * stdio-common/tst-sprintf3.c: Likewise.
20439         * stdio-common/tst-sprintf.c: Likewise.
20440         * stdio-common/tst-swprintf.c: Likewise.
20441         * stdio-common/tst-tmpnam.c: Likewise.
20442         * stdio-common/tst-unbputc.c: Likewise.
20443         * stdio-common/tst-wc-printf.c: Likewise.
20444         * stdlib/tst-environ.c: Likewise.
20445         * stdlib/tst-fmtmsg.c: Likewise.
20446         * stdlib/tst-limits.c: Likewise.
20447         * stdlib/tst-rand48-2.c: Likewise.
20448         * stdlib/tst-rand48.c: Likewise.
20449         * stdlib/tst-random2.c: Likewise.
20450         * stdlib/tst-random.c: Likewise.
20451         * stdlib/tst-strtol.c: Likewise.
20452         * stdlib/tst-strtoll.c: Likewise.
20453         * stdlib/tst-tls-atexit.c: Likewise.
20454         * stdlib/tst-xpg-basename.c: Likewise.
20455         * string/test-ffs.c: Likewise.
20456         * string/tst-bswap.c: Likewise.
20457         * string/tst-inlcall.c: Likewise.
20458         * string/tst-strtok.c: Likewise.
20459         * string/tst-strxfrm.c: Likewise.
20460         * sysdeps/x86_64/tst-audit10.c: Likewise.
20461         * sysdeps/x86_64/tst-audit3.c: Likewise.
20462         * sysdeps/x86_64/tst-audit4.c: Likewise.
20463         * sysdeps/x86_64/tst-audit5.c: Likewise.
20464         * time/tst-ftime_l.c: Likewise.
20465         * time/tst-getdate.c: Likewise.
20466         * time/tst-mktime3.c: Likewise.
20467         * time/tst-mktime.c: Likewise.
20468         * time/tst-posixtz.c: Likewise.
20469         * time/tst-strptime2.c: Likewise.
20470         * time/tst-strptime3.c: Likewise.
20471         * wcsmbs/tst-btowc.c: Likewise.
20472         * wcsmbs/tst-mbrtowc.c: Likewise.
20473         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20474         * wcsmbs/tst-wchar-h.c: Likewise.
20475         * wcsmbs/tst-wcpncpy.c: Likewise.
20476         * wcsmbs/tst-wcrtomb.c: Likewise.
20477         * wcsmbs/tst-wcsnlen.c: Likewise.
20478         * wcsmbs/tst-wcstof.c: Likewise.
20480 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20482         [BZ #14132]
20483         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20484         INTDEF.
20485         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20486         declaration.
20487         (_dl_mcount): Use rtld_hidden_proto.
20488         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20489         _dl_mcount.
20490         * elf/rtld.c (_rtld_global_ro): Likewise.
20492         [BZ #14132]
20493         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20494         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20495         of _dl_init_internal.
20496         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20497         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20498         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20499         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20500         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20501         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20502         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20503         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20504         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20505         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20506         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20507         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20508         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20509         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20510         * sysdeps/tile/dl-start.S (_start): Likewise.
20511         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20512         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20514         [BZ #14132]
20515         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20516         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20517         (rtld_progname): Make macro definition unconditional.
20518         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20519         INTDEF.
20520         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20521         (dl_main): Likewise.
20522         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20523         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20524         instead of _dl_argv_internal.
20525         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20526         __GI__dl_argv instead of INTUSE(_dl_argv).
20527         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20528         __GI__dl_argv instead of _dl_argv_internal.
20530         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20531         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20532         macro.
20533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20534         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20535         New macro.
20536         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20537         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20538         macro.
20539         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20540         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20542 2014-11-04  Andreas Schwab  <schwab@suse.de>
20544         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20546 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20548         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20549         mtvsrd instruction in binary form.
20551 2014-11-03  Andreas Schwab  <schwab@suse.de>
20553         [BZ #17522]
20554         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20555         for less than MB_LEN_MAX use a local buffer of that size.
20556         * libio/tst-fputws.c: New file.
20557         * libio/Makefile (tests): Add tst-fputws.
20559 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20562         the size of the fpu_fr.fpu_dregs[] array.
20564 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20566         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20567         (__nanosleep): Do not define as alias.
20568         (nanosleep): Define as alias of __nanosleep.
20569         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20570         __libc_nanosleep name.
20572 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20575         install.texi in comment.
20577 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20579         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20580         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20581         ... add here and use lwsync or sync ...
20582         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20583         ... and add here using lwsync.
20585 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20587         * elf/dl-machine-reject-phdr.h: New file.
20588         * elf/dl-load.c: #include that.
20589         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20590         if that returned true.
20592 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20594         [BZ #17496]
20595         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20596         gen-as-const-headers chunk.  Add a big scare comment after the last
20597         safe place to touch before-compile.
20599 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20601         * manual/install.texi (Tools for Compilation): Update autoconf
20602         version requirements.
20603         * INSTALL: Regenerated.
20605         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20606         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20607         (__libc_pselect): Likewise.
20609         [BZ #14138]
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20615 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20617         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20618         correct barrier instruction.
20619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20620         Likewise.
20621         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20622         Likewise.
20624 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20626         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20627         after defining inlines.  Instead, just use parens to defeat macro
20628         expansion of __isctype in its declaration.
20630 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20632         * include/sys/uio.h (__libc_readv): Remove declaration.
20633         (__libc_writev): Likewise.
20634         * misc/readv.c (__libc_readv): Rename to __readv.
20635         (__readv): Do not define as alias.
20636         (readv): Define as alias of __readv.
20637         * misc/writev.c (__libc_writev): Rename to __writev.
20638         (__writev): Do not define as alias.
20639         (writev): Define as alias of __writev.
20640         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20641         (__readv): Do not define as alias.
20642         (readv): Define unconditionally as alias of __readv.
20643         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20644         (__writev): Do not define as alias.
20645         (writev): Define unconditionally as alias of __writev.
20646         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20647         name.
20648         (writev): Do not define __libc_writev name.
20650 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20652         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20653         (convert_charseq): New function, broken out of ...
20654         (use_from_charmap): ... here.  Call it.
20655         (use_to_charmap): Use convert_charseq and free instead of duplicating
20656         its code with a variable-length stack struct.
20658 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20660         * include/fcntl.h (__libc_creat): Remove declaration.
20661         * io/creat.c (__libc_creat): Rename to creat.
20662         (creat): Do not define as alias.
20663         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20664         of creat instead of __libc_creat.
20665         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20666         to creat.
20667         (creat): Do not define as alias.
20668         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20669         __libc_creat.
20670         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20671         __libc_creat name.
20672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20673         Likewise.
20675 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20677         * manual/llio.texi: Add comments discussing why write() may be
20678         considered MT-unsafe on Linux.
20680 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20682         * dl-load.c (local_strdup): Remove.
20683         (expand_dynamic_string_token): Use __strdup.
20684         (decompose_rpath): Likewise.
20685         (_dl_map_object): Likewise.
20687 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #14132]
20690         * sysdeps/generic/unwind-dw2-fde.c
20691         (__register_frame_info_bases_internal): Do not declare.
20692         (__register_frame_info_table_bases_internal): Likewise.
20693         (__deregister_frame_info_bases_internal): Likewise.
20694         (__register_frame_info_bases): Declare and use hidden_proto before
20695         definition.  Use hidden_def instead of INTDEF.
20696         (__register_frame_info_table_bases): Likewise.
20697         (__deregister_frame_info_bases): Likewise.
20698         (__register_frame_info): Do not use INTUSE.
20699         (__register_frame): Likewise.
20700         (__register_frame_info_table): Likewise.
20701         (__register_frame_table): Likewise.
20702         (__deregister_frame_info): Likewise.
20703         (__deregister_frame): Likewise.
20705 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20708         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20709         not undefine.
20710         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20711         Likewise.
20712         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20713         Likewise.
20715 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20717         [BZ #14138]
20718         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20719         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20720         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20721         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20722         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20723         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20724         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20725         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20726         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20727         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20728         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20729         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20730         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20731         syscall.
20732         (setfsuid): Likewise.
20733         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20734         (setfsuid): Likewise.
20735         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20736         (setfsuid): Likewise.
20737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20738         Likewise.
20739         (setfsuid): Likewise.
20740         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20741         (setfsuid): Likewise.
20742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20743         Likewise.
20744         (setfsuid): Likewise.
20746 2014-10-27  Andreas Schwab  <schwab@suse.de>
20748         [BZ #17501]
20749         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20750         check for Slow_SSE4_2 feature bit.
20751         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20752         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20753         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20754         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20756 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20758         * configure.ac: Validate compiler version with a empirical test of
20759         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20760         $CC -v output.
20761         * configure: Regenerated.
20763         * inet/htons.c (htons): Prototypify.
20764         * inet/htonl.c (htonl): Likewise.
20766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20768         * string/strncat.c (strncat): Improve performance by using strlen.
20770 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20772         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20774 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20776         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20777         Call libc_fetestexcept_aarch64.
20779 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20781         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20782         Call libc_feholdexcept_aarch64.
20784 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20786         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20787         Call get_rounding_mode.
20789 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20791         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20792         Simplify logic.
20794 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20796         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20797         Simplify logic.
20799 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20801         [BZ #14138]
20802         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20803         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20804         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20805         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20806         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20807         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20808         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20809         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20810         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20811         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20812         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20813         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20814         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20815         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20816         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20817         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20818         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20819         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20820         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20821         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20822         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20823         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20824         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20825         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20826         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20827         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20828         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20829         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20830         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20831         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20832         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20833         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20834         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20835         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20836         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20837         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20838         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20839         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20840         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20841         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20842         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20843         syscall.
20844         (geteuid): Likewise.
20845         (getgid): Likewise.
20846         (getuid): Likewise.
20847         (getresgid): Likewise.
20848         (getresuid): Likewise.
20849         (getgroups): Likewise.
20850         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20851         (geteuid): Likewise.
20852         (getgid): Likewise.
20853         (getuid): Likewise.
20854         (getresgid): Likewise.
20855         (getresuid): Likewise.
20856         (getgroups): Likewise.
20857         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20858         (geteuid): Likewise.
20859         (getgid): Likewise.
20860         (getuid): Likewise.
20861         (getresgid): Likewise.
20862         (getresuid): Likewise.
20863         (getgroups): Likewise.
20864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20865         Likewise.
20866         (geteuid): Likewise.
20867         (getgid): Likewise.
20868         (getuid): Likewise.
20869         (getresgid): Likewise.
20870         (getresuid): Likewise.
20871         (getgroups): Likewise.
20872         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20873         (geteuid): Likewise.
20874         (getgid): Likewise.
20875         (getuid): Likewise.
20876         (getresgid): Likewise.
20877         (getresuid): Likewise.
20878         (getgroups): Likewise.
20879         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20880         Likewise.
20881         (geteuid): Likewise.
20882         (getgid): Likewise.
20883         (getuid): Likewise.
20884         (getgroups): Likewise.
20886         [BZ #14138]
20887         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20888         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20889         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20890         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20891         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20892         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20893         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20894         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20895         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20896         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20897         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20898         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20899         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20900         __chown.
20901         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20902         (lchown): Likewise.
20903         (fchown): Likewise.
20904         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20905         Likewise.
20906         (lchown): Likewise.
20907         (fchown): Likewise.
20908         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20909         (lchown): Likewise.
20910         (fchown): Likewise.
20911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20912         Likewise.
20913         (lchown): Likewise.
20914         (fchown): Likewise.
20916 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20918         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20919         Simplify logic.
20921 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20923         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20924         Cleanup logic.
20926 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20928         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20929         Remove unused include.
20931 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20933         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20934         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20935         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20936         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20938 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20939             Helge Deller <deller@gmx.de>
20941         [BZ #17508]
20942         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20943         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20944         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20946 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20948         [BZ #14132]
20949         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20950         Remove macro definition.
20951         (__ashrdi3_v_glibc20): Likewise.
20952         (__lshrdi3_v_glibc20): Likewise.
20953         (__cmpdi2_v_glibc20): Likewise.
20954         (__ucmpdi2_v_glibc20): Likewise.
20955         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20956         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20957         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20958         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20959         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20960         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20962 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20964         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20965         old GNU extension [0] syntax.
20966         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20967         alloca rather than an array member with variable length.
20968         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20969         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20970         (parse_opt): ... here.  Likewise use alloca there.
20971         Validate the -i argument before checking for rootness.
20972         (send_shutdown): New function, broken out of ...
20973         (parse_opt): ... here.
20975 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20977         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20978         macro to get at the _rt_local_ro field.
20979         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20980         ([PIC] case) or _dl_hwcap ([!PIC] case).
20981         * sysdeps/arm/setjmp.S: Likewise.
20983         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20984         * sysdeps/arm/configure.ac: New check to define it.
20985         * sysdeps/arm/configure: Regenerated.
20986         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20987         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20988         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20989         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20990         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20991         Use move/movt pair instead of a load.
20992         (LDST_GLOBAL): Macro removed.
20993         (LDR_GLOBAL): New macro replaces it.
20994         (LDR_HIDDEN): New macro.
20995         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20996         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20998         * setjmp/tst-setjmp-static.c: New file.
20999         * setjmp/Makefile (tests): Add it.
21000         (tests-static): New variable.
21002 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21004         [BZ #17485]
21005         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21007 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21009         [BZ #14132]
21010         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21012 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21014         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21016 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21018         * io/fts.c (dirent_not_directory): New function.
21019         (fts_build): Call it.
21021 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21023         * nptl/version.c (__nptl_main): Use normal __write rather than
21024         INTERNAL_SYSCALL.
21025         (banner): Update copyright years.
21027         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21028         gettimeofday.
21029         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21030         * nptl/pthread_cond_timedwait.c: Likewise.
21031         * nptl/pthread_mutex_timedlock.c: Likewise.
21032         * nptl/sem_timedwait.c: Likewise.
21034         * sysdeps/nptl/bits/libc-lock.h
21035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21036         (__libc_lock_init_recursive): Return void, not 0.
21037         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21038         (__libc_rwlock_init): Likewise.
21039         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21041 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21043         [BZ #15215]
21044         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21045         (__pthread_once_slow): ... here.
21046         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21047         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21049 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21051         [BZ #15215]
21052         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21053         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21054         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21055         * nptl/pthread_once.c (__pthread_once): Likewise.
21056         Update comments.
21058 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21060         [BZ #14138]
21061         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21062         name.
21063         (writev): Use __libc_writev as strong name.
21064         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21065         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21067 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21069         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21071         * sysdeps/i386/nptl/tls.h
21072         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21073         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21074         New macros.
21075         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21076         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21077         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21078         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21079         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21080         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21082         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21083         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21084         on [__NR_futex].
21085         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21086         broken out of ...
21087         (__pthread_mutex_init): ... here.  Call it.
21088         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21089         Conditionalize PI cases on [__NR_futex].
21090         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21091         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21092         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21094         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21095         conditional on [SIGSETXID].
21096         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21097         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21098         is defined.  Likewise for SIGSETXID.
21099         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21100         Conditionalize definitions on [SIGSETXID].
21101         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21102         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21103         unblocking on [SIGCANCEL].
21105         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21106         [__NR_set_robust_list].
21108 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21110         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21111         (do_compare): Likewise.
21113 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21115         [BZ #15884]
21116         * string/strcoll_l.c: Don't include stdio.h.
21117         (coll_seq): Remove members idxarr and rulearr.
21118         (get_next_seq_cached): Remove function.
21119         (get_next_seq): Likewise.
21120         (get_next_seq_nocache): Rename to get_next_seq.
21121         (do_compare): Remove function.
21122         (do_compare_nocache): Rename to do_compare.
21123         (STRCOLL): Remove weight and rules cache.
21125 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21127         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21128         * sysdeps/arm/sfp-machine.h: ... to here.
21129         * sysdeps/arm/Implies: Remove arm/soft-fp.
21131 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21133         * conform/data/sys/utsname.h-data (*_t): Allow.
21134         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21135         [POSIX] (WEXITED): Do not expect constant.
21136         [POSIX] (WSTOPPED): Likewise.
21137         [POSIX] (WNOHANG): Likewise.
21138         [POSIX] (WNOWAIT): Likewise.
21139         [POSIX] (siginfo_t): Do not expect type or elements.
21140         [POSIX] (pid_t): Do not expect type.
21141         [POSIX] (signal.h): Do not allow header.
21142         [POSIX] (sys/resource.h): Likewise.
21143         [POSIX] (si_*): Do not allow pattern.
21144         [POSIX] (W*): Likewise.
21145         [POSIX] (P_*): Likewise.
21146         [POSIX] (BUS_*): Likewise.
21147         [POSIX] (CLD_*): Likewise.
21148         [POSIX] (FPE_*): Likewise.
21149         [POSIX] (ILL_*): Likewise.
21150         [POSIX] (POLL_*): Likewise.
21151         [POSIX] (SEGV_*): Likewise.
21152         [POSIX] (SI_*): Likewise.
21153         [POSIX] (TRAP_*): Likewise.
21154         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21155         variable.
21157 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21159         [BZ #12926]
21160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21161         infinite loop when __recvmsg returns 0.
21163 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21165         * CANCEL-FCT-WAIVE: Remove file.
21166         * CANCEL-FILE-WAIVE: Likewise.
21168         [BZ #14132]
21169         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21170         instead of INTVARDEF.
21171         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21172         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21173         rtld_hidden_data_def instead of INTVARDEF.
21174         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21175         * elf/dl-deps.c (expand_dst): Likewise.
21176         * elf/dl-load.c (_dl_dst_count): Likewise.
21177         (_dl_dst_substitute): Likewise.
21178         (decompose_rpath): Likewise.
21179         (_dl_init_paths): Likewise.
21180         (open_path): Likewise.
21181         (_dl_map_object): Likewise.
21182         * elf/rtld.c (dl_main): Likewise.
21183         (process_dl_audit): Likewise.
21184         (process_envvars): Likewise.
21185         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21186         Remove declaration.
21187         (__libc_enable_secure): Use rtld_hidden_proto.
21189 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21191         * elf/dl-load.c
21192         (add_path): New function broken out of _dl_rtld_di_serinfo.
21193         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21195 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21197         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21198         parentheses around macro arguments.
21199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21210         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21214         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21215         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21228         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21233         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21234         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21235         Likewise.
21236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21243         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21244         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21245         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21247         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21248         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21257         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21261         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21262         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21263         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21264         (_FP_FRAC_SRS_1): Likewise.
21265         (_FP_FRAC_CLZ_1): Likewise.
21266         (_FP_MUL_MEAT_1_imm): Likewise.
21267         (_FP_MUL_MEAT_1_wide): Likewise.
21268         (_FP_MUL_MEAT_1_hard): Likewise.
21269         (_FP_SQRT_MEAT_1): Likewise.
21270         (_FP_FRAC_ASSEMBLE_1): Likewise.
21271         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21272         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21273         (__FP_CLZ_2): Likewise.
21274         (_FP_MUL_MEAT_2_wide): Likewise.
21275         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21276         (_FP_MUL_MEAT_2_gmp): Likewise.
21277         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21278         (_FP_SQRT_MEAT_2): Likewise.
21279         (_FP_FRAC_ASSEMBLE_2): Likewise.
21280         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21281         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21282         (_FP_FRAC_CLZ_4): Likewise.
21283         (_FP_MUL_MEAT_4_wide): Likewise.
21284         (_FP_MUL_MEAT_4_gmp): Likewise.
21285         (_FP_SQRT_MEAT_4): Likewise.
21286         (_FP_FRAC_ASSEMBLE_4): Likewise.
21287         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21288         * soft-fp/op-common.h (_FP_CMP): Likewise.
21289         (_FP_CMP_EQ): Likewise.
21290         (_FP_CMP_UNORD): Likewise.
21291         (_FP_TO_INT): Likewise.
21292         (_FP_FROM_INT): Likewise.
21293         [!__FP_CLZ] (__FP_CLZ): Likewise.
21294         (_FP_DIV_HELP_imm): Likewise.
21295         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21296         Likewise.
21297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21301         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21308         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21309         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21312         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21313         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21326         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21327         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21328         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21331         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21332         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21333         (FP_UNPACK_RAW_SP): Likewise.
21334         (FP_PACK_RAW_S): Likewise.
21335         (FP_PACK_RAW_SP): Likewise.
21336         (FP_UNPACK_S): Likewise.
21337         (FP_UNPACK_SP): Likewise.
21338         (FP_UNPACK_SEMIRAW_S): Likewise.
21339         (FP_UNPACK_SEMIRAW_SP): Likewise.
21340         (FP_PACK_S): Likewise.
21341         (FP_PACK_SP): Likewise.
21342         (FP_PACK_SEMIRAW_S): Likewise.
21343         (FP_PACK_SEMIRAW_SP): Likewise.
21344         (_FP_SQRT_MEAT_S): Likewise.
21345         (FP_CMP_S): Likewise.
21346         (FP_CMP_EQ_S): Likewise.
21347         (FP_CMP_UNORD_S): Likewise.
21348         (FP_TO_INT_S): Likewise.
21349         (FP_FROM_INT_S): Likewise.
21351         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21353         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21354         (FP_EX_INVALID_IMZ): Likewise.
21355         (FP_EX_INVALID_IMZ_FMA): Likewise.
21356         (FP_EX_INVALID_ISI): Likewise.
21357         (FP_EX_INVALID_ZDZ): Likewise.
21358         (FP_EX_INVALID_IDI): Likewise.
21359         (FP_EX_INVALID_SQRT): Likewise.
21360         (FP_EX_INVALID_CVI): Likewise.
21361         (FP_EX_INVALID_VC): Likewise.
21362         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21363         "invalid" exceptions.
21364         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21365         (_FP_ADD_INTERNAL): Likewise.
21366         (_FP_MUL): Likewise.
21367         (_FP_FMA): Likewise.
21368         (_FP_DIV): Likewise.
21369         (_FP_CMP_CHECK_NAN): Likewise.
21370         (_FP_SQRT): Likewise.
21371         (_FP_TO_INT): Likewise.
21372         (FP_EXTEND): Likewise.
21374 2014-10-09  Allan McRae  <allan@archlinux.org>
21376         * po/fr.po: Update French translation from translation project.
21378 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21380         [BZ #14132]
21381         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21382         of INTDEF.
21383         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21384         (__cxa_atexit): Use libc_hidden_proto.
21385         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21387         [BZ #14132]
21388         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21389         declaration.
21390         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21391         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21392         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21393         [!_ISOMAC] (__iswctype_internal): Likewise.
21394         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21395         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21396         alias.
21397         (fcntl): Remove __fcntl_internal alias.
21398         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21399         __connect_internal alias.
21400         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21401         Likewise.
21403         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21404         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21405         FP_DENORM_ZERO.
21406         (_FP_CHECK_FLUSH_ZERO): New macro.
21407         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21408         (_FP_CMP): Likewise.
21409         (_FP_CMP_EQ): Likewise.
21410         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21411         FP_DENORM_ZERO.
21412         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21413         (FP_TRUNC): Likewise.
21415         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21416         treated as invalid conversion, not as normal exponent.
21418         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21419         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21420         (_FP_CMP_EQ): Likewise.
21421         (_FP_CMP_UNORD): Likewise.
21422         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21423         (FP_CMP_EQ_D): Likewise.
21424         (FP_CMP_UNORD_D): Likewise.
21425         * soft-fp/extended.h (FP_CMP_E): Likewise.
21426         (FP_CMP_EQ_E): Likewise.
21427         (FP_CMP_UNORD_E): Likewise.
21428         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21429         (FP_CMP_EQ_Q): Likewise.
21430         (FP_CMP_UNORD_Q): Likewise.
21431         * soft-fp/single.h (FP_CMP_S): Likewise.
21432         (FP_CMP_EQ_S): Likewise.
21433         (FP_CMP_UNORD_S): Likewise.
21434         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21435         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21436         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21437         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21438         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21439         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21440         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21441         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21442         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21443         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21444         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21445         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21446         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21447         to FP_CMP_Q.
21448         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21449         FP_CMP_Q.
21450         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21451         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21452         FP_CMP_EQ_Q.
21453         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21454         FP_CMP_Q.
21455         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21456         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21457         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21458         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21459         FP_CMP_EQ_Q.
21460         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21461         FP_CMP_Q.
21462         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21463         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21464         FP_CMP_EQ_Q.
21465         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21466         FP_CMP_Q.
21467         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21468         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21469         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21470         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21471         FP_CMP_EQ_Q.
21473         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21474         a subnormal result, set the underflow exception if trapping on
21475         underflow is enabled.
21476         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21477         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21478         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21479         redefine to 0.
21480         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21481         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21482         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21483         * soft-fp/extendxftf2.c (__extendxftf2): Use
21484         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21486         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21487         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21488         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21489         FP_HANDLE_EXCEPTIONS.
21490         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21491         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21492         FP_HANDLE_EXCEPTIONS.
21493         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21494         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21495         FP_HANDLE_EXCEPTIONS.
21496         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21497         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21498         FP_HANDLE_EXCEPTIONS.
21500 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21502         [BZ #14132]
21503         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21504         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21505         use INTUSE.
21506         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21507         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21508         Remove alias.
21509         (__adjtimex): Define using libc_hidden_ver.
21510         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21511         Remove declaration.
21512         (ntp_gettime): Call __adjtimex directly.
21513         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21514         Remove declaration.
21515         (ntp_gettimex): Call __adjtimex directly.
21516         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21517         __adjtimex_internal alias.
21519 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21521         [BZ #17460]
21522         * nscd/nscd.c (more_help): Rewrite list of tables collection
21523         using xstrdup and asprintf.
21525         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21527 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21528             Roland McGrath  <roland@hack.frob.com>
21530         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21531         (do_lookup_unique): ... local function 'enter' here; update callers.
21533 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21535         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21536         compat_symbol calls on [SHARED].
21537         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21538         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21539         Remove.
21540         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21541         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21542         (oldsetrlimit): Remove.
21543         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21545         (lchown): New syscall entry.
21546         (oldsetrlimit): Remove.
21547         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21549         (oldsetrlimit): Remove.
21550         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21552         [BZ #14138]
21553         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21554         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21555         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21556         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21557         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21558         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21559         (fchown): Likewise.
21560         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21561         (fchown): Likewise.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21563         Likewise.
21565 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21568         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21569         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21570         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21571         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21572         Likewise.
21573         (__old_sem_post): Likewise.
21575 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21577         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21578         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21579         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21580         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21581         Use INLINE_VSYSCALL macro.
21582         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21583         __vdso_clock_gettime.
21584         * sysdeps/unix/sysv/linux/tile/init-first.c
21585         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21586         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21587         __vdso_clock_gettime.
21589         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21590         to set up frame more cleanly.
21592         * sysdeps/tile/memcmp.c: New file.
21594         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21596         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21597         * sysdeps/tile/tilegx/strcasestr.c: New file.
21598         * sysdeps/tile/tilegx/strnlen.c: New file.
21599         * sysdeps/tile/tilegx/strstr.c: New file.
21601         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21603 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21605         * nptl/tst-setuid3.c: Write errors to stdout.
21607 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21609         * elf/dl-deps.c
21610         (preload): New functions broken out of _dl_map_object_deps.
21611         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21613 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21615         [BZ #14138]
21616         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21617         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21619 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21621         * sysdeps/mips/strcmp.S: New.
21623 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21625         [BZ #14138]
21626         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21627         (linkat): Likewise.
21628         (mkdirat): Likewise.
21629         (readlinkat): Likewise.
21630         (renameat): Likewise.
21631         (symlinkat): Likewise.
21632         (unlinkat): Likewise.
21633         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21634         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21635         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21636         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21637         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21638         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21639         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21641 2014-09-30  Will Newton  <will.newton@linaro.org>
21643         * math/math.h: Define long double math functions if
21644         _LIBC_TEST is defined.
21645         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21647         * localedata/Makefile: Move assignment to tests-special
21648         into an ifdef testing run-built-tests.
21649         * timezone/Makefile: Likewise.
21651 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21653         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21654         with $(BASH) not $(SHELL).
21656 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21657             Matthew LeGendre  <legendre1@llnl.gov>
21659         [BZ #17411]
21660         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21661         l_reloc_result.
21663 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21665         * stdio-common/printf_fp.c
21666         (hack_digit): New function, broken out of ...
21667         (__printf_fp): ... local function here.  Update call sites.
21668         hack_digit now takes an additional parameter that is a pointer
21669         to a struct of the referenced locals.  Those locals moved inside
21670         the struct and references updated.
21672 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21674         * aclocal.m4: Require autoconf 2.69.
21675         * configure: Regenerated.
21676         * sysdeps/aarch64/configure: Likewise.
21677         * sysdeps/alpha/configure: Likewise.
21678         * sysdeps/arm/armv7/configure: Likewise.
21679         * sysdeps/arm/configure: Likewise.
21680         * sysdeps/ia64/configure: Likewise.
21681         * sysdeps/mach/configure: Likewise.
21682         * sysdeps/mips/configure: Likewise.
21683         * sysdeps/s390/configure: Likewise.
21684         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21687         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21688         file.
21689         * sysdeps/ia64/configure.ac: Likewise.
21691 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21694         specify symbol version for ld.so.  Do not include entry for
21695         libpthread.
21696         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21697         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21698         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21700         [BZ #14171]
21701         * Makeconfig [$(build-shared) = yes]
21702         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21703         makefiles.
21704         [$(build-shared) = yes && $(soversions.mk-done) = t]
21705         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21706         [$(build-shared) = yes && $(soversions.mk-done) = t]
21707         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21708         to Makerules.
21709         [$(build-shared) = yes && $(soversions.mk-done) = t]
21710         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21711         here.
21712         [$(build-shared) = yes && $(soversions.mk-done) = t]
21713         (common-generated): Don't append gnu/lib-names.h and
21714         gnu/lib-names.stmp here.
21715         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21716         (lib-names-h-abi): New variable.
21717         [$(build-shared) = yes && $(soversions.mk-done) = t]
21718         (lib-names-stmp-abi): Likewise.
21719         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21720         abi-variants] (before-compile): Append
21721         $(common-objpfx)$(lib-names-h-abi).
21722         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21723         abi-variants] (common-generated): Append gnu/lib-names.h.
21724         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21725         abi-variants] (install-others-nosubdir): Depend on
21726         $(inst_includedir)/$(lib-names-h-abi).
21727         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21728         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21729         [$(build-shared) = yes && $(soversions.mk-done) = t]
21730         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21731         [$(build-shared) = yes && $(soversions.mk-done) = t]
21732         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21733         [$(build-shared) = yes && $(soversions.mk-done) = t]
21734         (common-generated): Append $(lib-names-h-abi) and
21735         $(lib-names-stmp-abi).
21736         * scripts/lib-names.awk: Do not handle multi being set.
21737         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21738         Remove variable.
21739         (abi-lp64_be-ld-soname): Likewise.
21740         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21741         Likewise.
21742         (abi-hard-ld-soname): Likewise.
21743         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21744         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21745         Remove variable.
21746         (abi-o32_hard-ld-soname): Likewise.
21747         (abi-o32_soft_2008-ld-soname): Likewise.
21748         (abi-o32_hard_2008-ld-soname): Likewise.
21749         (abi-n32_soft-ld-soname): Likewise.
21750         (abi-n32_hard-ld-soname): Likewise.
21751         (abi-n32_soft_2008-ld-soname): Likewise.
21752         (abi-n32_hard_2008-ld-soname): Likewise.
21753         (abi-n64_soft-ld-soname): Likewise.
21754         (abi-n64_hard-ld-soname): Likewise.
21755         (abi-n64_soft_2008-ld-soname): Likewise.
21756         (abi-n64_hard_2008-ld-soname): Likewise.
21757         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21758         Likewise.
21759         (abi-64-v2-ld-soname): Likewise.
21760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21761         ld.so entries.
21762         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21763         variable.
21764         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21765         entry.
21766         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21767         variable.
21768         (abi-64-ld-soname): Likewise.
21769         (abi-x32-ld-soname): Likewise.
21770         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21771         entry.
21772         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21774 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #14138]
21777         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21778         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21779         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21780         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21781         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21782         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21783         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21784         syscall entry for GLIBC_2.2 symbol version.
21785         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21786         Likewise.
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21788         (setrlimit): Likewise.
21789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21790         Likewise.
21792 2014-09-23  Will Newton  <will.newton@linaro.org>
21794         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21795         _LINUX_ARM_SYSDEP_H include guard too.
21796         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21797         define.
21799 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21801         * sysdeps/unix/sysv/linux/eventfd.c:
21802         Make first argument unsigned.
21803         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21804         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21806 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21808         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21809         * socket/sys/socket.h: Likewise
21810         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21812 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21814         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21816 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21818         * time/tst-ftime.c: New test.
21819         * time/Makefile (tests): Add tst-ftime.
21821 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21823         * soft-fp/extended.h: Fix comment formatting.
21824         * soft-fp/op-1.h: Likewise.
21825         * soft-fp/op-2.h: Likewise.
21826         * soft-fp/op-4.h: Likewise.
21827         * soft-fp/op-8.h: Likewise.
21828         * soft-fp/op-common.h: Likewise.
21829         * soft-fp/soft-fp.h: Likewise.
21831         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21833 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21835         [BZ #6652]
21836         * Makeconfig (soversions-default-setname): Remove variable.
21837         ($(common-objpfx)soversions.i): Don't pass default_setname to
21838         soversions.awk.
21839         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21840         oldest_abi to abi-versions.awk.
21841         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21842         * config.make.in (oldest-abi): Remove variable.
21843         * configure.ac (--enable-oldest-abi): Remove configure option.
21844         * configure: Regenerated.
21845         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21846         text.
21847         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21848         * scripts/soversions.awk: Do not handle default_setname variable.
21849         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21850         variable.
21851         * sysdeps/mach/hurd/configure: Regenerated.
21852         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21853         variable.
21854         * sysdeps/unix/sysv/linux/configure: Regenerated.
21856 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21858         * elf/Makefile (CFLAGS-interp.c): Remove.
21859         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21860         path string.
21861         * elf/interp.c: Include generated runtime-linker.h
21863         * Makerules (lib%.so): Don't include $(+interp) in
21864         prerequisites.
21865         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21866         * dlfcn/eval.c: Remove file.
21868         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21869         macros.
21871         [BZ #17266]
21872         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21873         4.2 and newer.
21875         [BZ #17370]
21876         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21878 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21879             Jakub Jelinek  <jakub@redhat.com>
21881         [BZ #17266]
21882         * libio/stdio.h: Check definition of __fortify_function
21883         instead of __extern_always_inline to include bits/stdio2.h.
21884         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21885         check if __extern_always_inline is defined.
21886         [__USE_MISC || __USE_XOPEN]: Likewise.
21887         [__USE_ISOC99] Likewise.
21888         * misc/sys/cdefs.h (__fortify_function): Define only if
21889         __extern_always_inline is defined.
21890         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21891         __extern_always_inline and __extern_inline only for g++-4.3
21892         and newer or a compatible gcc.
21894 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21896         [BZ #17371]
21897         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21898         last change to handle zero prefix length.
21900 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21902         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21903         _SC_REGEX_VERSION.
21905         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21906         _POSIX_RAW_SOCKETS.
21908 2014-09-13  Allan McRae  <allan@archlinux.org>
21910         * po/ru.po: Update Russian translation from translation project.
21912 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21914         * locale/programs/locale.c (show_locale_vars): Inline local function
21915         into its sole call site.  Clean up some style nits.
21916         (print_item): New function, broken out of ...
21917         (show_info): ... local function here.  Clean up style nits.
21919         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21920         out of ...
21921         (set_class_defaults): ... local function set_default here.
21922         Define set_default as a macro locally to pass constant parameters.
21923         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21924         rather than a shared local.
21926         * stdlib/rpmatch.c (try): New function, broken out of ...
21927         (rpmatch): ... local function here.  Also, prototypify definition.
21929 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21931         * scripts/soversions.awk: Do not handle configuration names.
21932         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21933         vendor and os variables to soversions.awk.
21934         * configure.ac: Do not modify gnu-* host_os.
21935         * configure: Regenerated
21936         * shlib-versions: Remove first column with configuration names.
21937         * nptl/shlib-versions: Likewise.
21938         * nptl_db/shlib-versions: Likewise.
21939         * sysdeps/hppa/shlib-versions: Likewise.
21940         * sysdeps/m68k/shlib-versions: Likewise.
21941         * sysdeps/mach/hurd/shlib-versions: Likewise.
21942         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21943         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21944         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21945         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21946         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21947         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21948         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21949         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21951         Likewise.
21952         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21953         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21954         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21955         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21956         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21957         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21958         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21959         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21962         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21964         Regenerated.
21965         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21967         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21969         * shlib-versions: Remove OS-specific entries.  Moved to files in
21970         sysdeps.
21971         * sysdeps/mach/hurd/shlib-versions: New file.
21972         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21974         * nptl/shlib-versions: Remove architecture-specific entries.
21975         Moved to files in sysdeps.
21976         * shlib-versions: Likewise.
21977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21978         file.
21979         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21980         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21981         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21982         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21984         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21985         (UDP_NO_CHECK6_RX): Likewise.
21987 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21989         * sysdeps/posix/sysconf.c (__sysconf): Spell
21990         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21992 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21994         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21995         loading.
21996         * iconv/Versions (__gconv_transliterate): Export for use from
21997         gconv modules.
21998         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21999         (struct __gconv_trans_data, __gconv_trans_fct,
22000         __gconv_trans_context_fct, __gconv_trans_query_fct,
22001         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22002         definitions.
22003         (struct __gconv_step_data): Remove __trans member.
22004         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22005         longer hidden.  Remove unused trans_data argument.
22006         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22007         (__gconv_translit_find): Remove declaration.
22008         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22009         prototype.
22010         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22011         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22012         trans_data argument.  Add hidden definition.
22013         (__gconv_translit_find): Remove.
22014         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22015         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22016         * iconv/skeleton.c: Remove transliteration initialization.
22017         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22018         __gconv_step_data initialization.
22019         * libio/iofwide.c (__libio_translit_): Remove.
22020         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22021         * wcsmbs/btowc.c (__btowc): Likewise.
22022         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22023         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22024         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22025         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22026         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22027         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22028         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22029         * wcsmbs/wctob.c (wctob): Likewise.
22031 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22033         [BZ #16194]
22034         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22035         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22036         register usage.
22037         * sysdeps/x86/Makefile: Adjust.
22039 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22040             Roland McGrath  <roland@hack.frob.com>
22042         * locale/weight.h: Add include guard.
22043         (findidx): Make static rather than auto; take new parameters
22044         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22045         * locale/weightwc.h: Likewise.
22046         * posix/fnmatch_loop.c
22047         (FCT): Change type of EXTRA from int32_t to wint_t.
22048         Don't include either header inside the function.
22049         Call FINDIDX rather than findidx, and pass new arguments.
22050         #undef FINDIDX at the end of the file.
22051         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22052         FINDIDX before including fnmatch_loop.c for the non-wide version.
22053         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22054         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22055         for the wide version.
22056         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22057         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22058         Pass new arguments to findidx.
22059         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22060         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22061         Don't #include it inside the function.  Pass new arguments to findidx.
22062         * posix/regex_internal.h
22063         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22064         (re_string_elem_size_at): Don't #include it inside the function.
22065         Pass new arguments to findidx.
22066         * string/strcoll_l.c: #include WEIGHT_H at top level.
22067         (get_next_seq): Don't #include it inside the function.
22068         Pass new arguments to findidx.
22069         (get_next_seq_nocache): Likewise.
22070         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22071         (STRXFRM): Don't #include it inside the function.
22072         Pass new arguments to findidx.
22074 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22076         [BZ #17344]
22077         * malloc/malloc.c (unlink): Turn asserts into a call to
22078         malloc_printerr.
22080 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22082         [BZ #17370]
22083         * libio/wfileops (do_ftell_wide): Free OUT.
22085 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22089 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22091         [BZ #17363]
22092         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22093         group if the current group is empty.
22095 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         * benchtests/bench-memset.c (test_main): Add more test from size
22098         from 32 to 512 bytes.
22099         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22100         Add POWER8 memset object.
22101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22102         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22103         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22104         implementation.
22105         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22106         Likewise.
22107         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22108         multiarch POWER8 memset optimization.
22109         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22110         POWER8 memset optimization.
22112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22113         Remove bzero multiarch objects.
22114         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22117         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22118         Remove define.
22119         [__bzero]: Redefine to specific name.
22120         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22121         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22122         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22123         define.
22124         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22125         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22127 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22129         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22130         warnings into errors.
22132         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22133         __cxa_thread_atexit_impl prototype.
22135 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22137         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22138         Fix capitalization of error message.
22140 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22142         * sysdeps/mips/preconfigure: Modify ABI tests.
22144 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22146         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22148 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22149             Carlos O'Donell  <carlos@systemhalted.org>
22151         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22153         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22154         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22155         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22157         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22158         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22159         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22160         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22164         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22166         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22167         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22168         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22170         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22171         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22172         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22173         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22174         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22175         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22176         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22177         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22178         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22179         Deconditionalize the code that was previously under [RESET_PID].
22180         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22181         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22182         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22183         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22184         include sysdep.h.
22186 2014-09-08  Allan McRae  <allan@archlinux.org>
22188         * version.h (RELEASE): Set to "development".
22189         (VERSION): Set to "2.20.90"
22191 2014-09-07  Allan McRae  <allan@archlinux.org
22193         * version.h (RELEASE): Set to "stable".
22194         (VERSION): Set to "2.20"
22195         * include/features.h (__GLIBC_MINOR__): Set to 20.
22197         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22198         Liebler.
22200         * po/ko.po: Update Korean translation from translation project.
22202 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22204         [BZ #17354]
22205         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22206         macro for handling signed relocations.
22208 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22210         [BZ #17325]
22211         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22212         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22213         assert.
22214         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22215         * iconvdata/ibm935.c (BODY): Likewise.
22216         * iconvdata/ibm937.c (BODY): Likewise.
22217         * iconvdata/ibm939.c (BODY): Likewise.
22218         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22219         assert.
22220         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22221         script.
22222         * iconvdata/run-iconv-test.sh: New test loop for checking for
22223         decoder crashers.
22225 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22228         libm_hidden_ver.
22230 2014-09-01  Allan McRae  <allan@archlinux.org>
22232         * po/eo.po: Update Esperanto translation from translation project.
22234         * po/ca.po: Update Catalan translation from translation project.
22236 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22238         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22239         __proc_dostop call.
22241 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22243         [BZ #17319]
22244         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22245         to call set_thread_area instead of hand written asm.
22246         (__NR_set_thread_area): Removed define.
22247         (TLS_FLAG_WRITABLE): Likewise.
22248         (__ASSUME_SET_THREAD_AREA): Remove check.
22249         (TLS_EBX_ARG): Remove define.
22250         (TLS_LOAD_EBX): Likewise.
22252 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22254         Simplify atomicity of socket creation in bind.
22256         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22257         looking up the name after linking the file.
22259 2014-08-27  Allan McRae  <allan@archlinux.org>
22261         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22263 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22265         [BZ #17187]
22266         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22267         trans_compare, open_translit, __gconv_translit_find):
22268         Remove module loading code.
22270 2014-08-26  Allan McRae  <allan@archlinux.org>
22272         * po/vi.po: Update Vietnamese translation from translation project.
22274         * po/uk.po: Update Ukrainian translation from translation project.
22276         * po/fr.po: Update French translation from translation project.
22278         * po/ru.po: Update Russian translation from translation project.
22280         * po/pl.po: Update Polish translation from translation project.
22282         * po/cs.po: Update Czech translation from translation project.
22284         * po/de.po: Update German translation from translation project.
22286         * po/bg.po: Update Bulgarian translation from translation project.
22288         * po/sv.po: Update Sweedish translation from translation project.
22290         * po/nl.po: Update Dutch translation from translation project.
22292         * po/es.po: Update Spanish translation from translation project.
22294 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22296         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22298         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22299         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22300         (CPPFLAGS-iconvconfig): Likewise.
22301         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22303         * include/libc-symbols.h: Remove unnecessary check for
22304         NOT_IN_libc.
22305         * nptl/pthreadP.h: Likewise.
22306         * sysdeps/aarch64/setjmp.S: Likewise.
22307         * sysdeps/alpha/setjmp.S: Likewise.
22308         * sysdeps/arm/sysdep.h: Likewise.
22309         * sysdeps/i386/setjmp.S: Likewise.
22310         * sysdeps/m68k/setjmp.c: Likewise.
22311         * sysdeps/posix/getcwd.c: Likewise.
22312         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22313         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22314         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22315         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22316         * sysdeps/sh/sh3/setjmp.S: Likewise.
22317         * sysdeps/sh/sh4/setjmp.S: Likewise.
22318         * sysdeps/unix/alpha/sysdep.h: Likewise.
22319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22321         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22322         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22327         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22330         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22332         * sysdeps/x86_64/setjmp.S: Likewise.
22334 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22336         [BZ #17263]
22337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22338         <stdint.h>.
22339         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22340         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22342 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22344         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22346         [BZ #17262]
22347         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22348         and __x86_64__ when disabling x87 inline functions.
22350 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22352         [BZ #17259]
22353         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22354         asm statement with __cpuid_count.
22356 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22358         * configure.ac: Change __ehdr_start code to dereference the struct.
22359         Run readelf on the output to look for relocations.
22360         * configure: Regenerated.
22362 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22364         [BZ #17261]
22365         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22366         value to 0.
22367         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22369 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22371         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22373 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22375         [BZ #16892]
22376         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22377         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22379 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22381         * malloc/malloc.c: Fix typo in comment.
22383 2014-08-09  Allan McRae  <allan@archlinux.org>
22385         * Regenerate libc.po.
22387 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22389         * intl/tst-gettext2.sh: Check every lang file for creation.
22391 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22393         * sysdeps/aarch64/fpu/math_private.h
22394         (libc_feholdsetround_noex_aarch64_ctx): New function.
22396 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22398         * sysdeps/arm/armv6/strcpy.S (strcpy):
22399         Fix performance issue in misaligned cases.
22401 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22403         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22404         Move definition from termios.h.
22405         (struct termio): Likewise.
22406         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22407         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22408         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22409         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22410         Likewise.
22411         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22412         Move definition to ioctl-types.h
22413         (struct termio): Likewise.
22414         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22415         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22416         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22417         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22418         Likewise.
22420 2014-08-05  Richard Henderson  <rth@redhat.com>
22422         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22423         exceptions.
22424         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22425         Add fraiseexcpt.
22426         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22427         Use __feraiseexcept.
22428         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22429         Protect libm symbols with IS_IN_libm.
22431         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22433 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22435         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22437 2014-08-04  Will Newton  <will.newton@linaro.org>
22439         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22440         file.
22442 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22445         variants for each function.
22447 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22449         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22450         appended ...
22451         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22452         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22453         appended ...
22454         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22455         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22456         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22457         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22458         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22459         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22460         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22461         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22462         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22463         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22464         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22465         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22466         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22467         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22468         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22469         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22471         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22472         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22473         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22474         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22475         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22476         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22477         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22478         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22479         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22480         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22481         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22482         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22483         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22484         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22485         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22486         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22487         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22488         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22489         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22490         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22491         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22492         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22493         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22494         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22496         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22498         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22500         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22502         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22504         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22505         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22506         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22507         Update #include.
22508         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22509         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22511 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22513         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22514         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22515         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22516         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22517         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22518         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22520 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22522         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22523         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22524         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22525         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22527 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22529         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22530         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22531         (__libc_vfork): Define function under this name.
22532         (__vfork): Define as an alias.
22533         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22534         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22536 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22538         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22539         that was previously under [RESET_PID].
22540         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22542 2014-08-04  Andreas Schwab  <schwab@suse.de>
22544         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22546 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22548         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22549         (main): Likewise.
22551 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22553         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22555 2014-08-01  Richard Henderon  <rth@redhat.com>
22557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22558         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22559         typo in exact zero test.
22560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22564 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22566         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22567         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22568         * sysdeps/arm/sysdep.h: ... here.
22569         [!__ASSEMBLER__]: Include <stdint.h>.
22571 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22573         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22574         (HAVE_WCTYPE_H): Likewise.
22575         (HAVE_ISWCTYPE): Likewise.
22576         (ENABLE_NLS): Likewise.
22577         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22578         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22580         * posix/regex_internal.c: Check if DEBUG is defined and is
22581         set.
22583         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22584         (HAVE_MBSRTOWCS): Likewise.
22585         * posix/fnmatch.c: Include string.h unconditionally.
22587 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22589         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22590         reversal.
22592 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22594         * sysdeps/generic/safe-fatal.h: New file.
22595         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22596         * nptl/forward.c: Include it.
22597         (__pthread_unwind): Use __safe_fatal as default action, rather
22598         than a bogus use of INTERNAL_SYSCALL that could never work.
22600         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22601         * configure.ac (libc_cv_builtin_trap): New test.
22602         * configure: Regenerated.
22603         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22604         (ABORT_INSTRUCTION): Define using __builtin_trap.
22606         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22607         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22608         * sysdeps/nptl/nptl-signals.h: New file.
22609         * nptl/pthreadP.h: Include <nptl-signals.h>.
22611 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22613         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22614         (ONE_DIRECTION): Define.
22615         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22616         (ONE_DIRECTION): Define.
22617         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22618         (ONE_DIRECTION): Define.
22620 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22622         * sysdeps/s390/Makefile: Delete file.
22623         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22624         * sysdeps/s390/__longjmp.c: Delete file.
22625         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22626         Remove fields __flags and __reserved.
22627         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22628         and add versioning.
22629         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22630         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22631         * sysdeps/s390/rtld-setjmp.S: Likewise.
22632         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22633         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22634         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22635         * sysdeps/s390/s390-32/setjmp.S: ... here.
22636         Add versioning.
22637         (__sigsetjmp): Remove setting __flags field.
22638         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22639         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22640         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22641         * sysdeps/s390/s390-64/setjmp.S: ... here.
22642         Add versioning.
22643         (__sigsetjmp): Remove setting __flags field.
22644         * sysdeps/s390/setjmp.S: Delete file.
22645         * sysdeps/s390/sigjmp.c: Likewise.
22646         * sysdeps/s390/v1-longjmp.c: Likewise.
22647         * sysdeps/s390/v1-setjmp.h: Likewise.
22648         * sysdeps/s390/v1-sigjmp.c: Likewise.
22649         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22650         Remove v1-longjmp_chk.
22651         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22652         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22653         Include debug/longjmp_chk.c and add versioning.
22654         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22655         Include nptl/pt-longjmp.c and add versioning.
22656         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22657         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22658         Include __longjmp.c.
22659         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22660         Move to ...
22661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22662         (__getcontext): Remove setting __flags field.
22663         Add versioning.
22664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22665         Don't restore upper high grps.
22666         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22667         Likewise.
22668         (__swapcontext): Remove setting uc_flags field.
22669         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22670         Delete file.
22671         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22672         Include __longjmp.c.
22673         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22674         Move to ...
22675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22676         (__getcontext): Remove setting __flags field.
22677         Add versioning.
22678         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22679         (__swapcontext): Remove setting uc_flags field.
22680         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22681         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22682         Remove fields uc_high_gprs and __reserved.
22683         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22684         New file with reverted content.
22685         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22686         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22687         Regenerated.
22688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22689         Regenerated.
22691 2014-07-31  Andreas Schwab  <schwab@suse.de>
22693         * config.h.in (HAVE_IFUNC): Define to 0.
22694         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22695         definedness.
22697 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22700         memmove-avx-unaligned, memcpy-avx-unaligned and
22701         mempcpy-avx-unaligned.
22702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22703         Add tests for AVX memcpy functions.
22704         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22705         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22706         memcpy_chk.
22707         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22708         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22709         memmove_chk.
22710         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22711         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22712         mempcpy_chk.
22713         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22714         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22715         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22717 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22719         [BZ #17213]
22720         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22721         powerpc64le.
22723 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22725         [BZ #16839]
22726         * manual/llio.texi: Add section about open file description locks.
22727         * manual/examples/ofdlocks.c: Example of open file description
22728         lock usage.
22729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22730         F_OFD_SETLK, and F_OFD_SETLKW.
22732 2014-07-23  Allan McRae  <allan@archlinux.org>
22734         * po/es.po: Update Spanish translation from translation project.
22736 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22738         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22740 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22742         [BZ #17078]
22743         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22744         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22745         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22747 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22749         [BZ #17088]
22750         * math/fesetenv.c (__fesetenv)
22751         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22752         * math/feupdateenv.c (__feupdateenv)
22753         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22755         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22756         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22757         (__ASSUME_SOCKETCALL): Do not define.
22759         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22760         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22761         (__ASSUME_SOCKETCALL): Do not define.
22762         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22763         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22765         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22767         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22769         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22771         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22772         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22773         (__ASSUME_SOCKETCALL): Do not define.
22774         (__ASSUME_IPC64): Define unconditionally.
22775         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22776         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22777         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22778         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22779         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22780         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22781         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22782         Likewise.
22784         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22785         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22786         (__ASSUME_SOCKETCALL): Do not define.
22787         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22789         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22790         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22791         (__ASSUME_REQUEUE_PI): Define unconditionally.
22792         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22793         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22794         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22795         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22797         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22799         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22800         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22801         (__ASSUME_SOCKETCALL): Do not define.
22802         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22803         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22804         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22805         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22807         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22809         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22810         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22811         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22812         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22813         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22814         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22816         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22817         (__ASSUME_GETCPU_SYSCALL): Likewise.
22819         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22820         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22821         cases for individual architectures.
22822         * sysdeps/gnu/configure: Regenerated.
22823         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22824         LIBC_SLIBDIR_RTLDDIR.
22825         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22826         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22827         LIBC_SLIBDIR_RTLDDIR.
22828         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22830         LIBC_SLIBDIR_RTLDDIR.
22831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22832         Regenerated.
22833         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22834         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22835         file.
22836         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22837         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22838         file.
22839         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22840         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22841         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22842         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22844         * sysdeps/aarch64/shlib-versions: Move to ...
22845         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22846         * sysdeps/alpha/shlib-versions: Move to ...
22847         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22848         * sysdeps/arm/shlib-versions: Move to ...
22849         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22850         * sysdeps/hppa/shlib-versions: Move all contents except for
22851         libgcc_s entry to ...
22852         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22853         entry from ...
22854         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22855         * sysdeps/ia64/shlib-versions: Move to ...
22856         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22857         entry from ...
22858         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22859         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22860         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22861         * sysdeps/microblaze/shlib-versions: Move to ...
22862         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22863         * sysdeps/mips/shlib-versions: Move to ...
22864         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22865         entry from ...
22866         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22867         * sysdeps/tile/shlib-versions: Move to ...
22868         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22869         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22870         from ...
22871         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22872         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22873         entry from ...
22874         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22876 2014-07-17  Will Newton  <will.newton@linaro.org>
22878         * sysdeps/arm/bits/atomic.h
22879         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22880         (__arch_compare_and_exchange_bool_16_int): Likewise.
22881         (__arch_compare_and_exchange_bool_64_int): Likewise.
22883         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22884         into an #else block.
22886 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22888         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22889         just Linux configurations.  Test empirically that the compiler sets
22890         __ARM_EABI__, rather than using the tuple to decide.
22891         * sysdeps/arm/preconfigure: Regenerated.
22892         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22893         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22894         contents appended ...
22895         * sysdeps/arm/configure.ac: ... here.
22896         * sysdeps/arm/configure: Regenerated.
22898 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22900         * nptl/pthread_kill.c: New file.
22901         * nptl/pthread_sigmask.c: New file.
22902         * nptl/pthread_sigqueue.c: New file.
22904         * sysdeps/nptl/lowlevellock.h: New file.
22905         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22906         * sysdeps/nptl/lowlevellock-futex.h: New file.
22908         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22909         Remove dead declarations.
22911 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22913         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22914         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22915         config-cflags-avx2.
22916         * sysdeps/x86_64/configure.ac: Likewise.
22917         * sysdeps/i386/configure: Regenerated.
22918         * sysdeps/x86_64/configure: Likewise.
22919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22920         memset-avx2 only if config-cflags-avx2 is yes.
22921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22922         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22923         defined.
22924         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22925         only if HAVE_AVX2_SUPPORT is defined.
22926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22928 2014-07-14  Alan Modra  <amodra@gmail.com>
22930         [BZ #17153]
22931         * elf/elf.h (DT_PPC64_NUM): Correct value.
22932         * NEWS: Add to fixed bug list.
22934 2014-07-13  Jim Meyering  <meyering@fb.com>
22936         [BZ 17150]
22937         regex: don't deref NULL upon heap allocation failure
22938         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22939         failure in one more place.
22940         To trigger the segfault, configure grep -with-included-regex,
22941         build it, and run these commands:
22942         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22944 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22946         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22948 2014-07-11  Richard Henderson  <rth@redhat.com>
22950         * sysdeps/aarch64/libm-test-ulps: Update.
22952 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22954         [BZ #17135]
22955         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22956         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22957         (__nptl_setxid): Initialize error member.  Call
22958         __nptl_setxid_error.
22959         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22960         * nptl/descr.h (struct xid_command): Add error member.
22961         * nptl/tst-setuid3.c: New file.
22962         * nptl/Makefile (tests): Add it.
22964 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22967         New define.
22968         (__lll_trylock): Use __lll_base_trylock.
22969         (__lll_cond_trylock): Likewise.
22971 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22973         * nptl/pthread_create.c (start_thread): Use atomic_or and
22974         lll_futex_wake directly rather than lll_robust_dead.
22975         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22976         (lll_robust_dead): Macro removed.
22977         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22978         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22979         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22980         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22982         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22983         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22984         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22985         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22987         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22988         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22990         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22991         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22993         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22994         Use atomic_compare_and_exchange_val_acq directly rather than
22995         lll_robust_trylock.
22996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22997         (__lll_robust_trylock, lll_robust_trylock): Removed.
22998         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22999         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23000         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23002         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23003         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23004         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23005         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23007         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23008         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23009         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23010         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23011         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23013 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23015         * manual/locale.texi (Locale Names): New section documenting
23016         locale name syntax.  Adjust menu and node chaining accordingly.
23017         (Choosing Locale): Reference Locale Names, Locale Categories.
23018         Mention setting LC_ALL=C.  Reflect that name syntax is now
23019         documented.
23020         (Locale Categories): New section title.  Reference Locale Names.
23021         LC_ALL is an environment variable, but not a category.
23022         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23023         description, now in Locale Name.  Reference that section.  Locale
23024         name syntax is now documented.
23026 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23028         [BZ #17137]
23029         * locale/findlocale.c (name_present, valid_locale_name): New
23030         functions.
23031         (_nl_find_locale): Use the loc_name variable to store name
23032         candidates.  Call name_present and valid_locale_name to check and
23033         validate locale names.  Return an error if the locale is invalid.
23035 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23037         * locale/setlocale.c (setlocale): Use strdup for allocating
23038         composite name copy.
23040 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23042         Sync up with gnulib.
23043         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23044         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23045         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23046         and _GL_ARG_NONNULL.
23047         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23048         [!_LIBC]: Include code for Windows and Cygwin.
23049         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23050         Include prototype for int strerror_r.
23051         [!_LIBC] (is_open): New function.
23052         (flush_stdout): New function.
23053         (print_errno_message): Use it.
23054         (error): Likewise.
23055         (error_at_line): Likewise.
23056         (error_tail) Add function attribute macros.  Use
23057         __builtin_expect.
23059         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23061         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23063         * io/ftw.c: Include sys/param.h unconditionally.
23065         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23067         [BZ #17125]
23068         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23069         libc_freeres_ptr.
23070         (freecache): New function to free CACHE on exit.
23072         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23073         initialization.
23075 2014-07-09  David S. Miller  <davem@davemloft.net>
23077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23079         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23080         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23081         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23082         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23083         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23084         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23085         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23086         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23087         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23088         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23089         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23090         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23091         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23093 2014-07-09  Andreas Schwab  <schwab@suse.de>
23095         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23096         output.
23097         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23098         (do_test): Likewise.
23100         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23102 2014-07-09  Will Newton  <will.newton@linaro.org>
23104         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23105         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23106         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23107         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23108         * sysdeps/hppa/start.S (_start): Likewise.
23110 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23112         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23114         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23115         defined.
23117 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23119         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23120         after checking that it is non-NULL.
23122         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23124 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23126         * sysdeps/powerpc/memmove.c: Remove file.
23127         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23128         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23129         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23130         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23131         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23132         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23134         string memmove instead of removed powerpc one.
23136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23137         [weak_alias]: Fix compiler warning due trailing data.
23138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23139         [weak_alias]: Likewise.
23140         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23141         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23144         (__libc_ifunc_impl_list): Add memmove functions.
23146 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23148         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23149         Remove code.
23150         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23151         Likewise
23152         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23153         Likewise
23154         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23155         Likewise
23156         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23157         Likewise
23158         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23159         Likewise
23160         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23161         Likewise
23162         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23163         Likewise
23164         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23165         Likewise
23166         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23167         Likewise
23168         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23169         Likewise
23170         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23171         Likewise
23172         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23173         Likewise
23174         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23175         Likewise
23176         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23177         Likewise
23178         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23179         Likewise
23180         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23181         Likewise
23183 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23185         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23186         to avoid alignment traps in non-cacheable memory.
23187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23190         multiarch objects.
23191         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23192         file: multiarch power7 memmove.
23193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23194         multiarch default memmove.
23195         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23196         multiarch memove for powerpc32/power4.
23198         * string/bcopy.c: Use full path to include memmove.c.
23199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23200         multiarch objects.
23201         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23202         bcopy for powerpc64.
23203         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23204         bcopy for powerpc64.
23205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23206         and memmove implementations.
23207         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23208         optimized multiarch memmove for POWER7/powerpc64.
23209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23210         default multiarch memmove for powerpc64.
23211         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23212         multiarch for powerpc64.
23213         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23214         for POWER7/powerpc64.
23215         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23216         memmove for POWER7/powerpc64.
23218         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23219         glibc default one.
23221         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23222         __ELF_NATIVE_CLASS equal to 64.
23224 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23226         * sysdeps/nptl/lowlevellock.h: File removed.
23228         * NEWS: NPTL is no longer an add-on!
23229         * nptl/internaltypes.h: Moved ...
23230         * sysdeps/nptl/internaltypes.h: ... here.
23231         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23232         * sysdeps/nptl/fork.c: Likewise.
23233         * sysdeps/nptl/gai_misc.h: Likewise.
23234         * sysdeps/nptl/librt-cancellation.c: Likewise.
23235         * sysdeps/nptl/jmp-unwind.c: Likewise.
23236         * sysdeps/nptl/setxid.h: Likewise.
23237         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23238         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23239         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23240         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23241         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23242         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23243         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23244         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23245         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23246         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23247         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23248         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23249         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23250         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23251         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23252         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23253         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23254         * nptl/Makeconfig: Moved ...
23255         * sysdeps/nptl/Makeconfig: ... here.
23256         * nptl/configure: File removed.
23257         * nptl/ANNOUNCE: File removed.
23258         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23259         * sysdeps/unix/sysv/linux/configure: Regenerated.
23261         * nptl/Makefile (routines): Add libc_pthread_init,
23262         libc_multiple_threads, register-atfork and unregister-atfork.
23263         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23264         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23265         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23266         pthread-pi-defines.sym, structsem.sym.
23267         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23268         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23269         [$(subdir) = nptl] (tests): Add tst-setgetname.
23270         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23271         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23272         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23273         [!LIBC_SIGACTION]: Remove aliases.
23274         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23275         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23276         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23277         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23278         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23279         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23280         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23282         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23283         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23284         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23285         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23286         __libc_allocate_rtsig_private.
23287         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23288         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23289         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23290         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23291         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23292         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23293         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23294         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23295         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23296         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23297         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23298         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23299         * nptl/internaltypes.h: ... here.
23300         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23301         * sysdeps/nptl/jmp-unwind.c: ... here.
23302         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23303         * nptl/libc-lowlevellock.c: ... here.
23304         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23305         * nptl/libc_multiple_threads.c: ... here.
23306         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23307         * nptl/libc_pthread_init.c: ... here.
23308         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23309         * nptl/lowlevelbarrier.sym: ... here.
23310         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23311         * nptl/lowlevelcond.sym: ... here.
23312         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23313         * nptl/lowlevellock.c: ... here.
23314         * nptl/lowlevellock.h: Moved ...
23315         * sysdeps/nptl/lowlevellock.h: ... here.
23316         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23317         * nptl/lowlevelrobustlock.c: ... here.
23318         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23319         * nptl/lowlevelrobustlock.sym: ... here.
23320         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23321         * nptl/lowlevelrwlock.sym: ... here.
23322         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23323         * nptl/pt-fork.c: ... here.
23324         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23325         * nptl/pthread-pi-defines.sym: ... here.
23326         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23327         * nptl/pthread_attr_getaffinity.c: ... here.
23328         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23329         * nptl/pthread_attr_setaffinity.c: ... here.
23330         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23331         * nptl/pthread_mutex_cond_lock.c: ... here.
23332         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23333         Update #include.
23334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23335         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23336         * nptl/pthread_once.c: ... here, replacing old file.
23337         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23338         * nptl/pthread_yield.c: ... here.
23339         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23340         * nptl/register-atfork.c: ... here.
23341         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23342         * nptl/sem_post.c: ... here.
23343         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23344         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23345         * nptl/sem_timedwait.c: ... here.
23346         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23347         * nptl/sem_trywait.c: ... here.
23348         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23349         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23350         * nptl/sem_wait.c: ... here.
23351         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23352         * nptl/structsem.sym: ... here.
23353         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23354         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23355         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23356         * nptl/unregister-atfork.c: ... here.
23357         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23358         * nptl/unwindbuf.sym: ... here.
23359         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23360         * sysdeps/nptl/fork.c: ... here.
23361         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23362         * sysdeps/nptl/fork.h: ... here.
23363         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23364         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23365         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23366         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23367         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23368         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23369         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23370         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23371         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23372         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23373         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23374         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23375         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23376         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23377         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23378         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23379         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23380         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23381         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23382         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23383         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23384         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23385         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23386         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23387         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23388         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23389         * sysdeps/unix/sysv/linux/raise.c: ... here.
23390         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23391         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23392         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23393         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23394         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23395         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23396         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23397         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23398         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23399         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23400         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23401         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23402         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23403         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23404         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23406 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23408         * sysdeps/generic/memcopy.h: Add comment for
23409         MEMCPY_OK_FOR_FWD_MEMMOVE.
23411 2014-07-04  Will Newton  <will.newton@linaro.org>
23413         * string/memchr.c: Merge from gnulib.
23414         [_LIBC]: Remove conditionals.
23415         (__ptr_t): Remove define.
23416         (LONG_MAX_32_BITS): Likewise.
23417         (LONG_MAX): Likewise.
23418         (MEMCHR): Use ANSI prototype and optimize algorithm.
23420         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23422 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23424         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23425         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23427         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23428         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23429         in a bare environment with no <stdlib.h> installed.
23430         * sysdeps/nptl/configure: Regenerated.
23432         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23434         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23435         AC_EGREP_CPP for kernel header checks, so they only succeed if
23436         including <linux/version.h> actually works right.
23437         * sysdeps/unix/sysv/linux/configure: Regenerated.
23439         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23440         value so it's not diagnosed as unused.
23442         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23443         thing) with "ifeq ($(subdir),rt)".
23445 2014-07-03  Richard Henderson  <rth@redhat.com>
23447         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23448         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23449         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23451         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23452         (math_force_eval): New.
23454         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23455         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23457         * sysdeps/alpha/fpu/s_round.c: Remove file.
23458         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23460         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23461         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23462         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23463         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23464         (_dl_start, print_statistics): Likewise.
23465         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23466         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23468         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23469         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23470         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23471         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23473         (HP_SMALL_TIMING_AVAIL): Define.
23474         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23475         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23476         (HP_SMALL_TIMING_AVAIL): Define.
23477         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23478         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23480         * sysdeps/aarch64/hp-timing.h: New file.
23482         * sysdeps/generic/hp-timing.h: Remove dead comment.
23483         * sysdeps/generic/hp-timing-common.h: New file.
23484         * sysdeps/alpha/hp-timing.h: Include it.
23485         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23486         * sysdeps/i386/i686/hp-timing.h: Likewise.
23487         * sysdeps/ia64/hp-timing.h: Likewise.
23488         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23489         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23490         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23491         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23492         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23493         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23494         (hp_timing_t): New.
23496         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23497         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23498         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23499         * elf/rtld.c (_dl_start_final): Likewise.
23500         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23501         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23502         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23503         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23504         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23506         (HP_TIMING_DIFF_INIT): Remove.
23507         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23508         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23509         (HP_TIMING_DIFF_INIT): Remove.
23510         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23511         * sysdeps/i386/i686/hp-timing.c: Remove file.
23512         * sysdeps/x86_64/hp-timing.c: Remove file.
23513         * sysdeps/ia64/hp-timing.c: Remove file.
23514         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23515         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23516         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23517         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23519         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23520         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23521         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23522         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23524         (HP_TIMING_ACCUM): Remove.
23525         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23527         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23529         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23530         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23531         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23532         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23534         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23536         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23538         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23540 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23542         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23544 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546         Sync up with gettext.
23547         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23548         [_MSC_VER]: Include malloc.h
23549         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23550         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23551         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23552         TEMP_FAILURE_RETRY.  Cast return of alloca.
23553         [!_LIBC] Call gl_rwlock_init.
23554         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23556 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23558         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23559         before checking its value.
23561 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23563         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23565         * debug/memcpy_chk.c: Don't include pagecopy.h.
23566         * debug/mempcpy_chk.c: Likewise.
23567         * string/memcpy.c: Likewise.
23568         * string/memmove.c: Likewise.
23569         * sysdeps/powerpc/memmove.c: Likewise.
23570         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23571         definition of PAGE_COPY_FWD_MAYBE here...
23572         * sysdeps/generic/pagecopy.h: ... from here.
23573         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23575 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23578         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23580         optimizations.
23581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23582         (__libc_ifunc_impl_list): Likewise.
23583         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23584         multiarch strcat for PPC64.
23585         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23586         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23588 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23590         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23592 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23594         * intl/loadmsgcat.c: Remove declaration of
23595         get_sysdep_segment_value.
23596         (get_sysdep_segment_value): Use ISO C style.
23597         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23598         semicolon.  Fix typo and formatting in comment.
23599         (_nl_unload_domain): Use ISO C style.
23601         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23603 2014-07-02  Will Newton  <will.newton@linaro.org>
23605         * malloc/obstack.c: Merge from gnulib master.
23606         [HAVE_CONFIG_H]: Remove conditional code.
23607         [!_LIBC]: Include config.h.
23608         [!ELIDE_CODE]: Don't include inttypes.h, include
23609         stdint.h unconditionally.
23610         (print_and_abort): Mark as _Noreturn.
23611         (_obstack_allocated_p): Mark as __attribute_pure__.
23612         (obstack_free): Rename to __obstack_free.
23613         [!__attribute__]: Remove conditional code.
23614         * malloc/obstack.h: Merge from gnulib master.
23615         [__cplusplus]: Move conditional down.
23616         [!__attribute_pure__]: Define __attribute_pure__ here
23617         if it is not already defined.
23618         (_obstack_memory_used): Mark as __attribute_pure__.
23619         [!__obstack_free]: Define as obstack_free.
23620         [__GNUC__]: Remove check for ancient NeXT gcc.
23622 2014-07-02  Will Newton  <will.newton@linaro.org>
23623             Paul Eggert  <eggert@cs.ucla.edu>
23625         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23627 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23629         * resolv/gethnamaddr.c: Add comment warning that the file is
23630         not maintained.
23632 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23634         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23635         entries.
23637         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23638         entry for aio_cancel and aio_cancel64.
23639         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23640         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23641         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23642         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23643         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23644         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23645         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23646         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23647         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23648         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23649         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23650         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23651         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23653 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23655         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23656         * nptl/pthread_mutex_lock.c: Likewise.
23657         * nptl/pthread_mutex_timedlock.c: Likewise.
23658         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23660 2014-07-01  Richard henderson  <rth@redhat.com>
23662         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23663         (__isnan, __isnanl): Remove.
23664         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23666         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23668 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23670         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23672 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23674         * resolv/nss_dns/dns-host.c (getanswer_r)
23675         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23677 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23679         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23680         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23681         undefine.
23682         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23683         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23685 2014-07-01  Roland McGrath <roland@hack.frob.com>
23687         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23688         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23690         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23691         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23693         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23694         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23695         ... here.
23696         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23697         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23699         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23700         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23701         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23702         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23704         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23705         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23706         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23707         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23708         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23709         Moved ...
23710         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23711         ... here.
23712         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23713         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23714         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23715         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23716         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23717         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23718         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23719         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23720         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23721         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23722         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23723         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23724         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23725         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23726         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23727         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23728         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23729         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23730         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23731         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23732         ... here.
23733         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23734         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23736         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23737         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23738         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23739         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23740         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23742 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23744         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23745         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23746         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23747         Add sysdep.
23749 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23753 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23755         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23756         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23760         * sysdeps/arm/libm-test-ulps: Regenerated.
23762 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23763             Roland McGrath <roland@hack.frob.com>
23765         * test-skeleton.c (signal_handler): Kill the whole process group
23766         before killing the child individually.
23767         (main): Report any failure on `setpgid'.
23769 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23771         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23772         from _TLS_H to _ARM_NPTL_TLS_H.
23773         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23774         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23776 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23778         [BZ #16539]
23779         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23780         (__expm1l): Return argument unchanged when small but not
23781         subnormal.
23783         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23784         include macro name.
23785         (_FP_UNPACK_RAW_1_P): Likewise.
23786         (_FP_PACK_RAW_1): Likewise.
23787         (_FP_PACK_RAW_1_P): Likewise.
23788         (_FP_MUL_MEAT_1_wide): Likewise.
23789         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23790         (_FP_MUL_MEAT_1_hard): Likewise.
23791         (_FP_DIV_MEAT_1_imm): Likewise.
23792         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23793         (_FP_DIV_MEAT_1_udiv): Likewise.
23794         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23795         (_FP_UNPACK_RAW_2): Likewise.
23796         (_FP_UNPACK_RAW_2_P): Likewise.
23797         (_FP_PACK_RAW_2): Likewise.
23798         (_FP_PACK_RAW_2_P): Likewise.
23799         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23800         (_FP_MUL_MEAT_2_wide): Likewise.
23801         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23802         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23803         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23804         (_FP_MUL_MEAT_2_gmp): Likewise.
23805         (_FP_DIV_MEAT_2_udiv): Likewise.
23806         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23807         (_FP_FRAC_SRL_4): Likewise.
23808         (_FP_FRAC_SRST_4): Likewise.
23809         (_FP_FRAC_SRS_4): Likewise.
23810         (_FP_UNPACK_RAW_4): Likewise.
23811         (_FP_UNPACK_RAW_4_P): Likewise.
23812         (_FP_PACK_RAW_4): Likewise.
23813         (_FP_PACK_RAW_4_P): Likewise.
23814         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23815         (_FP_MUL_MEAT_4_wide): Likewise.
23816         (_FP_MUL_MEAT_4_gmp): Likewise.
23817         (umul_ppppmnnn): Likewise.
23818         (_FP_DIV_MEAT_4_udiv): Likewise.
23819         (__FP_FRAC_ADD_4): Likewise.
23820         (__FP_FRAC_SUB_3): Likewise.
23821         (__FP_FRAC_SUB_4): Likewise.
23822         (__FP_FRAC_DEC_3): Likewise.
23823         (__FP_FRAC_DEC_4): Likewise.
23824         (__FP_FRAC_ADDI_4): Likewise.
23825         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23826         (_FP_FRAC_SRL_8): Likewise.
23827         (_FP_FRAC_SRS_8): Likewise.
23829         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23830         include macro name.
23831         (FP_UNPACK_RAW_EP): Likewise.
23832         (FP_PACK_RAW_E): Likewise.
23833         (FP_PACK_RAW_EP): Likewise.
23834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23835         (_FP_ISSIGNAN): Likewise.
23836         (_FP_ADD_INTERNAL): Likewise.
23837         (_FP_FMA): Likewise.
23838         (_FP_CMP): Likewise.
23839         (_FP_SQRT): Likewise.
23840         (_FP_TO_INT): Likewise.
23841         (_FP_FROM_INT): Likewise.
23842         (FP_EXTEND): Likewise.
23843         (_FP_DIV_MEAT_N_loop): Likewise.
23845 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23847         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23848         throughout.
23850 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23852         [BZ #17097]
23853         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23854         result with correct sign in case of exponents that produce
23855         overflow except for X very close to 1.
23857 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23859         mktime: merge #if/#ifdef usage from glibc
23860         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23861         as that works with both Glibc's and Gnulib's style.
23862         See thread starting at Siddhesh Poyarekar's bug report at:
23863         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23865 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23867         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23868         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23869         * sysdeps/tile/tilegx/memmove.c: Remove file.
23871 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23873         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23874         abi-name definition.
23875         * scripts/soversions.awk: Do not handle or generate ABI lines.
23876         * shlib-versions: Remove ABI entries.
23877         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23878         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23880 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23883         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23884         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23885         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23887         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23889         Moved ...
23890         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23891         ... here.
23892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23893         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23895         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23897         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23899         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23901         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23903         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23905         Moved ...
23906         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23908         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23912         Moved ...
23913         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23915         Moved ...
23916         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23918         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23920         Moved ...
23921         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23923         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23925         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23927         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23929         Moved ...
23930         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23932         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23933         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23934         Moved ...
23935         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23937         Moved ...
23938         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23940         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23942         Moved ...
23943         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23944         ... here.
23945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23946         Identical file removed.
23947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23948         Moved ...
23949         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23951         Identical file removed.
23952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23953         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23955         Moved ...
23956         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23958         Identical file removed.
23959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23960         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23962         Identical file removed.
23963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23966         Identical file removed.
23967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23968         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23970         Identical file removed.
23971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23972         Moved ...
23973         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23975         Identical file removed.
23976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23977         Moved ...
23978         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23979         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23980         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23982         Identical file removed.
23983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23984         Moved ...
23985         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23986         ... here.
23987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23988         Identical file removed.
23989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23990         Moved ...
23991         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23993         Identical file removed.
23994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23995         Moved ...
23996         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23997         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23998         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24000         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24002         Moved ...
24003         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24004         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24005         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24007         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24008         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24009         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24010         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24011         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24013 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24015         [BZ #17092]
24016         * nscd/nscd.c (monitor_child): Return exit status of child
24017         instead of return value from wait syscall.
24019 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24021         * configure.ac (libc_commonpagesize): Remove variable.
24022         (libc_relro_required): Likewise.
24023         (libc_cv_z_relro): Remove configure test.
24024         * configure: Regenerated.
24025         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24026         variable.
24027         (libc_relro_required): Likewise.
24028         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24029         (libc_relro_required): Likewise.
24030         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24031         (libc_relro_required): Likewise.
24032         * sysdeps/arm/preconfigure: Regenerated.
24033         * sysdeps/ia64/preconfigure: Remove file.
24034         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24035         variable.
24036         (libc_relro_required): Likewise.
24038         [BZ #16561]
24039         [BZ #16562]
24040         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24041         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24042         recompute overflowing results in original rounding mode.
24043         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24044         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24045         recompute overflowing results in original rounding mode.
24046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24047         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24048         recompute overflowing results in original rounding mode.
24049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24050         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24051         recompute overflowing results in original rounding mode.
24052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24053         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24054         recompute overflowing results in original rounding mode.
24055         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24056         (libc_feholdsetround_ctx): New macro.
24057         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24058         * sysdeps/i386/fpu/libm-test-ulps: Update.
24059         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24061 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24063         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24064         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24065         corresponding .cpsetup call.
24067 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24069         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24070         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24071         * sysdeps/arm/Makefile [$(subdir) = csu]
24072         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24073         (static-only-routines): Add aeabi_read_tp here.
24074         (shared-only-routines): Add libc-aeabi_read_tp here.
24075         (CFLAGS-libc-start.c): Add -fexceptions here.
24076         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24077         (sysdep_routines, static-only-routines, shared-only-routines):
24078         Don't add to these here.
24079         (CFLAGS-libc-start.c): Likewise.
24081         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24082         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24083         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24084         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24085         * sysdeps/arm/Makefile [$(subdir) = rt]
24086         (librt-sysdep_routines, librt-shared-only-routines):
24087         Append rt-aeabi_unwind_cpp_pr1 here.
24088         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24089         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24090         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24091         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24092         Append nptl-aeabi_unwind_cpp_pr1 here.
24093         (tests): Filter out tst-cleanupx4 here.
24094         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24095         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24096         Don't do those here.
24098 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24100         * scripts/list-sources.sh: Do not handle ports specially.
24102 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24104         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24105         * sysdeps/arm/feupdateenv.c: Likewise.
24107         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24109 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24111         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24112         trailing whitespace removed.
24113         * scripts/config.guess: Update to version 2014-03-23.
24114         * scripts/config.sub: Update to version 2014-05-01
24115         * scripts/install-sh: Update to version 2013-12-25.23.
24116         * scripts/move-if-change: Update from gnulib.
24118 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24120         * debug/memmove_chk.c: Remove pagecopy.h include.
24122 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24124         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24125         identical to gnulib mktime.
24127 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24129         * configure.ac: Do not test for machine being rs6000.  Do not test
24130         for powerpc*-*soft.
24131         * configure: Regenerated.
24133         [BZ #11505]
24134         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24135         test.
24136         * configure: Regenerated.
24137         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24138         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24139         Remove configure test.
24140         * sysdeps/arm/configure: Regenerated.
24141         * sysdeps/nptl/configure.ac: Do not check
24142         libc_cv_asm_cfi_directives.
24143         * sysdeps/nptl/configure: Regenerated.
24144         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24145         * sysdeps/x86_64/nptl/configure: Remove generated file.
24146         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24147         unconditional.
24148         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24150 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24152         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24153         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24154         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24155         it is defined.
24157         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24158         instead of whether it is defined.
24159         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24160         * sysdeps/hppa/dl-machine.h: Likewise.
24161         * sysdeps/ia64/dl-machine.h: Likewise.
24162         * sysdeps/m68k/dl-machine.h: Likewise.
24163         * sysdeps/microblaze/dl-machine.h: Likewise.
24164         * sysdeps/mips/dl-machine.: Likewise.
24165         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24166         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24167         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24168         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24169         * sysdeps/sh/dl-machine.h: Likewise.
24170         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24171         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24172         * sysdeps/tile/dl-machine.h: Likewise.
24173         * sysdeps/x86_64/dl-machine.h: Likewise.
24175         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24176         code.
24177         (verify_persistent_db): Likewise.
24179 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24182         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24184         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24186         Moved ...
24187         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24188         ... here.
24189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24190         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24192         Identical file removed.
24193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24194         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24196         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24198         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24200         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24202         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24204         Moved ...
24205         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24207         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24209         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24211         Moved ...
24212         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24214         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24216         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24218         Identical file removed.
24219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24220         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24222         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24224         Moved ...
24225         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24226         ... here.
24227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24236         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24238         Moved ...
24239         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24241         Moved ...
24242         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24244         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24246         Moved ...
24247         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24249         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24251         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24252         folded into ...
24253         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24254         * sysdeps/unix/sysv/linux/s390/Versions
24255         (libpthread: GLIBC_2.19): New version set.
24256         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24257         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24258         (librt: GLIBC_2.3.3): New version set.
24259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24260         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24261         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24262         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24263         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24264         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24265         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24266         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24267         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24268         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24269         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24270         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24271         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24272         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24273         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24274         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24275         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24276         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24277         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24278         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24279         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24280         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24281         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24282         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24283         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24284         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24285         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24286         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24287         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24288         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24289         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24290         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24295         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24297         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24299         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24301         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24303         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24305         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24306         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24307         (__libc_vfork): Define the function under this name.
24308         [!NOT_IN_libc] (__vfork): Make this an alias.
24309         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24311         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24312         (__libc_vfork): Define the function under this name.
24313         [!NOT_IN_libc] (__vfork): Make this an alias.
24314         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24315         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24319         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24321         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24322         code that was previously under [RESET_PID].
24323         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24328         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24329         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24330         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24331         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24332         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24333         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24334         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24335         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24336         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24337         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24338         Moved ...
24339         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24340         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24341         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24342         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24343         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24344         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24345         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24346         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24347         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24348         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24349         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24350         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24351         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24352         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24353         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24354         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24355         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24356         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24357         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24358         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24359         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24360         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24361         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24362         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24363         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24364         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24365         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24369 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24371         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24372         that was previously under [RESET_PID].
24373         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24375 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24377         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24378         not undefine and redefine.
24379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24380         [O_CLOEXEC]: Make code unconditional.
24381         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24382         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24383         <kernel-features.h>.
24384         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24385         conditional variable definition.
24386         (shm_open) [O_CLOEXEC]: Make code unconditional.
24387         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24388         code.
24390         * configure.ac (USE_REGPARMS): Don't define here.
24391         * configure: Regenerated.
24392         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24393         * sysdeps/i386/configure: Regenerated.
24395         * nptl/createthread.c: Don't include kernel-features.h.
24396         * nptl/pthread_cancel.c: Likewise.
24397         * nptl/pthread_condattr_setclock.c: Likewise.
24398         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24399         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24400         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24401         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24402         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24403         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24407         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24408         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24409         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24410         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24411         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24412         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24413         * nscd/gai.c: Likewise.
24414         * nss/nss_db/db-open.c: Likewise.
24415         * sysdeps/generic/ldsodefs.h: Likewise.
24416         * sysdeps/sh/nptl/tls.h: Likewise.
24417         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24418         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24419         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24420         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24421         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24422         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24423         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24424         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24426         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24427         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24428         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24429         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24430         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24431         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24432         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24433         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24434         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24435         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24436         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24439         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24440         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24445         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24446         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24447         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24448         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24449         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24450         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24451         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24452         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24453         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24454         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24455         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24456         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24457         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24458         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24459         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24460         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24461         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24462         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24463         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24464         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24465         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24466         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24467         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24468         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24469         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24470         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24471         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24472         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24473         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24474         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24497         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24498         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24499         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24500         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24501         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24502         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24503         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24504         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24505         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24506         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24507         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24508         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24509         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24510         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24511         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24512         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24513         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24514         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24515         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24516         * sysdeps/unix/sysv/linux/system.c: Likewise.
24517         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24518         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24519         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24520         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24521         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24522         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24523         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24525         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24526         * configure: Regenerated.
24527         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24529         * configure.ac (base_machine): Do not set specially for particular
24530         machines here.
24531         * configure: Regenerated.
24532         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24533         settings from configure.ac.
24534         * sysdeps/i386/preconfigure: New file.
24535         * sysdeps/s390/preconfigure: Likewise.
24536         * sysdeps/sh/preconfigure: Likewise.
24537         * sysdeps/sparc/preconfigure: Likewise.
24539 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24541         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24542         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24543         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24544         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24545         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24546         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24547         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24548         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24549         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24550         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24551         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24552         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24553         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24554         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24558         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24559         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24561         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24562         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24563         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24564         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24565         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24566         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24567         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24568         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24569         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24570         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24571         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24572         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24574         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24576         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24578         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24579         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24580         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24582         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24583         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24586         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24588         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24590         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24591         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24592         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24593         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24594         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24596         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24597         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24598         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24601         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24603         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24605         Moved ...
24606         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24607         ... here.
24608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24609         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24613         Moved ...
24614         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24616         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24618         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24620         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24622         Moved ...
24623         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24625         Moved ...
24626         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24628         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24630         Moved ...
24631         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24633         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24637         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24639         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24641         Moved ...
24642         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24643         ... here.
24644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24645         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24647         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24649         Moved ...
24650         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24652         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24656         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24658         Moved ...
24659         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24661         Moved ...
24662         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24664         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24666         Moved ...
24667         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24669         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24671         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24673 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24675         * timezone/checktab.awk: Update from tzcode 2014e.
24676         * timezone/private.h: Likewise.
24677         * timezone/tzfile.h: Likewise.
24678         * timezone/zdump.c: Likewise.
24679         * timezone/zic.c: Likewise.
24681         * sysdeps/unix/sysv/linux/kernel-features.h
24682         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24683         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24684         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24685         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24686         Remove conditional code.
24688 2014-06-25  Will Newton  <will.newton@linaro.org>
24690         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24691         (_dl_arm_cap_flags): Add HWCAP2 values.
24692         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24693         (_DL_HWCAP_COUNT): Increase to 37.
24694         (_DL_HWCAP_LAST): New define.
24695         (_DL_HWCAP2_LAST): New define.
24696         (_dl_procinfo): Add support for printing
24697         AT_HWCAP2 entries.
24698         (_dl_string_hwcap): Use _dl_hwcap_string.
24700 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24704 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24706         * README: Do not mention ports directory.
24708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24709         Remove macro.
24710         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24711         <kernel-features.h>.
24712         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24713         conditional variable definition.
24714         (__futimes): Update comment.
24715         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24716         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24718         [BZ #16560]
24719         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24720         arguments close to 0.
24721         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24722         Likewise.
24723         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24724         Likewise.
24725         * math/auto-libm-test-in: Add more tests of exp10.
24726         * math/auto-libm-test-out: Regenerated.
24727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24729         * sysdeps/unix/sysv/linux/kernel-features.h
24730         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24731         * sysdeps/unix/sysv/linux/readv.c: Do not include
24732         <kernel-features.h>.
24733         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24734         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24735         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24736         unconditional.
24737         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24738         conditional code.
24739         * sysdeps/unix/sysv/linux/writev.c: Do not include
24740         <kernel-features.h>.
24741         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24742         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24743         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24744         unconditional.
24745         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24746         conditional code.
24748 2014-06-25  Will Newton  <will.newton@linaro.org>
24750         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24751         comment changes throughout the file.  Remove checks
24752         for HAVE_*_H definitions that are not required.
24753         (__gen_tempname): Call abort if an unknown kind value is
24754         passed.
24756 2014-06-25  Andreas Schwab  <schwab@suse.de>
24758         [BZ #17086]
24759         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24760         scalbln, scalblnf, scalblnl in libc.
24762 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24764         [BZ #17086]
24765         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24766         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24767         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24769 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24771         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24772         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24773         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24774         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24775         Update #include.
24776         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24777         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24778         Update #include.
24779         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24780         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24781         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24782         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24783         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24784         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24785         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24786         * sysdeps/x86/bits/semaphore.h: ... here.
24787         * sysdeps/x86/nptl/elide.h: Moved ...
24788         * sysdeps/x86/elide.h: ... here.
24789         * sysdeps/x86_64/nptl/Implies: File removed.
24790         * sysdeps/i386/nptl/Implies: File removed.
24792 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24794         [BZ #16539]
24795         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24796         return the argument for normal arguments with exponent below -64.
24797         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24798         Likewise.
24799         * math/auto-libm-test-in: Add another test of expm1.
24800         * math/auto-libm-test-out: Regenerated.
24802         [BZ #16287]
24803         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24804         calling __erfcl for arguments at least 16.
24805         * math/auto-libm-test-in: Add more tests of erf.
24806         * math/auto-libm-test-out: Regenerated.
24808         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24809         individual architectures.
24810         * sysdeps/unix/sysv/linux/configure: Regenerated.
24811         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24812         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24813         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24814         (ldd_rewrite_script): Define variable.
24815         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24817         file.
24818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24819         generated file.
24820         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24821         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24822         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24823         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24824         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24825         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24826         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24827         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24829 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24831         [BZ #17084]
24832         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24833         Rename member __data.d to __data.__elision_data.
24835 2014-06-24  Wilco  <wdijkstr@arm.com>
24837         * NEWS: Add 16918 to fixed bug list.
24839 2014-06-24  Wilco  <wdijkstr@arm.com>
24841         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24843 2014-06-24  Wilco  <wdijkstr@arm.com>
24845         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24846         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24847         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24848         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24849         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24850         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24851         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24852         Use _FPU_MASK_RM.
24854 2014-06-24  Wilco  <wdijkstr@arm.com>
24856         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24858 2014-06-24  Wilco  <wdijkstr@arm.com>
24860         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24861         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24862         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24863         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24865 2014-06-24  Wilco  <wdijkstr@arm.com>
24867         [BZ #16918]
24868         * sysdeps/arm/feupdateenv.c (feupdateenv):
24869         Rewrite to reduce FPSCR accesses and fix return value.
24871 2014-06-24  Wilco  <wdijkstr@arm.com>
24873         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24874         Optimize to avoid unnecessary FPSCR writes.
24875         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24876         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24877         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24878         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24880 2014-06-24  Wilco  <wdijkstr@arm.com>
24882         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24883         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24884         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24885         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24886         Call libc_fetestexcept_vfp.
24887         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24888         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24889         __SOFTFP__ ifdef so that they can be built for softfp.
24891 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24893         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24894         argument type signed char.
24896         * Makerules (check-abi): Dump diff of symlist if the test
24897         fails.
24899 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24901         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24902         using abort.
24904         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24905         Remove unused variable ST.
24907 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24909         [BZ #16354]
24910         [BZ #17061]
24911         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24912         small arguments before calling __expm1.
24913         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24914         small arguments before calling __expm1f.
24915         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24916         small arguments before calling __expm1l.
24917         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24918         Likewise.
24919         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24920         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24921         spurious underflow for some cosh tests.
24922         * math/auto-libm-test-out: Regenerated.
24923         * sysdeps/i386/fpu/libm-test-ulps: Update.
24925         [BZ #17050]
24926         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24927         (__ieee754_y1): Set errno if return value overflows.
24928         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24929         (__ieee754_y1f): Set errno if return value overflows.
24930         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24931         (__ieee754_y1l): Set errno if return value overflows.
24932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24933         (__ieee754_y1l): Set errno if return value overflows.
24934         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24935         * math/auto-libm-test-out: Regenerated.
24937         * math/gen-auto-libm-tests.c: Document use of
24938         ignore-zero-inf-sign.
24939         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24940         (input_flags): Add ignore-zero-inf-sign.
24941         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24942         * math/gen-libm-test.pl (generate_testfile): Handle
24943         ignore-zero-inf-sign.
24944         * math/auto-libm-test-in: Mark some cpow tests with
24945         ignore-zero-inf-sign and some with xfail-rounding.
24946         * math/auto-libm-test-out: Regenerated.
24947         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24948         * sysdeps/i386/fpu/libm-test-ulps: Update.
24949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24951         [BZ #16315]
24952         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24953         overflowing or underflowing operations take place with sign of
24954         result.
24955         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24956         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24957         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24958         (__ieee754_pow): Recompute overflowing and underflowing results in
24959         original rounding mode.
24960         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24961         (__powl_helper): Allow negative argument X and scale negated value
24962         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24964         overflowing or underflowing operations take place with sign of
24965         result.
24966         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24967         Include <math.h>.
24968         * math/auto-libm-test-in: Add more tests of pow.
24969         * math/auto-libm-test-out: Regenerated.
24970         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24971         (pow_tonearest_test_data): Remove.
24972         (pow_test_tonearest): Likewise.
24973         (pow_towardzero_test_data): Likewise.
24974         (pow_test_towardzero): Likewise.
24975         (pow_downward_test_data): Likewise.
24976         (pow_test_downward): Likewise.
24977         (pow_upward_test_data): Likewise.
24978         (pow_test_upward): Likewise.
24979         (main): Don't call removed functions.
24980         * sysdeps/i386/fpu/libm-test-ulps: Update.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24986         Moved ...
24987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24989         Moved ...
24990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24992         Moved ...
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24995         Moved ...
24996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24998         File removed.
24999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25000         File removed.
25001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25002         File removed.
25003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25004         File removed.
25005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25006         File removed.
25007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25008         File removed.
25009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25010         File removed.
25011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25012         File removed.
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25014         File removed.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25016         File removed.
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25018         File removed.
25019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25020         File removed.
25021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25022         Moved ...
25023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25025         Moved ...
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25027         ... here.
25028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25029         Moved ...
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25032         Moved ...
25033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25035         Moved ...
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25038         Moved ...
25039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25041         Moved ...
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25044         Moved ...
25045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25047         Moved ...
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25051         ... here.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25053         Moved ...
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25056         Moved ...
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25058         ... here.
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25060         Moved ...
25061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25062         ... here.
25063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25064         Moved ...
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25066         ... here.
25067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25068         Moved ...
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25071         Moved ...
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25076         Moved ...
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25078         ... here.
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25080         Moved ...
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25082         ... here.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25084         Moved ...
25085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25087         Moved ...
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25090         Moved ...
25091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25093         Moved ...
25094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25096         Moved ...
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25098         ... here.
25099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25100         Moved ...
25101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25103         Moved ...
25104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25106         Moved ...
25107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25109         Moved ...
25110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25114         Moved ...
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25117         Moved ...
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25120         Moved ...
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25122         ... here.
25123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25124         Moved ...
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25126         ... here.
25127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25128         Moved ...
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25130         ... here.
25131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25132         Moved ...
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25135         Moved ...
25136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25138         Moved ...
25139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25141         Moved ...
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25143         ... here.
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25145         Moved ...
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25147         ... here.
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25149         Moved ...
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25151         ... here.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25153         Moved ...
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25156         Moved ...
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25159 2014-06-23  Will Newton  <will.newton@linaro.org>
25160             Wilco  <wdijkstr@arm.com>
25162         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25163         implementation.  Include get-rounding-mode.h.
25164         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25165         [!libc_feholdsetround_noex_ctx]: Define
25166         libc_feholdsetround_noex_ctx.
25167         [!libc_feholdsetround_noexf_ctx]: Define
25168         libc_feholdsetround_noexf_ctx.
25169         [!libc_feholdsetround_noexl_ctx]: Define
25170         libc_feholdsetround_noexl_ctx.
25171         (libc_feholdsetround_ctx): New function.
25172         (libc_feresetround_ctx): New function.
25173         (libc_feholdsetround_noex_ctx): New function.
25174         (libc_feresetround_noex_ctx): New function.
25176 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25178         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25179         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25180         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25181         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25182         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25183         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25185         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25186         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25187         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25188         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25189         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25190         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25193         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25194         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25196         Moved ...
25197         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25198         ... here.
25199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25200         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25202         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25204         Moved ...
25205         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25207         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25209         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25211         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25213         Moved ...
25214         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25216         Moved ...
25217         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25219         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25221         Moved ...
25222         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25224         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25225         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25226         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25227         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25228         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25230         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25232         Moved ...
25233         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25234         ... here.
25235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25236         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25238         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25240         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25242         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25246         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25248         Moved ...
25249         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25251         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25253         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25255         Moved ...
25256         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25258         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25259         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25260         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25262         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25263         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25264         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25265         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25266         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25267         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25268         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25269         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25271         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25272         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25273         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25275         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25276         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25277         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25278         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25279         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25280         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25281         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25282         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25283         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25285         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25286         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25287         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25288         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25289         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25291 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25294         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25295         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25296         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25297         (IPV6_PMTUDISC_INTERFACE): Likewise.
25298         (IPV6_PMTUDISC_OMIT): Likewise.
25300 2014-06-23  Andreas Schwab  <schwab@suse.de>
25302         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25303         Remove unused errout label.
25305 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25307         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25308         macro: hardware supports Vector Crypto instructions.
25310 2014-06-23  Will Newton  <will.newton@linaro.org>
25312         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25313         rather than __builtin_expect.
25315         * elf/dl-lookup.c (undefined_msg): Remove variable.
25316         (_dl_lookup_symbol_x): Replace undefined_msg with string
25317         literal.
25319         * elf/dl-lookup.c (do_lookup_unique): New function.
25320         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25321         to a separate function.
25323 2014-06-23  Andreas Schwab  <schwab@suse.de>
25325         [BZ #17079]
25326         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25327         before reading the next line.
25329 2014-06-23  Will Newton  <will.newton@linaro.org>
25331         * test-skeleton.c (signal_handler): Use printf and %m
25332         rather than perror.  Use printf rather than fprintf to
25333         stderr.  Use puts rather than fputs to stderr.
25334         (main): Likewise.
25336 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25338         * nscd/nscd.c (thread_info_t): Remove typedef.
25339         (thread_info): Remove variable.
25341 2014-06-21  Allan McRae  <allan@archlinux.org>
25343         * NEWS: Mention CVE-2014-4043.
25345 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25347         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25348         * nptl/smp.h: ... here.
25350         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25352         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25353         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25354         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25355         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25357         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25358         * nptl/stack-aliasing.h: New file.
25359         * sysdeps/i386/i686/stack-aliasing.h: New file.
25360         * sysdeps/i386/i686/nptl/Makefile: File removed.
25361         * sysdeps/x86_64/stack-aliasing.h: New file.
25362         * sysdeps/x86_64/nptl/Makefile
25363         (CFLAGS-pthread_create.c): Variable removed.
25365         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25366         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25367         old file.
25368         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25369         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25370         old file.
25372 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25375         (__ASSUME_SIGFRAME_V2): Remove macro.
25376         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25377         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25378         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25379         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25380         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25381         Declare as function.  Remove conditional macro definitions.
25382         (__default_rt_sa_restorer): Likewise.
25383         (__default_sa_restorer_v1): Remove declaration.
25384         (__default_sa_restorer_v2): Likewise.
25385         (__default_rt_sa_restorer_v1): Likewise.
25386         (__default_rt_sa_restorer_v2): Likewise.
25387         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25388         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25389         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25391 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25393         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25394         (libpthread-routines): Add sysdep.
25395         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25396         * sysdeps/unix/sysv/linux/sparc/Versions
25397         (libpthread: GLIBC_2.3.3): New version set.
25398         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25399         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25400         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25401         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25402         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25403         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25404         Moved ...
25405         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25406         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25407         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25409         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25410         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25411         * sysdeps/sparc/nptl/sem_init.c: ... here.
25412         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25413         * sysdeps/sparc/nptl/sem_post.c: ... here.
25414         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25415         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25416         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25417         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25418         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25419         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25420         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25421         (libpthread-routines): Add cpu_relax.
25422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25423         File removed.
25424         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25425         (librt: GLIBC_2.3.3): New version set.
25426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25427         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25428         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25429         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25432         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25434         Moved ...
25435         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25437         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25439         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25441         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25443         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25445         Moved ...
25446         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25447         Update #include.
25448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25449         Moved ...
25450         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25451         Update #include.
25452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25453         Moved ...
25454         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25455         Update #include.
25456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25457         Moved ...
25458         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25459         Update #include.
25460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25461         Moved ...
25462         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25463         Update #include.
25464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25465         Moved ...
25466         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25467         Update #include.
25468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25469         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25475         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25479         Moved ...
25480         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25482         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25484         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25486 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25488         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25489         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25490         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25491         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25492         * nscd/nscd.c: Likewise.
25493         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25494         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25495         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25496         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25498         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25499         <kernel-features.h>.
25500         (init_mq_netlink): Remove conditional have_sock_cloexec
25501         definitions.  Remove code conditional on have_sock_cloexec < 0.
25502         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25503         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25504         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25505         <kernel-features.h>.
25506         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25507         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25509 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25512         Add tests for memset_chk and memset.
25514         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25515         with AVX2_Usable.
25517 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25519         [BZ #16046]
25520         * elf/tst-dl-iter-static.c: New file.
25521         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25523         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25524         error.
25526 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25528         * sysdeps/unix/sysv/linux/kernel-features.h
25529         (__ASSUME_F_GETOWN_EX): Remove macro.
25530         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25531         <kernel-features.h>.
25532         (miss_F_GETOWN_EX): Remove variable or macro.
25533         (do_fcntl): Do not check miss_F_GETOWN_EX.
25534         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25537         Remove macro.
25538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25539         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25540         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25542         * sysdeps/unix/sysv/linux/kernel-features.h
25543         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25544         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25545         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25546         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25548 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25550         [BZ #17075]
25551         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25552         Fix calculation of the symbol's value.
25553         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25554         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25555         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25556         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25557         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25558         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25559         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25560         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25561         (modules-names): Add `tst-armtlsdescmod',
25562         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25563         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25564         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25565         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25566         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25567         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25568         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25569         ($(objpfx)tst-armtlsdescloc): New dependency.
25570         ($(objpfx)tst-armtlsdescextnow): Likewise.
25571         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25572         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25573         TLS scheme support.
25574         * sysdeps/arm/configure: Regenerate.
25576 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25578         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25579         (__atfct_seterrno_2): Likewise.
25580         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25581         <kernel-features.h>.
25582         (__ASSUME_ATFCTS): Do not undefine and redefine.
25583         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25584         (__have_atfcts): Remove conditional definition.
25585         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25586         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25587         unreachable if [__ASSUME_ATFCTS].
25588         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25589         not undefine and redefine.
25590         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25591         <kernel-features.h>.
25592         (faccessat) [__NR_faccessat]: Make code unconditional.
25593         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25594         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25595         <kernel-features.h>.
25596         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25597         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25598         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25599         <kernel-features.h>.
25600         (fchownat) [__NR_fchownat]: Make code unconditional.
25601         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25602         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25603         <kernel-features.h>.
25604         (futimesat) [__NR_futimesat]: Make code unconditional.
25605         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25606         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25607         <kernel-features.h>.
25608         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25609         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25610         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25611         <kernel-features.h>.
25612         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25613         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25614         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25615         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25616         <kernel-features.h>.
25617         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25618         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25619         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25620         <kernel-features.h>.
25621         (linkat) [__NR_linkat]: Make code unconditional.
25622         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25623         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25624         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25625         <kernel-features.h>.
25626         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25627         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25628         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25629         <kernel-features.h>.
25630         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25631         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25632         * sysdeps/unix/sysv/linux/openat.c: Do not include
25633         <kernel-features.h>.
25634         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25635         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25636         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25637         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25638         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25639         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25640         <kernel-features.h>.
25641         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25642         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25643         result of INLINE_SYSCALL directly, not via int variable.
25644         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25645         <kernel-features.h>.
25646         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25647         (renameat) [__NR_renameat]: Make code unconditional.
25648         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25649         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25650         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25651         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25652         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25653         (__ASSUME_ATFCTS): Do not undefine and redefine.
25654         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25655         <kernel-features.h>.
25656         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25657         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25658         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25659         <kernel-features.h>.
25660         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25661         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25662         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25663         (__ASSUME_ATFCTS): Do not undefine and redefine.
25664         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25665         <kernel-features.h>.
25666         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25667         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25668         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25669         <kernel-features.h>.
25670         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25671         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25673 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25675         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25677 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25679         [BZ #17069]
25680         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25681         constructed tree before returning error.
25682         * posix/bug-regexp36.c: Expand test case.
25684 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25686         [BZ #6803]
25687         * math/libm-test.inc (scalbln_test_date):
25688         Add errno expectations.
25689         * math/w_scalblnf.c: New File.
25690         Add wrapper which checks for setting errno to ERANGE.
25691         Add weak_alias for corresponding scalbln function.
25692         * math/w_scalbln.c: Likewise.
25693         * math/w_scalblnl.c: Likewise.
25694         * math/Makefile (libm-calls): Add w_scalbln.
25695         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25696         Remove weak_alias for corresponding scalbln function.
25697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25700         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25701         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25702         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25703         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25704         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25705         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25706         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25707         Remove long_double_symbol for scalblnl function in libm, libc.
25708         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25709         Add wrapper which checks for setting errno to ERANGE.
25710         Add long_double_symbol for scalblnl function in libm, libc.
25711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25712         Remove long_double_symbol for scalblnl in libm.
25713         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25714         Add wrapper which checks for setting errno to ERANGE.
25715         Add long_double_symbol for scalblnl function in libm.
25716         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25717         Do not use wrapper because of own implementation.
25719 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25721         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25722         3 bytes for __pad1 for x32.
25723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25725 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25726             H.J. Lu  <hongjiu.lu@intel.com>
25728         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25729         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25730         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25731         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25732         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25734 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25736         [BZ #17069]
25737         * posix/regcomp.c (parse_expression): Deallocate partially
25738         constructed tree before returning error.
25739         * posix/Makefile.c (tests): Add bug-regex36.
25740         (generated): Add bug-regex36.mtrace.
25741         (tests-special): Add $(objpfx)bug-regex36-mem.out
25742         (bug-regex36-ENV): New variable.
25743         ($(objpfx)bug-regex36-mem.out): New rule.
25744         * posix/bug-regex36.c: New file.
25746 2014-06-19  Will Newton  <will.newton@linaro.org>
25748         * malloc/malloc.c (systrim): If extra is zero then return
25749         early.
25751 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25753         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25755 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25757         * sysdeps/aarch64/strchr.S: New file.
25759 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25761         [BZ #17022]
25762         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25763         from arguments -2 or below.
25764         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25765         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25767 2014-06-18  Andreas Schwab  <schwab@suse.de>
25769         [BZ #17062]
25770         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25771         of a bracket expr not to run off the end of the string.
25772         * posix/Makefile (tests): Add tst-fnmatch3.
25773         * posix/tst-fnmatch3.c: New file.
25775 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25777         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25778         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25779         [$(cross-compiling) = no]: Likewise.
25780         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25781         [$(cross-compiling) = no]: Likewise.
25783 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25785         [BZ #17031]
25786         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25787         double, adjusted for any remainder from the high double.
25788         * math/libm-test.inc (nearbyint): Add tests.
25789         (rint): Likewise.
25791 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25793         * nptl/sysdeps/powerpc/Makefile: Moved ...
25794         * sysdeps/powerpc/nptl/Makefile: ... here.
25795         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25796         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25797         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25798         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25799         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25800         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25801         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25802         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25803         * nptl/sysdeps/powerpc/tls.h: Moved ...
25804         * sysdeps/powerpc/nptl/tls.h: ... here.
25806 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25808         [BZ #16681]
25809         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25810         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25811         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25812         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25813         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25814         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25815         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25816         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25817         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25819 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25821         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25823 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25825         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25826         defined operator.
25828         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25829         $TIMEOUTFACTOR.
25831 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25833         [BZ #17058]
25834         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25835         non-executed part of the test.
25837 2014-06-16  Andreas Schwab  <schwab@suse.de>
25839         * string/bits/string2.h (strdup, strndup): Update feature guard.
25841 2014-06-14  David S. Miller  <davem@davemloft.net>
25843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25845 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25847         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25848         that was previously under [RESET_PID].
25849         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25851         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25852         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25853         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25854         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25855         (__libc_vfork): New strong alias.
25856         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25858 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25860         * sysdeps/generic/elide.h: New file.
25862 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25864         * Makefile (installed-headers): Adjust path of pthread.h header.
25866 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25868         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25869         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25870         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25871         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25873         * nptl/sysdeps/s390/Makefile: Moved ...
25874         * sysdeps/s390/nptl/Makefile: ... here.
25875         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25876         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25877         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25878         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25879         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25880         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25881         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25882         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25883         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25884         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25885         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25886         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25887         * nptl/sysdeps/s390/tls.h: Moved ...
25888         * sysdeps/s390/nptl/tls.h: ... here.
25890         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25891         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25893 2014-06-13  David S. Miller  <davem@davemloft.net>
25895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25898         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25902         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25903         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25904         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25905         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25906         Remove RESET_PID cpp guards.
25907         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25908         Remove RESET_PID cpp guards.
25909         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25911 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25913         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25914         __sp to uintptr_t.
25916 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25918         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25931         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25934         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25939         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25940         (pthread_rwlock_rdlock): Add elision.
25941         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25942         (pthread_rwlock_wrlock): Add elision.
25943         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25944         (pthread_rwlock_trywrlock): Add elision.
25945         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25946         (pthread_rwlock_tryrdlock): Add elision.
25947         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25948         (pthread_rwlock_tryrdlock): Add elision unlock.
25949         * nptl/sysdeps/pthread/pthread.h:
25950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25951         (PTHREAD_RWLOCK_INITIALIZER,
25952         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25953         Handle new elision field.
25954         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25955         * sysdeps/arm/nptl/bits/pthreadtypes.h
25956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25957         * sysdeps/sh/nptl/bits/pthreadtypes.h
25958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25959         * sysdeps/tile/nptl/bits/pthreadtypes.h
25960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25961         * sysdeps/a/nptl/bits/pthreadtypes.h
25962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25963         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25965         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25967         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25969         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25971         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25973         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25975         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25977         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25979         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25980         (elision_init): Set try_xbegin to zero when no RTM.
25981         * sysdeps/x86/nptl/bits/pthreadtypes.h
25982         (pthread_rwlock_t): Change __pad1 to __rwelision.
25983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25985 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25987         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25988         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25989         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25990         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25992 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25994         [BZ #16996]
25995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25996         that the cached result has been set before returning it.
25998 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26000         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26001         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26002         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26003         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26004         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26005         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26007         * nptl/sysdeps/sparc/Makefile: Moved ...
26008         * sysdeps/sparc/nptl/Makefile: ... here.
26009         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26010         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26011         * nptl/sysdeps/sparc/tls.h: Moved ...
26012         * sysdeps/sparc/nptl/tls.h: ... here.
26013         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26014         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26015         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26016         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26017         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26018         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26019         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26020         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26021         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26022         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26023         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26024         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26025         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26026         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26027         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26028         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26029         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26031         Update #include.
26032         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26034         Update #include.
26035         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26037         Update #include.
26038         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26040         Update #include.
26042         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26044         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26045         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26047         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26048         (struct list_links): Type removed.
26049         (struct thread_node, struct timer_node): Replace struct list_links
26050         with struct list_head.
26051         (list_unlink_ip): Likewise.
26052         * sysdeps/pthread/timer_routines.c
26053         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26054         (list_append, list_insbefore): Likewise.
26055         (list_init): Function removed.
26056         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26057         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26058         * sysdeps/pthread/Makefile: ... here, new file.
26060         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26061         * sysdeps/nptl/Implies: ... here.
26062         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26063         * nptl/sysdeps/pthread/list.h: Moved ...
26064         * include/list.h: ... here.
26065         * nptl/sysdeps/pthread/createthread.c: Moved ...
26066         * nptl/createthread.c: ... here.
26067         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26068         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26069         * nptl/pt-longjmp.c: ... here.
26070         * nptl/sysdeps/pthread/Makefile: Moved ...
26071         * sysdeps/nptl/Makefile: ... here.
26072         * nptl/sysdeps/pthread/Subdirs: Moved ...
26073         * sysdeps/nptl/Subdirs: ... here.
26074         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26075         * sysdeps/nptl/aio_misc.h: ... here.
26076         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26077         * sysdeps/nptl/bits/libc-lock.h: ... here.
26078         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26079         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26080         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26081         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26082         * nptl/sysdeps/pthread/configure: Moved ...
26083         * sysdeps/nptl/configure: ... here.
26084         * nptl/sysdeps/pthread/configure.ac: Moved ...
26085         * sysdeps/nptl/configure.ac: ... here.
26086         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26087         * sysdeps/nptl/gai_misc.h: ... here.
26088         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26089         * sysdeps/nptl/librt-cancellation.c: ... here.
26090         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26091         * sysdeps/nptl/malloc-machine.h: ... here.
26092         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26093         * sysdeps/nptl/pthread-functions.h: ... here.
26094         * nptl/sysdeps/pthread/pthread.h: Moved ...
26095         * sysdeps/nptl/pthread.h: ... here.
26096         * nptl/sysdeps/pthread/setxid.h: Moved ...
26097         * sysdeps/nptl/setxid.h: ... here.
26098         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26099         * sysdeps/nptl/sigfillset.c: ... here.
26100         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26101         * sysdeps/nptl/tcb-offsets.h: ... here.
26102         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26103         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26104         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26105         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26106         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26107         * sysdeps/pthread/allocalim.h: ... here.
26108         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26109         * sysdeps/pthread/bits/sigthread.h: ... here.
26110         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26111         * sysdeps/pthread/flockfile.c: ... here.
26112         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26113         * sysdeps/pthread/ftrylockfile.c: ... here.
26114         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26115         * sysdeps/pthread/funlockfile.c: ... here.
26116         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26117         * sysdeps/pthread/posix-timer.h: ... here.
26118         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26119         * sysdeps/pthread/timer_create.c: ... here.
26120         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26121         * sysdeps/pthread/timer_delete.c: ... here.
26122         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26123         * sysdeps/pthread/timer_getoverr.c: ... here.
26124         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26125         * sysdeps/pthread/timer_gettime.c: ... here.
26126         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26127         * sysdeps/pthread/timer_routines.c: ... here.
26128         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26129         * sysdeps/pthread/timer_settime.c: ... here.
26130         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26131         * sysdeps/pthread/tst-timer.c: ... here.
26132         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26133         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26135         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26136         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26138         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26139         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26140         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26141         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26142         Update #include target.
26143         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26144         * sysdeps/i386/i686/nptl/Makefile: ... here.
26145         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26146         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26147         Update #include target.
26148         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26149         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26150         * nptl/sysdeps/i386/Makefile: Moved ...
26151         * sysdeps/i386/nptl/Makefile: ... here.
26152         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26153         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26154         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26155         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26156         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26157         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26158         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26159         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26160         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26161         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26162         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26163         * nptl/sysdeps/i386/tls.h: Moved ...
26164         * sysdeps/i386/nptl/tls.h: ... here.
26166         * sysdeps/sh/Makefile [$(subdir) = csu]
26167         (gen-as-const-headers): Add tcb-offsets.sym.
26168         * nptl/sysdeps/sh/Makefile: File removed.
26169         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26170         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26171         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26172         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26173         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26174         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26175         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26176         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26177         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26178         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26179         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26180         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26181         * nptl/sysdeps/sh/tls.h: Moved ...
26182         * sysdeps/sh/nptl/tls.h: ... here.
26183         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26184         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26185         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26186         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26187         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26188         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26189         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26191         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26192         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26194         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26196         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26198         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26200         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26202         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26204         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26208         Moved ...
26209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26211         Moved ...
26212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26217         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26218         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26219         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26220         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26221         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26222         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26223         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26224         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26225         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26226         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26227         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26228         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26229         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26230         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26232 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26234         * posix/spawn_faction_addopen.c: Include string.h.
26236 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26238         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26239         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26240         * nptl/sysdeps/x86_64/Makefile: Moved ...
26241         * sysdeps/x86_64/nptl/Makefile: ... here.
26242         * nptl/sysdeps/x86_64/configure: Moved ...
26243         * sysdeps/x86_64/nptl/configure: ... here.
26244         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26245         * sysdeps/x86_64/nptl/configure.ac: ... here.
26246         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26247         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26248         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26249         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26250         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26251         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26252         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26253         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26254         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26255         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26256         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26257         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26258         * nptl/sysdeps/x86_64/tls.h: Moved ...
26259         * sysdeps/x86_64/nptl/tls.h: ... here.
26260         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26261         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26262         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26263         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26265         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26267 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26271 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26273         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26274         type.
26275         [POSIX] (off_t): Likewise.
26276         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26277         [POSIX] (S_ISBLK): Require macro.
26278         [POSIX] (S_ISCHR): Likewise.
26279         [POSIX] (S_ISDIR): Likewise.
26280         [POSIX] (S_ISFIFO): Likewise.
26281         [POSIX] (S_ISREG): Likewise.
26282         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26283         optional-macro.
26284         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26285         type.
26286         [POSIX] (time_t): Likewise.
26287         [POSIX] (timer_t): Likewise.
26289 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26291         [BZ #17048]
26292         * posix/spawn_int.h (struct __spawn_action): Make the path string
26293         non-const to support deallocation.
26294         * posix/spawn_faction_addopen.c
26295         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26296         * posix/spawn_faction_destroy.c
26297         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26298         path in all spawn_do_open actions.
26299         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26300         posix_spawn_file_actions_addopen.
26302 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26304         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26305         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26306         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26307         conditional code always true.
26308         (__libc_vfork): New alias.
26310 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26312         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26313         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26315         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26317         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26318         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26320         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26321         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26323         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26324         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26326 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26328         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26329         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26330         multiarch strcmp for PPC64.
26331         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26332         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26334         multiarch optimizations.
26335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26336         (__libc_ifunc_impl_list): Likewise.
26338 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26340         * benchtests/scripts/validate_benchout.py: New script.
26341         * benchtests/Makefile (bench-func): Call it.
26342         * benchtests/scripts/benchout.schema.json: New file.
26344 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26346         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26347         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26348         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26349         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26350         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26351         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26352         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26353         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26354         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26355         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26356         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26357         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26358         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26359         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26360         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26361         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26363         Moved ...
26364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26365         ... here.
26366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26367         Moved ...
26368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26370         Moved ...
26371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26372         ... here.
26373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26374         Moved ...
26375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26376         ... here.
26377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26378         Moved ...
26379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26381         Moved ...
26382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26383         ... here.
26384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26385         Moved ...
26386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26387         ... here.
26388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26392         Moved ...
26393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26394         ... here.
26395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26396         Moved ...
26397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26398         ... here.
26399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26400         Moved ...
26401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26402         ... here.
26403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26404         Moved ...
26405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26407         Moved ...
26408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26409         ... here.
26410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26411         Moved ...
26412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26413         ... here.
26414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26415         Moved ...
26416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26417         ... here.
26418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26419         Moved ...
26420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26422         Moved ...
26423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26424         ... here.
26425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26426         Moved ...
26427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26428         ... here.
26429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26430         Moved ...
26431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26433         Moved ...
26434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26435         ... here.
26436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26437         Moved ...
26438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26440         Moved ...
26441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26443         Moved ...
26444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26445         ... here.
26446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26447         Moved ...
26448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26449         ... here.
26450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26451         Moved ...
26452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26453         ... here.
26454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26455         Moved ...
26456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26458         Moved ...
26459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26460         ... here.
26461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26462         Moved ...
26463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26464         ... here.
26465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26466         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26468         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26470         Moved ...
26471         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26472         ... here.
26473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26474         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26476         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26478         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26480         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26482         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26484         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26486         Moved ...
26487         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26489         Moved ...
26490         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26492         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26494         Moved ...
26495         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26497         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26499         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26500         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26501         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26503 2014-06-10  Wilco  <wdijkstr@arm.com>
26505         * math/test-fenv-return.c: New file.
26506         * math/Makefile: Add new test test-fenv-return.
26508 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26510         [BZ #17042]
26511         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26512         when x - 1 is zero.
26513         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26514         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26515         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26516         0.0L for an argument of 1.0L.
26517         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26518         Likewise.
26519         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26520         value when x - 1 is zero.
26521         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26522         * sysdeps/i386/fpu/libm-test-ulps: Update.
26523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26525 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26527         [BZ #15119]
26528         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26530 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26532         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26533         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26535 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26537         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26538         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26540         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26541         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26543         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26544         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26546         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26547         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26549         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26550         if not already defined.
26551         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26552         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26553         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26554         (TLS_INIT_TP): Use it.
26555         (TLS_DEFINE_INIT_TP): New macro.
26556         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26558 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26560         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26561         constant.
26562         [POSIX] (IXANY): Likewise.
26563         [POSIX] (OLCUC): Likewise.
26564         [POSIX || POSIX2008] (CBAUD): Do not allow.
26565         [POSIX || POSIX2008] (DEFECHO): Likewise.
26566         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26567         [POSIX || POSIX2008] (ECHOKE): Likewise.
26568         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26569         [POSIX || POSIX2008] (EXTA): Likewise.
26570         [POSIX || POSIX2008] (EXTB): Likewise.
26571         [POSIX || POSIX2008] (FLUSHO): Likewise.
26572         [POSIX || POSIX2008] (LOBLK): Likewise.
26573         [POSIX || POSIX2008] (PENDIN): Likewise.
26574         [POSIX || POSIX2008] (SWTCH): Likewise.
26575         [POSIX || POSIX2008] (VDISCARD): Likewise.
26576         [POSIX || POSIX2008] (VDSUSP): Likewise.
26577         [POSIX || POSIX2008] (VLNEXT): Likewise.
26578         [POSIX || POSIX2008] (VREPRINT): Likewise.
26579         [POSIX || POSIX2008] (VSTATUS): Likewise.
26580         [POSIX || POSIX2008] (VWERASE): Likewise.
26581         (B*): Change to B[0123456789]*.
26582         * conform/data/time.h-data [POSIX || UNIX98]
26583         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26584         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26585         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26586         [POSIX] (tm_*): Do not allow.
26588 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26590         * Makefile (install): Don't set LANGUAGE.
26591         * Makefile.in (install): Likewise.
26592         * assert/Makefile (test-assert-ENV): Remove variable.
26593         (test-assert-perr-ENV): Likewise.
26594         * elf/Makefile (neededtest4-ENV): Likewise.
26595         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26596         [$(cross-compiling) = no]: Don't set LANGUAGE.
26597         * io/ftwtest-sh (LANG): Remove variable.
26598         * libio/Makefile (tst-widetext-ENV): Likewise.
26599         * manual/install.texi (Running make install): Don't refer to
26600         environment settings for make install.
26601         * INSTALL: Regenerated.
26602         * nptl/tst-tls6.sh: Don't set LANG.
26603         * posix/globtest.sh (LANG): Remove variable.
26604         * string/Makefile (tester-ENV): Likewise.
26605         (inl-tester-ENV): Likewise.
26606         (noinl-tester-ENV): Likewise.
26607         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26608         [$(cross-compiling) = no]: Don't set LANGUAGE.
26609         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26610         without explicit environment settings.
26612 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26614         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26615         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26616         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26617         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26619 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26621         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26622         other files in the crypt directory.
26623         * crypt/crypt.c: Remove duplicate includes.
26624         * crypt/crypt-entry.c: Likewise.
26625         * crypt/crypt_util.c: Likewise.
26627 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26629         * Makeconfig (run-program-env): New variable.
26630         (run-program-prefix-before-env): Likewise.
26631         (run-program-prefix-after-env): Likewise.
26632         (run-program-prefix): Define in terms of new variables.
26633         (built-program-cmd-before-env): New variable.
26634         (built-program-cmd-after-env): Likewise.
26635         (built-program-cmd): Define in terms of new variables.
26636         (test-program-prefix-before-env): New variable.
26637         (test-program-prefix-after-env): Likewise.
26638         (test-program-prefix): Define in terms of new variables.
26639         (test-program-cmd-before-env): New variable.
26640         (test-program-cmd-after-env): Likewise.
26641         (test-program-cmd): Define in terms of new variables.
26642         * Rules (make-test-out): Use $(run-program-env).
26643         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26644         (help): Do not mention environment variables.  Mention
26645         --timeoutfactor option.
26646         (timeoutfactor): New variable.
26647         (blacklist_exports): Remove function.
26648         (exports): Remove variable.
26649         (command): Do not include ${exports}.
26650         * manual/install.texi (Configuring and compiling): Do not mention
26651         test wrappers preserving environment variables.  Mention that last
26652         assignment to a variable must take precedence.
26653         * INSTALL: Regenerated.
26654         * benchtests/Makefile (run-bench): Use $(run-program-env).
26655         * catgets/Makefile ($(objpfx)test1.cat): Use
26656         $(built-program-cmd-before-env), $(run-program-env) and
26657         $(built-program-cmd-after-env).
26658         ($(objpfx)test2.cat): Do not specify environment variables
26659         explicitly.
26660         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26661         $(run-program-env) and $(built-program-cmd-after-env).
26662         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26663         $(run-program-env) and $(test-program-cmd-after-env).
26664         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26665         explicitly.
26666         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26667         run_program_env and test_program_cmd_after_env arguments.
26668         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26669         * elf/tst-pathopt.sh: Use run_program_env argument.
26670         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26671         $(test-wrapper-env) and $(run-program-env).
26672         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26673         run_program_env arguments.
26674         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26675         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26676         $(test-program-prefix-before-env), $(run-program-env) and
26677         $(test-program-prefix-after-env).
26678         ($(objpfx)tst-gettext2.out): Likewise.
26679         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26680         run_program_env and test_program_prefix_after_env arguments.
26681         * intl/tst-gettext2.sh: Likewise.
26682         * intl/tst-gettext4.sh: Do not set environment variables
26683         explicitly.
26684         * intl/tst-gettext6.sh: Likewise.
26685         * intl/tst-translit.sh: Likewise.
26686         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26687         $(test-program-prefix-before-env), $(run-program-env) and
26688         $(test-program-prefix-after-env).
26689         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26690         run_program_env and test_program_prefix_after_env arguments.
26691         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26692         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26693         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26694         explicitly with each use of ${test_wrapper_env}.
26695         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26696         $(test-program-prefix-before-env), $(run-program-env) and
26697         $(test-program-prefix-after-env).
26698         * posix/tst-getconf.sh: Do not set environment variables
26699         explicitly.
26700         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26701         run_program_env and test_program_prefix_after_env arguments.
26702         * stdio-common/tst-printf.sh: Do not set environment variables
26703         explicitly.
26704         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26705         $(test-program-prefix-before-env), $(run-program-env) and
26706         $(test-program-prefix-after-env).
26707         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26708         run_program_env and test_program_prefix_after_env arguments.
26709         Split $test calls into $test_pre and $test.
26710         * timezone/Makefile (build-testdata): Use
26711         $(built-program-cmd-before-env), $(run-program-env) and
26712         $(built-program-cmd-after-env).
26714 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26716         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26717         strlen for non SHARED builds.
26719 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26721         * nptl/allocatestack.c (check_list): Inlined function...
26722         (__reclaim_stacks): ... here.
26724 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26726         [BZ #15698]
26727         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26728         memory overrun.
26730 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26732         * Rules (make-test-out): Include
26733         LOCPATH=$(common-objpfx)localedata in default environment.
26734         * debug/Makefile (tst-chk1-ENV): Remove variable.
26735         (tst-chk2-ENV): Likewise.
26736         (tst-chk3-ENV): Likewise.
26737         (tst-chk4-ENV): Likewise.
26738         (tst-chk5-ENV): Likewise.
26739         (tst-chk6-ENV): Likewise.
26740         (tst-lfschk1-ENV): Likewise.
26741         (tst-lfschk2-ENV): Likewise.
26742         (tst-lfschk3-ENV): Likewise.
26743         (tst-lfschk4-ENV): Likewise.
26744         (tst-lfschk5-ENV): Likewise.
26745         (tst-lfschk6-ENV): Likewise.
26746         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26747         (tst-iconv7-ENV): Likewise.
26748         * intl/Makefile (LOCPATH-ENV): Likewise.
26749         (tst-codeset-ENV): Likewise.
26750         (tst-gettext3-ENV): Likewise.
26751         (tst-gettext5-ENV): Likewise.
26752         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26753         (tst-fopenloc-ENV): Likewise.
26754         (tst-fgetws-ENV): Remove variable.
26755         (tst-ungetwc1-ENV): Likewise.
26756         (tst-ungetwc2-ENV): Likewise.
26757         (bug-ungetwc2-ENV): Likewise.
26758         (tst-swscanf-ENV): Likewise.
26759         (bug-ftell-ENV): Likewise.
26760         (tst-fgetwc-ENV): Likewise.
26761         (tst-fseek-ENV): Likewise.
26762         (tst-ftell-partial-wide-ENV): Likewise.
26763         (tst-ftell-active-handler-ENV): Likewise.
26764         (tst-ftell-append-ENV): Likewise.
26765         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26766         (tst-regexloc-ENV): Likewise.
26767         (bug-regex1-ENV): Likewise.
26768         (tst-regex-ENV): Likewise.
26769         (tst-regex2-ENV): Likewise.
26770         (bug-regex5-ENV): Likewise.
26771         (bug-regex6-ENV): Likewise.
26772         (bug-regex17-ENV): Likewise.
26773         (bug-regex18-ENV): Likewise.
26774         (bug-regex19-ENV): Likewise.
26775         (bug-regex20-ENV): Likewise.
26776         (bug-regex22-ENV): Likewise.
26777         (bug-regex23-ENV): Likewise.
26778         (bug-regex25-ENV): Likewise.
26779         (bug-regex26-ENV): Likewise.
26780         (bug-regex30-ENV): Likewise.
26781         (bug-regex32-ENV): Likewise.
26782         (bug-regex33-ENV): Likewise.
26783         (bug-regex34-ENV): Likewise.
26784         (bug-regex35-ENV): Likewise.
26785         (tst-rxspencer-ENV): Likewise.
26786         (tst-rxspencer-no-utf8-ENV): Likewise.
26787         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26788         (tst-sscanf-ENV): Likewise.
26789         (tst-swprintf-ENV): Likewise.
26790         (tst-swscanf-ENV): Likewise.
26791         (test-vfprintf-ENV): Likewise.
26792         (scanf13-ENV): Likewise.
26793         (bug14-ENV): Likewise.
26794         (tst-grouping-ENV): Likewise.
26795         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26796         (tst-strtod3-ENV): Likewise.
26797         (tst-strtod4-ENV): Likewise.
26798         (tst-strtod5-ENV): Likewise.
26799         (testmb2-ENV): Likewise./
26800         * string/Makefile (tst-strxfrm-ENV): Likewise.
26801         (tst-strxfrm2-ENV): Likewise.
26802         (bug-strcoll1-ENV): Likewise.
26803         (test-strcasecmp-ENV): Likewise.
26804         (test-strncasecmp-ENV): Likewise.
26805         * time/Makefile (tst-strptime-ENV): Likewise.
26806         (tst-ftime_l-ENV): Likewise.
26807         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26808         (tst-mbrtowc-ENV): Likewise.
26809         (tst-wcrtomb-ENV): Likewise.
26810         (tst-mbrtowc2-ENV): Likewise.
26811         (tst-c16c32-1-ENV): Likewise.
26812         (tst-mbsnrtowcs-ENV): Likewise.
26814 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26816         * manual/resource.texi (How to get information about the memory
26817         subsystem?): Fix typo.
26818         Reported by Peon de la Parra Ivan <peon@keba.com>
26820 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26822         [BZ #16882]
26823         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26824         (pthread_spin_lock): Branch out of spin loop to proper location.
26825         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26826         (pthread_spin_lock): Likewise.
26828         * nptl/tst-spin4.c: New test.
26829         * nptl/Makefile (tests): Add tst-spin4.
26831 2014-06-03  Andreas Schwab  <schwab@suse.de>
26833         [BZ #15946]
26834         * resolv/res_send.c (send_dg): Reload file descriptor after
26835         calling reopen.
26837 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26841 2014-06-03  Richard Henderson  <rth@redhat.com>
26843         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26844         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26845         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26846         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26847         in the SAVE_PID block.
26848         (__libc_vfork): New alias.
26849         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26851         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26852         child in registers, not on the stack.  Remove RESET_PID conditionals.
26853         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26855 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26857         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26859 2014-06-03  Wilco  <wdijkstr@arm.com>
26861         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26862         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26863         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26864         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26865         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26866         Likewise.
26868 2014-06-03  Wilco  <wdijkstr@arm.com>
26870         * sysdeps/aarch64/fpu/math_private.h
26871         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26872         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26873         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26874         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26875         Fix declarations.
26877 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26879         * crypt/crypt-private.h: Include ufc-crypt.h.
26880         (__b64_from_24bit): Declare extern.
26881         * crypt/crypt_util.c(__b64_from_24bit): New function.
26882         (b64t): New static const variable.
26883         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26884         (b64t): Remove variable.
26885         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26886         * crypt/sha256-crypt.c: Include crypt-private.h.
26887         (b64t): Remove variable.
26888         (__sha256_crypt_r): Remove b64_from_24bit and replace
26889         with __b64_from_24bit.
26890         * crypt/sha512-crypt.c: Likewise.
26892 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26894         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26895         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26896         Label the code __libc_vfork rather than __vfork.
26897         [!NOT_IN_libc] (vfork): Define as weak alias.
26898         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26899         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26900         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26902 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26904         * malloc/malloc.c (malloc_info): Fix format specifier for
26905         n_mmaps.
26907 2014-06-02  Wilco  <wdijkstr@arm.com>
26909         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26910         FPCR write.
26912 2014-06-02  Wilco  <wdijkstr@arm.com>
26914         [BZ #17009]
26915         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26916         Rewrite to reduce FPCR/FPSR accesses.
26918 2014-06-01  David S. Miller  <davem@davemloft.net>
26920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26922 2014-05-31  David S. Miller  <davem@davemloft.net>
26924         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26925         to occur in round to nearest mode when |x| >= 2.0
26927 2014-05-30  Richard Henderson  <rth@twiddle.net>
26929         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26930         (PSEUDO_RET_NOERRNO): Remove.
26931         (ret): Don't redefine.
26932         (ret_NOERRNO): Define in terms of ret.
26933         (ret_ERRVAL): Likewise.
26935         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26936         use of PSEUDO_RET; perform the error check directly.
26938 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26940         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26941         with __int128_t.
26943 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26945         * malloc/malloc (malloc_info): Fix formatting.
26947 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26948             Roland McGrath  <roland@hack.frob.com>
26950         * malloc/malloc (malloc_info): Also print mmapped statistics.
26952 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26954         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26955         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26957 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26959         * malloc/malloc.c (malloc_info): Inline mi_arena.
26961 2014-05-29  Richard Henderson  <rth@twiddle.net>
26963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26964         Remove comma before expanding ASM_ARGS_##nr.
26965         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26966         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26967         of ASM_ARGS_##nr.
26968         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26969         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26970         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26971         (ASM_ARGS_1): Add leading comma.
26973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26974         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26975         to __errno_location.
26976         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26977         Remove the expected plt for __errno_location.
26979         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26980         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26981         call to __read_tp.
26983         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26984         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26985         it and break it down.
26986         (DOCARGS_0, DOCARGS_1): Do nothing.
26987         (DOCARGS_2): Update to store into the new stack frame.
26988         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26989         (UNDOCARGS_1): Update to restore from the new stack frame.
26990         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26991         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26994         (SINGLE_THREAD_P): New parameter for result regno.
26995         (PSEUDO): Update to match; use cbz instead of beq.
26997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26998         Use ENTRY to define the _nocancel entry point.  Share the syscall
26999         and syscall error check paths with the cancel path.
27000         (PSEUDO_END): New.
27002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27003         whitespace; tabs before and after asm mnemonics.
27005 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27007         [BZ #15132]
27008         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27009         Call fstat64 or stat64 internally, depending on arguments passed.
27010         Replace stat buffer argument with file descriptor argument.
27011         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27012         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27013         Pass fd to __internal_statvfs instead of calling fstat64.
27014         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27015         Pass fd to __internal_statvfs64 instead of calling fstat64.
27016         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27017         Pass -1 to __internal_statvfs instead of calling stat64.
27018         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27019         Pass -1 to __internal_statvfs64 instead of calling stat64.
27021 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27023         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27024         that was previously under [RESET_PID].
27025         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27027         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27028         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27030 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27032         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27034         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27035         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27037 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27039         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27041 2014-05-27  Andreas Schwab  <schwab@suse.de>
27043         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27044         TLS_INIT_TP macro.
27045         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27046         * elf/rtld.c (init_tls, dl_main): Likewise.
27047         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27048         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27049         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27050         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27051         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27052         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27053         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27054         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27055         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27056         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27057         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27058         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27059         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27060         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27061         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27062         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27063         * sysdeps/generic/tls.h: Update description.
27065 2014-05-27  Will Newton  <will.newton@linaro.org>
27067         [BZ #16990]
27068         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27069         and restore r2 rather than just restoring.
27071 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27073         [BZ #16724]
27074         * libio/tst-ftell-append.c: New test case.
27075         * libio/Makefile (tests): Add test case.
27076         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27077         append mode.
27078         * libio/wfileops.c (do_ftell_wide): Likewise.
27080 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27084         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27085         ...
27086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27088         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27089         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27090         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27091         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27092         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27093         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27095         Moved ...
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27098         Moved ...
27099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27100         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27101         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27102         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27103         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27104         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27105         ...
27106         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27108         Moved ...
27109         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27110         here.
27111         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27112         ...
27113         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27115         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27117         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27118         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27119         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27120         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27123         merge into ...
27124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27126         ...
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27129         ...
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27132         Moved ...
27133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27134         here.
27135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27136         Moved ...
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27139         Moved ...
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27143         conditional [RESET_PID].
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27146         removed.
27147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27148         removed.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27151         <tcb-offsets.h>.
27152         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27153         (__libc_vfork): New strong alias.
27154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27155         removed.
27156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27157         Removed.
27159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27160         <tcb-offsets.h>.
27161         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27162         (__libc_vfork): New strong alias.
27163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27164         removed.
27165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27166         removed.
27168 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27170         * malloc/malloc.c (mi_arena): New function.
27171         (malloc_info): Remove nested function mi_arena. Call non-nosted
27172         function mi_arena.
27174 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27176         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27177         by insrwi.
27178         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27179         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27180         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27181         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27182         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27183         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27184         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27186 2014-05-26  Andreas Schwab  <schwab@suse.de>
27188         [BZ #16984]
27189         * locale/programs/repertoire.c (repertoire_read): Add slash
27190         between I18NPATH element and file name.
27191         * locale/programs/locfile.c (locfile_read): Likewise.
27193 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27195         * nptl/pthread_mutexattr_settype.c
27196         (__pthread_mutexattr_settype):
27197         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27199 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27201         * nptl/tst-mutex5 (do_test):
27202         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27204 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27206         * benchtests/README: Document 'init' directive.
27207         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27208         BENCH_INIT.
27209         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27210         (parse_file): Recognize 'init' directive.
27212 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27214         [BZ #16796]
27215         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27216         alignment of struct pthread.
27218 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27220         [BZ #16878]
27221         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27222         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27223         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27224         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27226 2014-05-25  Richard Henderson  <rth@twiddle.net>
27228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27229         (SINGLE_THREAD_P_PIC): Remove.
27230         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27231         (SINGLE_THREAD_P_PIC): Remove.
27233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27234         branch to syscall error ...
27235         (PSEUDO): ... here.
27236         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27237         from __local_syscall_error to .Lsyscall_error.
27238         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27239         (SYSCALL_ERROR): Update label name.
27241         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27242         Do not use DOARGS/UNDOARGS.
27243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27244         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27245         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27246         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27247         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27250         block comment.
27252         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27253         define if !NOT_IN_libc.
27254         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27255         define with non-default symbol versions.
27257 2014-05-23  Richard Henderson  <rth@twiddle.net>
27259         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27260         (vfork, __vfork): Define via compat_symbol.
27262         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27263         [!HAVE_IFUNC] (vfork_compat): Remove.
27264         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27266 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27268         [BZ #16978]
27269         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27270         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27271         variable.
27273 2014-05-23  Richard Henderson  <rth@twiddle.net>
27275         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27276         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27277         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27278         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27280         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27281         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27282         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27283         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27285         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27286         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27287         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27288         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27289         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27290         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27291         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27292         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27293         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27294         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27295         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27296         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27297         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27298         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27299         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27300         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27301         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27302         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27303         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27304         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27306         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27307         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27308         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27309         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27310         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27311         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27312         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27313         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27314         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27315         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27316         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27317         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27318         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27319         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27320         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27321         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27322         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27323         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27324         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27325         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27327         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27329         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27331         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27332         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27333         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27334         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27335         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27337         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27338         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27339         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27340         before exiting on error.
27341         (__libc_vfork): New strong alias.
27342         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27343         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27345         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27346         that was previously under [RESET_PID].
27347         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27349         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27351 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27353         [BZ #16977]
27354         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27355         value when x - 1 is zero.
27356         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27357         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27358         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27359         0.0L for an argument of 1.0L.
27360         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27361         Likewise.
27362         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27363         value when x - 1 is zero.
27364         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27365         * sysdeps/i386/fpu/libm-test-ulps: Update.
27366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27368 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27370         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27371         alphasort and versionsort.
27373 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27375         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27376         macro.
27377         [copysignf]: Likewise.
27379 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27381         * crypt/md5-crypt.c: Fix formatting.
27383 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27385         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27386         (b64_from_24bit): New function.
27388 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27390         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27391         libc_hidden_builtin_def to ifunc.
27392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27393         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27395 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27397         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27398         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27400 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27402         * nscd/Depend (linuxthreads): Remove.
27403         (nptl): Add.
27404         * resolv/Depend (linuxthreads): Remove.
27405         * rt/Depend (linuxthreads): Remove.
27407         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27408         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27409         $(common-objpfx)elf/.
27410         (link-libc-before-gnulib): Likewise.
27411         (elfobjdir): Remove variable.
27412         * Makefile (install): Use $(elf-objpfx) instead of
27413         $(common-objpfx)elf/.
27414         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27415         $(elfobjdir)/.
27416         (link-libc-deps): Likewise.
27417         ($(common-objpfx)libc.so): Likewise.
27418         ($(common-objpfx)linkobj/libc.so): Likewise.
27419         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27420         instead of $(common-objpfx)elf/.
27421         (symbolic-link-list): Likewise.
27422         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27423         [$(cross-compiling) = no]: Likewise.
27424         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27425         $(elfobjdir)/.
27426         (static-gnulib-arch): Likewise.
27427         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27428         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27429         $(common-objpfx)elf/.
27431 2014-05-21  Richard Henderson  <rth@redhat.com>
27433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27434         (SINGLE_THREAD_P): Use the correct width load.  Fold
27435         into the ldr offset.
27437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27438         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27440 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27442         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27443         (libgcc_s_resume): Use __attribute_used__.
27444         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27445         Likewise.
27447 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27449         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27450         optimization when used with float constants.
27452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27454 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27456         [BZ #16915]
27457         * locale/nl_langinfo_l.c: Make direct reference to every
27458         _nl_current_CATEGORY symbol.
27459         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27460         (tests-static): Add tst-langinfo-static.
27461         (tests-special): Add tst-langinfo-static.out.
27462         ($(objpfx)tst-langinfo.out): Redirect output.
27463         ($(objpfx)tst-langinfo-static.out): New.
27464         * localedata/tst-langinfo.sh: Send output to stdout.
27465         * localedata/tst-langinfo-static.c: New file.
27467         [BZ #16965]
27468         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27469         when the shift amount is modulo the limb size.
27471 2014-05-20  Richard Henderson  <rth@redhat.com>
27473         [BZ #16967]
27474         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27475         Change type of sa_flags from unsigned int to int.
27477         [BZ #16966]
27478         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27480         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27482 2014-05-20  Will Newton  <will.newton@linaro.org>
27484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27485         Test the return value of the system call in the nocancel case.
27487 2014-05-20  Will Newton  <will.newton@linaro.org>
27488             Yvan Roux  <yvan.roux@linaro.org>
27490         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27491         #include of asm/ptrace.h.
27492         (PTRACE_GET_THREAD_AREA): Remove #undef.
27493         (PTRACE_GETHBPREGS): Likewise.
27494         (PTRACE_SETHBPREGS): Likewise.
27495         (struct user_regs_struct): New structure.
27496         (struct user_fpsimd_struct): New structure.
27497         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27498         #include of asm/ptrace.h and second #include of sys/user.h.
27499         (PTRACE_GET_THREAD_AREA): Remove #undef.
27500         (PTRACE_GETHBPREGS): Likewise.
27501         (PTRACE_SETHBPREGS): Likewise.
27502         (ELF_NGREG): Use new struct user_regs_struct.
27503         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27505 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27507         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27510 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27512         [BZ #16958]
27513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27514         membar to avoid block loads/stores to overlap previous stores.
27516 2014-05-17  Richard Henderson  <rth@redhat.com>
27518         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27519         Create the __##syscall_name##_nocancel entry point.
27520         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27521         Remove; let the sysdep-cancel.h code create it.
27523 2014-05-17  David S. Miller  <davem@davemloft.net>
27525         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27526         Protect with __USE_GNU.
27527         (TIOCSET_TEMPT): Likewise.
27528         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27529         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27530         these are already provided in bits/ioctl-types.h
27532 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27534         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27535         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27537         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27538         Use wait4 regardless of [__NR_waitpid].
27540 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27542         PR libgcc/60166
27543         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27544         (_FP_NANSIGN_Q): Set the quiet bit.
27546 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27548         * benchtests/Makefile
27549         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27550         not $(common-objpfx)math/libm.so.
27551         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27552         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27553         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27554         $(common-objpfx)dlfcn/libdl.so.
27555         ($(objpfx)tst-audit8): Depend on $(libm), not
27556         $(common-objpfx)math/libm.so.
27557         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27558         not $(common-objpfx)dlfcn/libdl.so.
27559         * math/Makefile
27560         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27561         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27562         [$(build-shared) = yes].
27563         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27564         $(common-objpfx)nptl/libpthread.so.
27565         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27566         $(common-objpfx)math/libm.so$(libm.so-version) or
27567         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27568         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27569         $(common-objpfx)dlfcn/libdl.so.
27570         * setjmp/Makefile (link-libm): Remove variable.
27571         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27572         * stdio-common/Makefile (link-libm): Remove variable.
27573         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27574         * stdlib/Makefile (link-libm): Remove variable.
27575         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27576         ($(objpfx)tst-strtod-round): Likewise.
27577         ($(objpfx)tst-tininess): Likewise.
27578         ($(objpfx)tst-strtod-underflow): Likewise.
27579         ($(objpfx)tst-strtod6): Likewise.
27580         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27581         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27582         $(common-objpfx)dlfcn/libdl.so.
27584 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27586         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27587         BSD terminal modes definitions.
27589 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27591         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27592         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27594         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27595         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27596         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27597         Don't do #include_next.
27598         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27599         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27600         Don't do #include_next.
27601         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27602         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27603         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27604         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27606 2014-05-16  Allan McRae  <allan@archlinux.org>
27608         * po/sv.po: Update Swedish translation from translation project.
27610         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27611         in sed expression.
27613 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27615         [BZ #16917]
27616         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27617         errno if the TIOCGPTN ioctl fails with an error different than
27618         EINVAL.
27619         * login/tst-ptsname.c: New file.
27620         * login/Makefile (tests): Add tst-ptsname.
27622         [BZ #16943]
27623         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27624         and prlimit64.
27626 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27628         [BZ #16849]
27629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27630         herrno to return EAI_AGAIN.
27632 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27634         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27635         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27636         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27637         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27638         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27639         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27640         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27641         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27642         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27643         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27644         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27645         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27646         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27647         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27649         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27650         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27651         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27652         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27653         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27654         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27655         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27657         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27658         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27659         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27660         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27661         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27662         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27663         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27665         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27667         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27669         Moved ...
27670         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27672         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27674         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27676         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27678         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27680         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27682         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27684         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27686         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27688         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27690         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27692         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27694         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27696         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27698         Moved ...
27699         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27703         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27705         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27711         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27713         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27715         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27717         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27719         Moved ...
27720         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27722         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27724         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27725         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27726         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27727         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27728         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27729         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27730         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27731         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27732         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27733         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27734         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27735         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27736         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27737         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27738         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27739         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27740         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27741         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27742         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27743         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27744         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27745         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27746         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27748         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27749         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27750         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27751         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27752         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27753         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27754         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27756         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27757         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27759         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27760         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27761         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27762         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27763         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27765         Moved ...
27766         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27768         Moved ...
27769         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27771         Moved ...
27772         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27774         Moved ...
27775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27776         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27777         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27779         Moved ...
27780         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27782         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27784         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27786         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27788         Moved ...
27789         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27791         Moved ...
27792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27793         ... here.
27794         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27795         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27796         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27797         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27798         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27799         Moved ...
27800         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27801         ... here.
27802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27803         Moved ...
27804         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27805         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27806         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27808         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27810         Moved ...
27811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27813         Moved ...
27814         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27816         Moved ...
27817         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27818         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27819         Moved ...
27820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27822         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27824         Moved ...
27825         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27826         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27827         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27828         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27829         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27830         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27831         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27833         Moved ...
27834         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27836         Moved ...
27837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27838         ... here.
27839         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27840         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27841         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27842         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27843         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27844         Moved ...
27845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27846         ... here.
27847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27848         Moved ...
27849         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27850         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27851         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27852         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27853         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27854         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27856         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27857         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27859         Moved ...
27860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27862         Moved ...
27863         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27864         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27865         Moved ...
27866         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27868         Moved ...
27869         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27870         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27871         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27872         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27873         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27875         Moved ...
27876         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27877         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27878         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27879         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27880         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27881         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27882         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27884         Moved ...
27885         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27887         Moved ...
27888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27889         ... here.
27890         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27891         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27892         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27893         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27895         Moved ...
27896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27897         ... here.
27898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27899         Moved ...
27900         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27901         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27902         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27903         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27904         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27905         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27906         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27907         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27908         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27909         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27910         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27912         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27913         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27915         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27916         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27918         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27919         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27920         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27921         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27922         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27923         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27924         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27925         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27926         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27927         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27929         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27931         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27932         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27934         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27936         Moved ...
27937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27941         Moved ...
27942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27946         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27950         Moved ...
27951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27953         Moved ...
27954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27960         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27961         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27962         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27963         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27964         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27965         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27966         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27967         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27968         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27969         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27970         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27972         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27973         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27974         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27975         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27976         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27978         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27979         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27980         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27981         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27982         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27983         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27984         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27985         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27986         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27987         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27992         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27993         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27994         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27995         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27996         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27997         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27998         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27999         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28000         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28001         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28002         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28003         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28004         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28005         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28007         Update #include.
28008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28009         Likewise.
28010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28011         Likewise.
28012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28013         Likewise.
28014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28015         Likewise.
28016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28017         Likewise.
28018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28019         Likewise.
28020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28021         Likewise.
28022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28023         Likewise.
28024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28025         Likewise.
28026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28032         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28034         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28036         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28042         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28043         that was previously under [RESET_PID].
28044         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28045         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28046         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28048         * sysdeps/i386/nptl/Implies: New file.
28049         * sysdeps/x86_64/nptl/Implies: New file.
28050         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28051         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28052         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28053         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28055         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28056         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28057         (__libc_vfork): New strong alias.
28058         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28059         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28061         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28062         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28063         (__libc_vfork): New strong alias.
28064         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28065         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28067         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28068         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28069         (__libc_vfork): New strong alias.
28070         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28071         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28072         * nptl/pt-vfork.c: New file.
28073         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28074         (libpthread: GLIBC_2.20): New version set (empty).
28076 2014-05-14  Will Newton  <will.newton@linaro.org>
28078         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28079         rather than #if.
28081 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28083         [BZ #16564]
28084         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28085         arguments with exponent 65 or above.
28086         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28087         arguments 0x1p113L or above.
28088         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28089         to arguments 0x1p107L or above.
28090         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28091         positive arguments with exponent 65 or above.
28092         * math/auto-libm-test-in: Add more tests of log1p.
28093         * math/auto-libm-test-out: Regenerated.
28095         [BZ #16928]
28096         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28097         non-finite arguments is +0.
28098         * math/s_cacosf.c (__cacosf): Likewise.
28099         * math/s_cacosl.c (__cacosl): Likewise.
28100         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28101         * sysdeps/i386/fpu/libm-test-ulps: Update.
28102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28104         [BZ #16927]
28105         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28106         value.
28107         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28108         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28109         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28110         for explicit high bit of mantissa when testing for argument equal
28111         to 1.
28112         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28113         * sysdeps/i386/fpu/libm-test-ulps: Update.
28114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28116         [BZ #16516]
28117         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28118         (__erf): Scale by 16 instead of 8 in potentially underflowing
28119         case.  Ensure exception if result actually underflows.
28120         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28121         (__erff): Scale by 16 instead of 8 in potentially underflowing
28122         case.  Ensure exception if result actually underflows.
28123         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28124         (efx8): Remove variable.
28125         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28126         case.  Ensure exception if result actually underflows.
28127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28128         (efx8): Remove variable.
28129         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28130         case.  Ensure exception if result actually underflows.
28131         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28132         (efx8): Remove variable.
28133         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28134         case.  Ensure exception if result actually underflows.
28135         * math/auto-libm-test-in: Add more tests of erf.
28136         * math/auto-libm-test-out: Regenerated.
28138 2014-05-14  Andreas Schwab  <schwab@suse.de>
28140         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28141         Remove code conditionalized on USE___THREAD.
28143         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28144         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28145         not definedness.
28147 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28150         Define unconditionally.
28151         (__ASSUME_O_CLOEXEC): Likewise.
28152         (__ASSUME_SOCK_CLOEXEC): Likewise.
28153         (__ASSUME_IN_NONBLOCK): Likewise.
28154         (__ASSUME_PIPE2): Likewise.
28155         (__ASSUME_EVENTFD2): Likewise.
28156         (__ASSUME_SIGNALFD4): Likewise.
28157         (__ASSUME_DUP3): Likewise.
28158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28159         (__ASSUME_DUP3): Do not define.
28160         (__ASSUME_EVENTFD2): Likewise.
28161         (__ASSUME_IN_NONBLOCK): Likewise.
28162         (__ASSUME_O_CLOEXEC): Likewise.
28163         (__ASSUME_PIPE2): Likewise.
28164         (__ASSUME_SIGNALFD4): Likewise.
28165         (__ASSUME_SOCK_CLOEXEC): Likewise.
28166         (__ASSUME_UTIMES): Undefine.
28167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28168         (__ASSUME_UTIMES): Do not define.
28169         (__ASSUME_O_CLOEXEC): Likewise.
28170         (__ASSUME_SOCK_CLOEXEC): Likewise.
28171         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28172         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28173         0x020621].
28174         (__ASSUME_PIPE2): Likewise.
28175         (__ASSUME_EVENTFD2): Likewise.
28176         (__ASSUME_SIGNALFD4): Likewise.
28177         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28178         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28179         Do not define.
28180         (__ASSUME_EVENTFD2): Likewise.
28181         (__ASSUME_SIGNALFD4): Likewise.
28182         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28183         (__ASSUME_32BITUIDS): Likewise.
28184         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28185         (__ASSUME_IPC64): Likewise.
28186         (__ASSUME_ST_INO_64_BIT): Likewise.
28187         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28188         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28189         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28190         (__ASSUME_UTIMES): Do not define.
28191         (__ASSUME_PSELECT): Likewise.
28192         (__ASSUME_PPOLL): Likewise.
28193         (__ASSUME_O_CLOEXEC): Likewise.
28194         (__ASSUME_SOCK_CLOEXEC): Likewise.
28195         (__ASSUME_IN_NONBLOCK): Likewise.
28196         (__ASSUME_PIPE2): Likewise.
28197         (__ASSUME_EVENTFD2): Likewise.
28198         (__ASSUME_SIGNALFD4): Likewise.
28199         (__ASSUME_DUP3): Likewise.
28200         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28201         (__ASSUME_UTIMES): Likewise.
28202         (__ASSUME_O_CLOEXEC): Likewise.
28203         (__ASSUME_SOCK_CLOEXEC): Likewise.
28204         (__ASSUME_IN_NONBLOCK): Likewise.
28205         (__ASSUME_PIPE2): Likewise.
28206         (__ASSUME_EVENTFD2): Likewise.
28207         (__ASSUME_SIGNALFD4): Likewise.
28208         (__ASSUME_DUP3): Likewise.
28209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28210         (__ASSUME_UTIMES): Likewise.
28211         (__ASSUME_O_CLOEXEC): Likewise.
28212         (__ASSUME_SOCK_CLOEXEC): Likewise.
28213         (__ASSUME_IN_NONBLOCK): Likewise.
28214         (__ASSUME_PIPE2): Likewise.
28215         (__ASSUME_EVENTFD2): Likewise.
28216         (__ASSUME_SIGNALFD4): Likewise.
28217         (__ASSUME_DUP3): Likewise.
28218         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28219         Likewise.
28220         (__ASSUME_UTIMES): Likewise.
28221         (__ASSUME_EVENTFD2): Likewise.
28222         (__ASSUME_SIGNALFD4): Likewise.
28223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28224         (__ASSUME_O_CLOEXEC): Likewise.
28225         (__ASSUME_SOCK_CLOEXEC): Likewise.
28226         (__ASSUME_IN_NONBLOCK): Likewise.
28227         (__ASSUME_PIPE2): Likewise.
28228         (__ASSUME_EVENTFD2): Likewise.
28229         (__ASSUME_SIGNALFD4): Likewise.
28230         (__ASSUME_DUP3): Likewise.
28231         (__ASSUME_UTIMES): Undefine.
28233         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28234         feclearexcept.  Remove symbol versioning code.
28235         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28236         symbol versioning code.
28237         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28238         symbol versioning code.
28239         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28240         feupdateenv.  Remove symbol versioning code.
28241         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28242         fegetexceptflag.  Remove symbol versioning code.
28243         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28244         fesetexceptflag.  Remove symbol versioning code.
28245         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28246         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28247         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28248         (__posix_fadvise64_l32): Remove prototype.
28249         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28250         code.
28252 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28254         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28255         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28256         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28257         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28259 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28261         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28262         current working directory
28264 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28266         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28267         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28268         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28269         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28270         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28271         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28272         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28273         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28274         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28275         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28276         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28277         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28278         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28279         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28280         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28281         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28282         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28283         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28284         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28285         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28286         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28287         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28291         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28292         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28293         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28295         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28296         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28297         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28298         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28299         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28300         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28301         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28302         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28303         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28304         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28305         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28306         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28307         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28309         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28310         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28312         * sysdeps/unix/sysv/linux/arm/Makefile
28313         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28314         Add rt-aeabi_unwind_cpp_pr1.
28315         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28316         Add nptl-aeabi_unwind_cpp_pr1.
28317         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28318         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28319         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28320         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28321         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28322         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28324         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28325         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28326         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28327         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28329         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28330         Deconditionalize the code that was previously under [RESET_PID].
28331         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28333         * sysdeps/generic/exit-thread.h: New file.
28334         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28335         * include/unistd.h (__exit_thread): Remove declaration.
28336         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28337         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28338         * csu/libc-start.c: Include <exit-thread.h>.
28339         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28340         * nptl/pthread_create.c: Include <exit-thread.h>.
28341         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28342         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28343         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28344         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28345         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28346         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28347         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28348         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28349         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28350         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28351         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28352         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28353         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28354         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28355         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28356         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28357         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28359 2014-05-13  Andreas Schwab  <schwab@suse.de>
28361         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28363 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28365         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28366         (__ASSUME_UTIMES): Do not condition on kernel version.
28367         (__ASSUME_PSELECT): Define unconditionally.
28368         (__ASSUME_PPOLL): Likewise.
28369         (__ASSUME_ATFCTS): Likewise.
28370         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28371         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28372         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28373         (__ASSUME_UTIMENSAT): Define unconditionally.
28374         (__ASSUME_PRIVATE_FUTEX): Likewise.
28375         (__ASSUME_FALLOCATE): Likewise.
28376         (__ASSUME_O_CLOEXEC): Likewise.
28377         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28378         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28379         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28380         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28381         (__ASSUME_IN_NONBLOCK): Likewise.
28382         (__ASSUME_PIPE2): Likewise.
28383         (__ASSUME_EVENTFD2): Likewise.
28384         (__ASSUME_SIGNALFD4): Likewise.
28385         (__ASSUME_DUP3): Likewise.
28386         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28387         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28388         (__ASSUME_AT_RANDOM): Likewise.
28389         (__ASSUME_PREADV): Likewise.
28390         (__ASSUME_PWRITEV): Likewise.
28391         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28392         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28393         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28394         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28395         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28396         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28397         (__ASSUME_O_CLOEXEC): Define unconditionally.
28398         (__ASSUME_PSELECT): Do not undefine conditionally.
28399         (__ASSUME_PPOLL): Likewise.
28400         (__ASSUME_ATFCTS): Likewise.
28401         (__ASSUME_SET_ROBUST_LIST): Likewise.
28402         (__ASSUME_UTIMENSAT): Likewise.
28403         (__ASSUME_FDATASYNC): Define unconditionally.
28404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28405         (__ASSUME_SIGFRAME_V2): Likewise.
28406         )__ASSUME_EVENTFD2): Likewise.
28407         (__ASSUME_SIGNALFD4): Likewise.
28408         (__ASSUME_PSELECT): Do not undefine conditionally.
28409         (__ASSUME_PPOLL): Likewise.
28410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28411         (__ASSUME_PSELECT): Define unconditionally.
28412         (__ASSUME_PPOLL): Likewise.
28413         (__ASSUME_O_CLOEXEC): Likewise.
28414         (__ASSUME_SOCK_CLOEXEC): Likewise.
28415         (__ASSUME_IN_NONBLOCK): Likewise.
28416         (__ASSUME_PIPE2): Likewise.
28417         (__ASSUME_EVENTFD2): Likewise.
28418         (__ASSUME_SIGNALFD4): Likewise.
28419         (__ASSUME_DUP3): Likewise.
28420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28421         (__ASSUME_O_CLOEXEC): Likewise.
28422         (__ASSUME_SOCK_CLOEXEC): Likewise.
28423         (__ASSUME_IN_NONBLOCK): Likewise.
28424         (__ASSUME_PIPE2): Likewise.
28425         (__ASSUME_EVENTFD2): Likewise.
28426         (__ASSUME_SIGNALFD4): Likewise.
28427         (__ASSUME_DUP3): Likewise.
28428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28429         (__ASSUME_EVENTFD2): Likewise.
28430         (__ASSUME_SIGNALFD4): Likewise.
28431         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28433 2014-05-12  Andreas Schwab  <schwab@suse.de>
28435         [BZ #16932]
28436         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28437         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28438         than maximum RPC packet size.
28439         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28440         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28441         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28442         (_nss_nis_getservbyport_r): Likewise.
28444 2014-05-12  Will Newton  <will.newton@linaro.org>
28446         * malloc/Makefile (tests): Add tst-mallopt.
28447         * malloc/tst-mallopt.c: New file.
28449 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28451         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28452         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28454 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28456         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28457         (tst-tlsmod6.so): Likewise.
28459 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28461         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28463 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28465         [BZ #16064]
28466         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28467         and <dl-procinfo.h>.
28468         (__fegetenv): Save SSE state in envp->__eip if supported.
28469         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28470         envp->__eip if supported.
28471         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28472         and <dl-procinfo.h>.
28473         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28474         __data_offset and __data_selector in environment to 0.  Set SSE
28475         state if supported.
28476         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28477         test-fenv-sse.
28478         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28479         -mfpmath=sse.
28480         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28482 2014-05-09  Will Newton  <will.newton@linaro.org>
28484         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28485         and libc_relro_required for ARM.
28486         * sysdeps/arm/preconfigure: Regenerate.
28488 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28489             Stefan Liebler  <stli@linux.vnet.ibm.com>
28491         * config.make.in (enable-lock-elision): New Makefile variable.
28492         * configure.ac: Likewise.
28493         * configure: Regenerate.
28494         * sysdeps/s390/configure.ac:
28495         Add check for gcc transactions support.
28496         * sysdeps/s390/configure: Regenerate.
28497         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28498         Build elision files if enabled.
28499         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28500         Add lock elision support for s390.
28501         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28502         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28503         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28504         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28505         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28506         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28508         Likewise.
28509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28510         Likewise.
28511         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28512         Likewise.
28513         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28514         Likewise.
28515         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28516         (__lll_timedlock_elision, __lll_lock_elision)
28517         (__lll_unlock_elision, __lll_trylock_elision)
28518         (lll_timedlock_elision, lll_lock_elision)
28519         (lll_unlock_elision, lll_trylock_elision): Add.
28520         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28521         (pthread_mutex_t): Add lock elision support for s390.
28523 2014-05-14  Wilco  <wdijkstr@arm.com>
28525         * sysdeps/arm/fclrexcpt.c: Cleanup.
28526         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28527         * sysdeps/arm/feenablxcpt.c: Cleanup.
28528         * sysdeps/arm/fegetenv.c: Cleanup.
28529         * sysdeps/arm/fegetexcept.c: Cleanup.
28530         * sysdeps/arm/fegetround.c: Cleanup.
28531         * sysdeps/arm/feholdexcpt.c: Cleanup.
28532         * sysdeps/arm/fesetenv.c: Cleanup.
28533         * sysdeps/arm/fesetround.c: Cleanup.
28534         * sysdeps/arm/feupdateenv.c: Cleanup.
28535         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28536         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28537         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28538         * sysdeps/arm/ftestexcept.c: Cleanup.
28539         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28540         * sysdeps/arm/setfpucw.c: Cleanup.
28542 2014-05-09  Will Newton  <will.newton@linaro.org>
28544         * sysdeps/arm/armv7/strcmp.S: New file.
28545         * NEWS: Mention addition of ARMv7 optimized strcmp.
28547 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28549         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28550         look for %.ac rather than %.in.
28552         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28553         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28554         * sysdeps/mach/hurd/configure: Regenerated.
28555         * sysdeps/unix/sysv/linux/configure: Regenerated.
28557         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28559 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28561         [BZ# 16922]
28562         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28563         (LONG_SUB): Ditto.
28564         (PTR_SUB): Ditto.
28566 2014-05-07  Andreas Schwab  <schwab@suse.de>
28568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28569         when skipping over non-matching result from nscd.
28571 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28573         [BZ #16876]
28574         * nptl/sockperf.c (client): Check socket return value.
28576         [BZ #16877]
28577         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28578         nscd security class.
28580 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28582         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28583         * sysdeps/arm/unwind.h: ... here.
28585 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28587         [BZ# 16916]
28588         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28589         Define.
28591 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28593         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28594         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28595         multiarch strncpy for PPC64.
28596         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28597         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28599         multiarch optimizations.
28600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28601         (__libc_ifunc_impl_list): Likewise.
28602         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28604         multiarch stpncpy for PPC64.
28605         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28608 2014-05-06  Andreas Schwab  <schwab@suse.de>
28610         [BZ #16912]
28611         * gmon/mcount.c (_MCOUNT_DECL): Use
28612         atomic_compare_and_exchange_bool_acq instead of
28613         catomic_compare_and_exchange_bool_acq.
28615 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28617         * elf/Makefile (others, install-bin): Remove pldd.
28618         (pldd-modules): Variable removed.
28619         ($(objpfx)pldd): Target removed.
28620         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28621         (others, install-bin): Append pldd here.
28622         ($(objpfx)pldd): New target.
28624         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28625         to 0, so the first #if test emitted later doesn't see it undefined.
28626         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28627         * sysdeps/gnu/errlist.c: Regenerated.
28629 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28631         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28632         [libc_hidden_builtin_def]: Define to empty value.
28633         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28634         [libc_hidden_builtin_def]: Likewise.
28635         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28636         [libc_hidden_builtin_def]: Likewise.
28637         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28638         [libc_hidden_builtin_def]: Likewise.
28639         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28640         __redirect_memcpy and define ifunc as default hidden symbol.
28641         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28642         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28644 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28646         * locale/iso-4217.def: Reintroduce XDR currency.
28648 2014-05-04  Allan McRae  <allan@archlinux.org>
28650         * po/eo.po: Update Esperanto translation from translation project.
28652 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28654         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28655         and FEATURE_INDEX_MAX to 1.
28656         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28658 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28660         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28661         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28662         * iconvdata/big5.c (ONE_DIRECTION): Define.
28663         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28664         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28665         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28666         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28667         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28668         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28669         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28670         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28671         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28672         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28673         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28674         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28675         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28676         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28677         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28678         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28679         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28680         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28681         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28682         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28683         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28684         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28685         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28686         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28687         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28688         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28689         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28690         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28691         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28692         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28693         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28694         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28695         * iconvdata/johab.c (ONE_DIRECTION): Define.
28696         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28697         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28698         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28699         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28700         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28701         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28702         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28703         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28704         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28705         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28707 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28709         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28710         (_IO_JUMPS_OFFSET): Define to 0.
28712         * nptl/sysdeps/pthread/bits/libc-lock.h
28713         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28714         (__libc_lock_define_initialized_recursive): Always define using
28715         initializer.  Modern compilers treat uninitialized (implicit zero) and
28716         explicit zero initializers the same (i.e. put the datum in bss).
28718 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28720         * nscd/nscd-client.h: Include <string.h>.
28722 2014-05-01  David S. Miller  <davem@davemloft.net>
28724         [BZ #16885]
28725         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28726         multiple zero bytes exist at the end of a string.
28727         Reported by Aurelien Jarno <aurelien@aurel32.net>
28729         * string/test-strcmp.c (check): Add explicit test for situations where
28730         there are multiple zero bytes after the first.
28732 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28734         [BZ #16890]
28735         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28736         when compiling wprintf.
28737         * stdio-common/tstdiomisc.c (t3): New function.
28738         (main): Call it.
28740 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28742         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28743         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28744         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28745         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28747 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28749         * stdlib/longlong.h: Updated from GCC.
28751 2014-05-01  Will Newton  <will.newton@linaro.org>
28752             Bernard Ogden  <bernie.ogden@linaro.org>
28754         * NEWS: Update fixed bug list.
28756         [BZ #15119]
28757         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28759 2014-04-30  David S. Miller  <davem@davemloft.net>
28761         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28762         (libc_feholdexcept_setround_sparc_ctx): New function.
28763         (libc_fesetenv_sparc_ctx): Likewise.
28764         (libc_feupdateenv_sparc_ctx): Likewise.
28765         (libc_feholdsetround_sparc_ctx): Likewise.
28766         (libc_feholdexcept_setround_ctx): Define.
28767         (libc_feholdexcept_setroundf_ctx): Likewise.
28768         (libc_feholdexcept_setroundl_ctx): Likewise.
28769         (libc_fesetenv_ctx): Likewise.
28770         (libc_fesetenvf_ctx): Likewise.
28771         (libc_fesetenvl_ctx): Likewise.
28772         (libc_feupdateenv_ctx): Likewise.
28773         (libc_feupdateenvf_ctx): Likewise.
28774         (libc_feupdateenvl_ctx): Likewise.
28775         (libc_feresetround_ctx): Likewise.
28776         (libc_feresetroundf_ctx): Likewise.
28777         (libc_feresetroundl_ctx): Likewise.
28778         (libc_feholdsetround_ctx): Likewise.
28779         (libc_feholdsetroundf_ctx): Likewise.
28780         (libc_feholdsetroundl_ctx): Likewise.
28782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28783         with __USE_GNU instead of XOPEN cpp guards.
28785         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28786         0.
28788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28789         with XOPEN cpp guards.
28791 2014-04-30  Julian Brown  <julian@codesourcery.com>
28793         [BZ #16888]
28794         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28795         handling.
28797 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28799         [BZ #9894]
28800         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28801         Change to 2.6.32.
28802         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28803         * sysdeps/unix/sysv/linux/configure: Regenerated.
28804         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28805         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28806         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28807         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28808         * README: Update reference to required Linux kernel version.
28809         * manual/install.texi (Linux): Update reference to required Linux
28810         kernel headers version.
28811         * INSTALL: Regenerated.
28813         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28814         header inclusion.
28815         [POSIX] (limits.h): Likewise.
28816         [POSIX] (math.h): Likewise.
28817         [POSIX] (sys/wait.h): Likewise.
28818         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28819         function.
28820         [POSIX] (stddef.h): Do not allow header inclusion.
28822 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28824         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28826 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28828         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28829         Return immediately after lll_futex_wake.
28831 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833         [BZ #16791]
28834         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28835         structure.
28836         (datahead_init_pos): Call datahead_init_common early.
28837         (datahead_init_neg): Likewise.
28839         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28840         datahead_init_neg): New functions.
28841         * nscd/aicache.c (addhstaiX): Use them.
28842         * nscd/grpcache.c (cache_addgr): Likewise.
28843         * nscd/hstcache.c (cache_addhst): Likewise.
28844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28845         * nscd/netgroupcache.c (do_notfound): Likewise.
28846         (addgetnetgrentX): Likewise.
28847         (addinnetgrX): Likewise.
28848         * nscd/pwdcache.c (cache_addpw): Likewise.
28849         * nscd/servicescache.c (cache_addserv): Likewise.
28851 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28852             Atsushi Onoe  <atsushi@onoe.org>
28854         [BZ #14308]
28855         [BZ #12994]
28856         [BZ #13651]
28857         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28858         one response is valid.
28859         * resolv/res_send.c (send_dg): Check for validity of other
28860         response if the current response is a referral.
28862 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28864         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28866 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28868         [BZ #16823]
28869         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28870         Always divide by positive zero when computing -Inf result.
28871         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28872         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28874 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28876         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28877         FPSCR if value do not change.
28878         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28879         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28880         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28882         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28883         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28884         function.
28886 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28888         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28889         * sysdeps/unix/sysv/linux/hppa: Move directory from
28890         ports/systeps/unix/sysv/linux/hppa.
28891         * README: Update listing for hppa-*-linux-gnu.
28893 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28895         [BZ #16754]
28896         * manual/stdio.texi (Hook functions): Fix types of stream hook
28897         functions.
28898         [BZ #16854]
28899         * socket/sys/socket.h: Fix typo in comment.
28901 2014-04-28  Wilco  <wdijkstr@arm.com>
28903         * sysdeps/arm/fenv_private.h: New file.
28904         * sysdeps/arm/math_private.h: New file.
28905         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28907 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28909         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28910         with __int128_t.
28911         (La_x86_64_retval): Likewise.
28913 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28915         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28916         fpsr if value didn't change.
28917         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28918         to fpcr if value didn't change.
28919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28920         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28921         fpsr or fpcr if value didn't change.
28922         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28923         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28924         fpcr if value didn't change.
28925         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28926         to fpsr if value didn't change.
28928 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28930         * nptl/tst-sem3.c: Use test-skeleton.c
28931         (main): Rename to do_test.  Use return instead of
28932         exit.
28933         * nptl/tst-sem4.c: Use test-skeleton.c
28934         (main): Rename to do_test.
28936 2014-04-22  David S. Miller  <davem@davemloft.net>
28938         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28939         (struct sigaction): New struct member __glibc_reserved0, change
28940         type of sa_flags to int.
28942 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28944         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28945         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28947 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28949         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28950         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28952 2014-04-22  Will Newton  <will.newton@linaro.org>
28953             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28955         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28956         (__longjmp): Add longjmp and longjmp_target SystemTap
28957         probes.
28958         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28959         (__sigsetjmp): Add setjmp SystemTap probe.
28961 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28963         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28964         match manual order.
28966 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28968         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28970         * sysdeps/powerpc/fpu/fenv_private.h
28971         (libc_feholdexcept_setroundl_ctx): Define to
28972         libc_feholdexcept_setround_ppc_ctx.
28973         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28974         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28975         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28976         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28978 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28980         * sysdeps/aarch64/math-tests.h: New file.
28982 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28984         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28985         New.
28986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28987         Check and set bit_AVX2_Usable.
28988         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28989         macro.
28990         (bit_AVX2): Likewise.
28991         (index_AVX2_Usable): Likewise.
28992         (CPUID_AVX2): Likewise.
28993         (HAS_AVX2): Likewise.
28995 2014-04-17  Will Newton  <will.newton@linaro.org>
28997         * manual/setjmp.texi (System V contexts): Add note that
28998         calling setcontext on a context created by a call to a
28999         signal handler is undefined.  Update text to note that
29000         setcontext from a signal handler is possible but not
29001         recommended.
29003         [BZ #16629]
29004         * stdlib/tst-setcontext.c: Include signal.h.
29005         (main): Check that the signal stack before and
29006         after swapcontext is the same.
29008         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29009         Re-implement to restore registers in user code and avoid
29010         rt_sigreturn system call.
29012 2014-04-17  Wilco  <wdijkstr@arm.com>
29014         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29015         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29016         * math/test-fenv.c: Skip exception trap tests on targets which only
29017         support non-stop mode.
29019 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29020             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29022         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29023         (libc_feholdsetround_aarch64_ctx)
29024         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29025         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29026         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29027         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29028         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29029         (libc_feresetround_noexl_ctx): Define.
29031 2014-04-16  Richard Henderson  <rth@redhat.com>
29033         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29035         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29036         unwind tables.
29038         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29039         const from the non-libc, non-ldso copy.
29041         * sysdeps/alpha/libm-test-ulps: Regenerate.
29043 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29044             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29046         * sysdeps/aarch64/fpu/math_private.h: New file.
29048 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29050         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29052 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29054         [BZ #16275]
29055         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29056         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29057         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29058         Intel MPX bound registers before _dl_profile_fixup.
29059         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29060         registers after _dl_profile_fixup.  Save and restore bound
29061         registers bnd0/bnd1 when calling _dl_call_pltexit.
29062         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29063         (LR_BND_OFFSET): Likewise.
29064         (LRV_BND0_OFFSET): Likewise.
29065         (LRV_BND1_OFFSET): Likewise.
29067 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29069         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29070         to...
29071         * sysdeps/mach/hurd/i386/tls.h: ... here.
29072         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29073         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29074         fields.
29076 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29078         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29080 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29082         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29084 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29086         [BZ #14770]
29087         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29088         * sysdeps/s390/configure: Regenerate.
29090         [BZ #16824]
29091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29092         Set round-to-nearest internally to reduce error accumulation.
29094 2014-04-16  Alan Modra  <amodra@gmail.com>
29096         [BZ #16740]
29097         [BZ #16619]
29098         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29099         * math/libm-test.inc (frexp_test_data): Add tests.
29100         * NEWS: Update fixed bug list.
29102 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29104         * benchtests/Makefile: Depend on libraries in build directory.
29105         (bench-math): Separate out math tests.
29106         (bench-pthread): Separate out pthread tests.
29107         (bench): Include math and pthread tests.
29109 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29111         [BZ #16831]
29112         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29113         _dl_debug_initialize.
29115         * configure.ac: Remove SELinux header check.
29116         * configure: Regenerate.
29117         * nscd/selinux.c (perms): Array of const char* to permission names.
29118         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29119         default policy. Call string_to_security_class and string_to_av_perm to
29120         translate strings. Enforce default policy and call avs_has_perm with
29121         results of translated strings.
29123 2014-04-13  David S. Miller  <davem@davemloft.net>
29125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29127 2014-04-12  Allan McRae  <allan@archlinux.org>
29129         [BZ #16838]
29130         * manual/string.texi (Collation Functions): Fix qsort argument
29131         order in example.
29132         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29134 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29136         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29137         Make the test a no-op if there are no exceptions defined.
29139 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29141         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29142         enable-hardcoded-path-in-tests
29144 2014-04-11  Will Newton  <will.newton@linaro.org>
29146         * benchtests/Makefile (extra-objs): Add json-lib.o.
29147         (bench-func): Tidy up JSON output.
29148         * benchtests/bench-skeleton.c: Include json-lib.h.
29149         (main): Use JSON library functions to do output of
29150         benchmark results.
29151         * benchtests/bench-timing-type.c (main): Output the
29152         timing type simply, leaving formatting to the user.
29153         * benchtests/json-lib.c: New file.
29154         * benchtests/json-lib.h: Likewise.
29156 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29158         [BZ #15215]
29159         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29160         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29161         memory barriers.  Add comments.
29162         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29163         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29164         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29165         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29166         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29167         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29169 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29171         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29172         * sysdeps/s390/s390-64/configure.ac: ... this ...
29173         * sysdeps/s390/configure.ac: ... to here.
29174         * sysdeps/s390/s390-32/configure: Delete file.
29175         * sysdeps/s390/s390-64/configure: Delete file.
29176         * sysdeps/s390/configure: Regenerate.
29178 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29180         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29182 2014-04-11  Will Newton  <will.newton@linaro.org>
29184         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29185         to zero if it is not defined elsewhere.  (mtrim): Test
29186         the value of MALLOC_DEBUG with #if rather than #ifdef.
29188 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29190         * benchtests/pthread_once-inputs: New file.
29191         * benchtests/pthread_once-source.c: New file.
29192         * benchtests/README: Update documentation.
29194 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29195             H.J. Lu  <hongjiu.lu@intel.com>
29197         [BZ #16275]
29198         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29199         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29200         * sysdeps/x86_64/configure: Regenerated.
29201         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29202         macro.
29203         (REGISTER_SAVE_RAX): Likewise.
29204         (REGISTER_SAVE_RCX): Likewise.
29205         (REGISTER_SAVE_RDX): Likewise.
29206         (REGISTER_SAVE_RSI): Likewise.
29207         (REGISTER_SAVE_RDI): Likewise.
29208         (REGISTER_SAVE_R8): Likewise.
29209         (REGISTER_SAVE_R9): Likewise.
29210         (REGISTER_SAVE_BND0): Likewise.
29211         (REGISTER_SAVE_BND1): Likewise.
29212         (REGISTER_SAVE_BND2): Likewise.
29213         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29214         bound registers when calling _dl_fixup.
29216 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29218         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29219         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29220         of its definition.
29221         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29222         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29223         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29224         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29225         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29226         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29227         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29229 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29231         [BZ #15514]
29232         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29233         pathconf(_PC_NAME_MAX).
29235 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29237         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29238         Remove macro usage.
29239         (__PTHREAD_SPINS): Move definition to ...
29240         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29241         (__PTHREAD_SPINS): ... here.
29242         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29243         (__PTHREAD_SPIN): Likewise.
29244         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29245         (__PTHREAD_SPIN): Likewise.
29246         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29247         (__PTHREAD_SPIN): Likewise.
29248         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29249         (__PTHREAD_SPIN): Likewise.
29250         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29251         (__PTHREAD_SPIN): Likewise.
29252         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29253         (__PTHREAD_SPIN): Likewise.
29254         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29255         (__PTHREAD_SPIN): Likewise.
29256         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29257         (__PTHREAD_SPIN): Likewise.
29258         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29259         (__PTHREAD_SPIN): Likewise.
29260         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29261         (__PTHREAD_SPIN): Likewise.
29262         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29263         (__PTHREAD_SPIN): Likewise.
29264         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29265         (__PTHREAD_SPIN): Likewise.
29267         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29268         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29269         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29270         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29271         imply folder.
29272         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29273         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29274         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29275         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29276         correct imply path.
29277         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29278         strlen symbol for non multi-arch builds.
29279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29280         missing hidden_def and weak_alias.
29282 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29284         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29286 2014-04-07  Will Newton  <will.newton@linaro.org>
29288         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29289         and contents.  [!_LIBC] Remove #ifndef and contents.
29290         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29291         * string/memccpy.c (__memccpy): Use ANSI prototype.
29292         * string/memfrob.c (memfrob): Likewise.
29293         * string/strcoll.c (STRCOLL): Likewise.
29294         * string/strlen.c (strlen): Likewise.
29295         * string/strtok.c (STRTOK): Likewise.
29296         * string/strcat.c: Remove unused #include of memcopy.h.
29297         (strcat): Use ANSI prototype.
29298         * string/strchr.c: Remove unused #include of memcopy.h.
29299         (strchr): Use ANSI prototype.
29300         * string/strcmp.c: Remove unused #include of memcopy.h.
29301         (strcmp): Use ANSI prototype.
29302         * string/strcpy.c: Remove unused #include of memcopy.h.
29303         (strcpy): Use ANSI prototype.
29305 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29307         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29308         * config.make.in (config-extra-cppflags): Set it from
29309         libc_extra_cppflags.
29310         * configure.ac (libc_extra_cflags): Make it accumulate over
29311         configure fragments.
29312         (libc_extra_cppflags): New flag.
29313         * configure. Regenerate.
29314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29315         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29316         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29319         [BZ #16815]
29320         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29321         result for FE_DOWNWARD rounding mode.
29322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29323         Likewise.
29324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29326 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29328         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29329         in function argument name.
29331 2014-04-03  David Svoboda  <svoboda@cert.org>
29333         [BZ #5666]
29334         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29335         explicitly.
29337 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29339         * elf/dl-unmap-segments.h: New file.
29340         * sysdeps/generic/ldsodefs.h
29341         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29342         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29343         * elf/dl-fptr.c: Likewise.
29344         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29345         * sysdeps/aarch64/tlsdesc.c: Likewise.
29346         * sysdeps/arm/tlsdesc.c: Likewise.
29347         * sysdeps/i386/tlsdesc.c: Likewise.
29348         * sysdeps/tile/dl-runtime.c: Likewise.
29349         * sysdeps/x86_64/tlsdesc.c: Likewise.
29350         * elf/dl-load.h: New file.
29351         * elf/dl-load.c: Include it.
29352         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29353         Macros moved to dl-load.h.
29354         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29355         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29356         Use _dl_unmap_segments in place of __munmap.
29357         Break out segment-mapping loop into ...
29358         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29360 2014-04-03  Will Newton  <will.newton@linaro.org>
29362         * elf/dl-lookup.c (do_lookup_x): Remove comment
29363         referring to nested function and move variable
29364         declarations down to before first use.
29366 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29368         [BZ #16799]
29369         [BZ #16800]
29370         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29371         with 0 numerator.
29372         * math/s_catanf.c (__catanf): Likewise.
29373         * math/s_catanh.c (__catanh): Likewise.
29374         * math/s_catanhf.c (__catanhf): Likewise.
29375         * math/s_catanhl.c (__catanhl): Likewise.
29376         * math/s_catanl.c (__catanl): Likewise.
29377         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29378         by positive zero when computing -Inf result.
29379         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29380         (catanh_test): Likewise.
29381         * sysdeps/i386/fpu/libm-test-ulps: Update.
29382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29384         [BZ #16789]
29385         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29386         instead of using underflowing value in computing result.
29387         * math/s_clog10.c (__clog10): Likewise.
29388         * math/s_clog10f.c (__clog10f): Likewise.
29389         * math/s_clog10l.c (__clog10l): Likewise.
29390         * math/s_clogf.c (__clogf): Likewise.
29391         * math/s_clogl.c (__clogl): Likewise.
29392         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29393         (clog10_test): Likewise.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397 2014-04-02  Alan Modra  <amodra@gmail.com>
29399         [BZ #16739]
29400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29401         output when value is near a power of two.  Use int64_t for lx and
29402         remove casts.  Use decimal rather than hex exponent constants.
29403         Don't use long double multiplication when double will suffice.
29404         * math/libm-test.inc (nextafter_test_data): Add tests.
29405         * NEWS: Add 16739 and 16786 to bug list.
29407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29409         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29411 2014-04-01  Will Newton  <will.newton@linaro.org>
29413         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29414         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29416 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29418         [BZ #13347]
29419         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29420         * nptl/tst-setuid2.c: New file.
29421         * nptl/Makefile (xtests): Add tst-setuid2.
29423 2014-04-01  Alan Modra  <amodra@gmail.com>
29425         [BZ #16786]
29426         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29428 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29430         [BZ #6803]
29431         [BZ #6804]
29432         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29433         set errno as appropriate.
29434         * math/w_scalbf.c (__scalbf): Likewise.
29435         * math/w_scalbl.c (__scalbl): Likewise.
29436         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29437         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29438         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29439         Add more NaN tests.
29441         [BZ #16349]
29442         * math/w_atan2.c: Include <errno.h>.
29443         (__atan2): Set errno for result underflowing to zero.
29444         * math/w_atan2f.c: Include <errno.h>.
29445         (__atan2f): Set errno for result underflowing to zero.
29446         * math/w_atan2l.c: Include <errno.h>.
29447         (__atan2l): Set errno for result underflowing to zero.
29448         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29449         tests.
29450         * math/auto-libm-test-out: Regenerated.
29452 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29454         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29455         Encode instruction correctly in little endian.
29456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29457         Likewise.
29458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29459         Likewise.
29460         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29461         Likewise.
29462         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29463         Likewise.
29465 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29467         [BZ #9894]
29468         * sysdeps/unix/sysv/linux/kernel-features.h
29469         [__sparc__ && !__arch64__ && !__sparc_v9__]
29470         (__ASSUME_SET_ROBUST_LIST): Do not define.
29471         [__sparc__ && !__arch64__ && !__sparc_v9__]
29472         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29473         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29474         Likewise.
29475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29476         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29477         (__ASSUME_REQUEUE_PI): Likewise.
29478         (__ASSUME_SET_ROBUST_LIST): Likewise.
29479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29480         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29481         Undefine.
29482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29483         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29484         Likewise.
29485         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29486         Likewise.
29487         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29488         Likewise.
29489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29490         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29491         Undefine.
29492         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29493         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29494         Likewise.
29496         [BZ #16648]
29497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29499         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29501 2014-03-31  Will Newton  <will.newton@linaro.org>
29503         * benchtests/Makefile (bench): Add ffs and ffsll to list
29504         of tests.
29505         * benchtests/ffs-inputs: New file.
29506         * benchtests/ffsll-inputs: Likewise.
29508 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29510         [BZ #16770]
29511         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29512         too large before casting to int.
29513         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29514         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29515         * math/libm-test.inc (scalb_test_data): Add more tests.
29517 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29519         * benchtests/Makefile (DETAILED_OPT): New make option.
29520         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29521         set.
29522         * benchtests/bench-skeleton.c: Include stdbool.h.
29523         (main): Store and print timings per input.
29524         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29525         member to each argument value.
29526         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29527         (_print_arg_data): Initialize per-input timing to 0.
29529         * benchtests/Makefile (timing-type): New binary.
29530         (bench-clean): Also remove bench-timing-type.
29531         (bench): New target for timing-type.
29532         (bench-func): Print output in JSON format.
29533         * benchtests/bench-skeleton.c (main): Print output in JSON
29534         format.
29535         * benchtests/bench-timing-type.c: New file.
29536         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29537         (TIMING_PRINT_STATS): Remove.
29538         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29539         name separately.
29541         * benchtests/bench-modf.c: Remove.
29542         * benchtests/modf-inputs: New inputs file.
29544 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29546         [BZ #16362]
29547         * math/s_clog10.c (M_PI_LOG10E): New macro.
29548         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29549         imaginary parts are 0.
29550         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29551         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29552         imaginary parts are 0.
29553         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29554         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29555         imaginary parts are 0.
29556         * math/libm-test.inc (clog10_test_data): Update expected results
29557         for when real and imaginary parts are 0.
29559 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29561         * elf/dl-load.c: Finish conversion of __builtin_expect into
29562         __glibc_{un}likely.
29564 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29566         [BZ #16348]
29567         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29568         1+x for argument with exponent below -67.
29569         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29570         Likewise.
29571         * math/auto-libm-test-in: Add more tests of exp.
29572         * math/auto-libm-test-out: Regenerated.
29574 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29576         [BZ #16759]
29577         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29578         (nscd_getnetgrent): Use it.
29580         [BZ #16760]
29581         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29582         of stpcpy.
29584 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29586         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29587         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29588         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29589         (lll_robust_unlock): Remove out of line section. Use cfi
29590         intrinsics.
29591         (LLL_STUB_UNWIND_INFO*): Remove.
29592         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29593         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29594         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29595         (lll_robust_unlock): Remove out of line section. Use cfi
29596         intrinsics.
29597         (LLL_STUB_UNWIND_INFO*): Remove.
29599 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29601         [BZ #16758]
29602         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29603         blank values.
29605 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29607         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29609 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29611         [BZ #16198]
29612         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29613         fnstenv.
29614         * math/test-fenv-preserve.c: New file.
29615         * math/Makefile (tests): Add test-fenv-preserve.
29617 2014-03-26  Will Newton <will.newton@linaro.org>
29619         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29621 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29623         * scripts/versionlist.awk: Partition the version sets and emit all
29624         GLIBC_* (sorted) before all others (sorted).
29626 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29628         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29629         GLIBC_2.2.5 version.
29631 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29633         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29634         calls.
29636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29637         previous change.
29639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29641 2014-03-25  Andreas Schwab  <schwab@suse.de>
29643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29644         label to be used after in6ailist is initialized.
29646 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29649         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29651 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29653         [BZ #16357]
29654         [BZ #16599]
29655         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29656         min_plus_half.
29657         (fp_formats): Update initializers.
29658         (init_fp_formats): Initialize new field.
29659         (output_for_one_input_case): Allow underflow for results up to
29660         min_plus_half.
29661         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29662         * math/auto-libm-test-in: Don't mark some underflows from asin and
29663         atanh as spurious.
29664         * math/auto-libm-test-out: Regenerated.
29665         * sysdeps/i386/fpu/libm-test-ulps: Update.
29666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29668 2014-03-25  Andreas Schwab  <schwab@suse.de>
29670         * libio/Makefile (tst-ftell-partial-wide-ENV)
29671         (tst-ftell-active-handler-ENV): Define.
29673 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29675         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29677 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29679         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29681 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29683         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29684         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29685         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29687 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29689         [BZ #16634]
29690         * elf/dl-load.c (open_verify): Add mode parameter.
29691         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29692         (open_path): Change from boolean 'secure' to complete flag 'mode'
29693         (_dl_map_object): Adjust.
29694         * elf/Makefile (tests): Add tst-dlopen-aout.
29695         * elf/tst-dlopen-aout.c: New test.
29697 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29699         [BZ #16714]
29700         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29701         (struct stat): Rename member pad0 to __glibc_reserved0.
29703         [BZ #16712]
29704         * sysdeps/s390/s390-32/bits/wordsize.h
29705         (__WORDSIZE32_SIZE_ULONG): New define.
29706         * sysdeps/s390/s390-64/bits/wordsize.h
29707         (__WORDSIZE32_SIZE_ULONG): Likewise.
29708         * sysdeps/generic/stdint.h (SIZE_MAX):
29709         Define as UL if __WORDSIZE32_SIZE_ULONG.
29711         [BZ #16713]
29712         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29713         (__glibc_reserved0): New variable.
29714         (sa_flags): Change type to int.
29716         * posix/Makefile (before-compile): Use += before-compile instead
29717         of a :=.
29719         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29720         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29722 2014-03-20  Andreas Schwab  <schwab@suse.de>
29724         [BZ #16743]
29725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29726         non-matching result from nscd.
29728 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29730         * scripts/bench.py: Moved to ...
29731         * benchtests/scripts/bench.py: ... here.
29732         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29734 2014-03-24  Andreas Schwab  <schwab@suse.de>
29736         [BZ #16002]
29737         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29738         alloca_account and account alloca use for struct in6ailist.
29740 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29742         [BZ #16284]
29743         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29744         rounding mode to recompute results that overflow to infinity or
29745         underflow to zero.
29746         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29747         bug 16284.
29748         * math/auto-libm-test-out: Regenerated.
29749         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29750         (ccosh_test): Likewise.
29751         (csin_test_data): Use plus_oflow.
29752         (csin_test): Use ALL_RM_TEST.
29753         (csinh_test_data): Use plus_oflow.
29754         (csinh_test): Use ALL_RM_TEST.
29755         * sysdeps/i386/fpu/libm-test-ulps: Update.
29756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29758 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29760         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29761         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29762         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29764         [BZ #16731]
29765         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29766         when x - 1 is zero.
29767         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29768         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29769         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29771         argument is 1.
29772         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29773         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29774         zero.
29775         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29776         * sysdeps/i386/fpu/libm-test-ulps: Update.
29777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29779 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29781         * scripts/bench.pl: Remove file.
29782         * scripts/bench.py: New benchmark script.
29783         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29784         * benchtests/README: Mention python dependency.
29785         * scripts/pylintrc: New file.
29786         * scripts/pylint: New file.
29788         * bits/mathdef.h: Use #ifdef instead of #if.
29789         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29790         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29791         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29792         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29793         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29794         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29796 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29797             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29799         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29801         and strpbrk-ppc64 objects.
29802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29803         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29804         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29805         multiarch strpbrk for POWER7.
29806         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29807         multiarch strpbrk for PPC64.
29808         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29809         ifunc selector.
29810         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29811         strpbrk for POWER7.
29813 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29815         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29816         (atan_test): Likewise.
29817         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29818         (atanh_test): Use ALL_RM_TEST.
29819         (atan2_test_data): Likewise.
29820         (cabs_test): Likewise.
29821         (cacosh_test): Likewise.
29822         (carg_test): Likewise.
29823         (casin_test): Likewise.
29824         (casinh_test): Likewise.
29825         (cbrt_test): Likewise.
29826         (csqrt_test): Likewise.
29827         (erf_test): Likewise.
29828         (erfc_test): Likewise.
29829         (pow10_test): Likewise.
29830         (exp2_test): Likewise.
29831         (hypot_test): Likewise.
29832         (j0_test): Likewise.
29833         (j1_test): Likewise.
29834         (lgamma_test): Likewise.
29835         (gamma_test): Likewise.
29836         (sincos_test): Likewise.
29837         (tanh_test): Likewise.
29838         (y0_test): Likewise.
29839         (y1_test): Likewise.
29840         * sysdeps/i386/fpu/libm-test-ulps: Update.
29841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29843 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29845         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29847         and strcspn-ppc64 objects.
29848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29849         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29850         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29851         multiarch strcspn for POWER7.
29852         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29853         multiarch strcspn for PPC64.
29854         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29855         ifunc selector.
29856         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29857         strcspn for POWER7.
29859 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29861         * math/gen-libm-test.pl (generate_testfile): Expect only function
29862         name as argument to AUTO_TESTS_* and pass results for all rounding
29863         modes to parse_args.
29864         (parse_auto_input): Separate inputs of automatic tests from
29865         outputs before storing in %auto_tests.
29866         * math/libm-test.inc (acos_test_data): Update call to
29867         AUTO_TESTS_f_f.
29868         (acos_test): Use ALL_RM_TEST.
29869         (acos_tonearest_test_data): Remove.
29870         (acos_test_tonearest): Likewise.
29871         (acos_towardzero_test_data): Likewise.
29872         (acos_test_towardzero): Likewise.
29873         (acos_downward_test_data): Likewise.
29874         (acos_test_downward): Likewise.
29875         (acos_upward_test_data): Likewise.
29876         (acos_test_upward): Likewise.
29877         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29878         (asin_test_data): Likewise.
29879         (asin_test): Use ALL_RM_TEST.
29880         (asin_tonearest_test_data): Remove.
29881         (asin_test_tonearest): Likewise.
29882         (asin_towardzero_test_data): Likewise.
29883         (asin_test_towardzero): Likewise.
29884         (asin_downward_test_data): Likewise.
29885         (asin_test_downward): Likewise.
29886         (asin_upward_test_data): Likewise.
29887         (asin_test_upward): Likewise.
29888         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29889         (atan_test_data): Likewise.
29890         (atanh_test_data): Likewise.
29891         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29892         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29893         (carg_test_data): Likewise.
29894         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29895         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29896         (ccosh_test_data): Likewise.
29897         (cexp_test_data): Likewise.
29898         (clog_test_data): Likewise.
29899         (clog10_test_data): Likewise.
29900         (cos_test_data): Update call to AUTO_TESTS_f_f.
29901         (cos_test): Use ALL_RM_TEST.
29902         (cos_tonearest_test_data): Remove.
29903         (cos_test_tonearest): Likewise.
29904         (cos_towardzero_test_data): Likewise.
29905         (cos_test_towardzero): Likewise.
29906         (cos_downward_test_data): Likewise.
29907         (cos_test_downward): Likewise.
29908         (cos_upward_test_data): Likewise.
29909         (cos_test_upward): Likewise.
29910         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29911         (cosh_test): Use ALL_RM_TEST.
29912         (cosh_tonearest_test_data): Remove.
29913         (cosh_test_tonearest): Likewise.
29914         (cosh_towardzero_test_data): Likewise.
29915         (cosh_test_towardzero): Likewise.
29916         (cosh_downward_test_data): Likewise.
29917         (cosh_test_downward): Likewise.
29918         (cosh_upward_test_data): Likewise.
29919         (cosh_test_upward): Likewise.
29920         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29921         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29922         (ctan_test_data): Likewise.
29923         (ctan_test): Use ALL_RM_TEST.
29924         (ctan_tonearest_test_data): Remove.
29925         (ctan_test_tonearest): Likewise.
29926         (ctan_towardzero_test_data): Likewise.
29927         (ctan_test_towardzero): Likewise.
29928         (ctan_downward_test_data): Likewise.
29929         (ctan_test_downward): Likewise.
29930         (ctan_upward_test_data): Likewise.
29931         (ctan_test_upward): Likewise.
29932         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29933         (ctanh_test): Use ALL_RM_TEST.
29934         (ctanh_tonearest_test_data): Remove.
29935         (ctanh_test_tonearest): Likewise.
29936         (ctanh_towardzero_test_data): Likewise.
29937         (ctanh_test_towardzero): Likewise.
29938         (ctanh_downward_test_data): Likewise.
29939         (ctanh_test_downward): Likewise.
29940         (ctanh_upward_test_data): Likewise.
29941         (ctanh_test_upward): Likewise.
29942         (erf_test_data): Update call to AUTO_TESTS_f_f.
29943         (erfc_test_data): Likewise.
29944         (exp_test_data): Likewise.
29945         (exp_test): Use ALL_RM_TEST.
29946         (exp_tonearest_test_data): Remove.
29947         (exp_test_tonearest): Likewise.
29948         (exp_towardzero_test_data): Likewise.
29949         (exp_test_towardzero): Likewise.
29950         (exp_downward_test_data): Likewise.
29951         (exp_test_downward): Likewise.
29952         (exp_upward_test_data): Likewise.
29953         (exp_test_upward): Likewise.
29954         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29955         (exp10_test): Use ALL_RM_TEST.
29956         (exp10_tonearest_test_data): Remove.
29957         (exp10_test_tonearest): Likewise.
29958         (exp10_towardzero_test_data): Likewise.
29959         (exp10_test_towardzero): Likewise.
29960         (exp10_downward_test_data): Likewise.
29961         (exp10_test_downward): Likewise.
29962         (exp10_upward_test_data): Likewise.
29963         (exp10_test_upward): Likewise.
29964         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29965         (expm1_test_data): Likewise.
29966         (expm1_test): Use ALL_RM_TEST.
29967         (expm1_tonearest_test_data): Remove.
29968         (expm1_test_tonearest): Likewise.
29969         (expm1_towardzero_test_data): Likewise.
29970         (expm1_test_towardzero): Likewise.
29971         (expm1_downward_test_data): Likewise.
29972         (expm1_test_downward): Likewise.
29973         (expm1_upward_test_data): Likewise.
29974         (expm1_test_upward): Likewise.
29975         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29976         (fma_test): Use ALL_RM_TEST.
29977         (fma_towardzero_test_data): Remove.
29978         (fma_test_towardzero): Likewise.
29979         (fma_downward_test_data): Likewise.
29980         (fma_test_downward): Likewise.
29981         (fma_upward_test_data): Likewise.
29982         (fma_test_upward): Likewise.
29983         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29984         (j0_test_data): Update call to AUTO_TESTS_f_f.
29985         (j1_test_data): Likewise.
29986         (jn_test_data): Update call to AUTO_TESTS_if_f.
29987         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29988         (log_test_data): Update call to AUTO_TESTS_f_f.
29989         (log10_test_data): Likewise.
29990         (log1p_test_data): Likewise.
29991         (log2_test_data): Likewise.
29992         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29993         (pow_tonearest_test_data): Likewise.
29994         (sin_test_data): Update call to AUTO_TESTS_f_f.
29995         (sin_test): Use ALL_RM_TEST.
29996         (sin_tonearest_test_data): Remove.
29997         (sin_test_tonearest): Likewise.
29998         (sin_towardzero_test_data): Likewise.
29999         (sin_test_towardzero): Likewise.
30000         (sin_downward_test_data): Likewise.
30001         (sin_test_downward): Likewise.
30002         (sin_upward_test_data): Likewise.
30003         (sin_test_upward): Likewise.
30004         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30005         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30006         (sinh_test): Use ALL_RM_TEST.
30007         (sinh_tonearest_test_data): Remove.
30008         (sinh_test_tonearest): Likewise.
30009         (sinh_towardzero_test_data): Likewise.
30010         (sinh_test_towardzero): Likewise.
30011         (sinh_downward_test_data): Likewise.
30012         (sinh_test_downward): Likewise.
30013         (sinh_upward_test_data): Likewise.
30014         (sinh_test_upward): Likewise.
30015         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30016         (sqrt_test): Use ALL_RM_TEST.
30017         (sqrt_tonearest_test_data): Remove.
30018         (sqrt_test_tonearest): Likewise.
30019         (sqrt_towardzero_test_data): Likewise.
30020         (sqrt_test_towardzero): Likewise.
30021         (sqrt_downward_test_data): Likewise.
30022         (sqrt_test_downward): Likewise.
30023         (sqrt_upward_test_data): Likewise.
30024         (sqrt_test_upward): Likewise.
30025         (tan_test_data): Update call to AUTO_TESTS_f_f.
30026         (tan_test): Use ALL_RM_TEST.
30027         (tan_tonearest_test_data): Remove.
30028         (tan_test_tonearest): Likewise.
30029         (tan_towardzero_test_data): Likewise.
30030         (tan_test_towardzero): Likewise.
30031         (tan_downward_test_data): Likewise.
30032         (tan_test_downward): Likewise.
30033         (tan_upward_test_data): Likewise.
30034         (tan_test_upward): Likewise.
30035         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30036         (tgamma_test_data): Likewise.
30037         (y0_test_data): Likewise.
30038         (y1_test_data): Likewise.
30039         (yn_test_data): Update call to AUTO_TESTS_if_f.
30040         (main): Do not call removed functions.
30042 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30044         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30045         (ldexp_test_data): Remove.
30046         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30047         scalbn_test_data.
30048         (scalb_test): Use ALL_RM_TEST.
30050 2014-03-19  Andreas Schwab  <schwab@suse.de>
30052         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30054 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30056         [BZ #16649]
30057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30061         (__ASSUME_PREADV): Undefine.
30062         (__ASSUME_PWRITEV): Likewise.
30064 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30066         * bits/mman-linux.h: Add comment about non-Linux use.
30067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30068         bits/mman-linux.h resting place.
30070         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30071         * bits/mman-linux.h: ... here.
30073 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30075         * conform/conformtest.pl: Add standard definition when calling C
30076         preprocessor on data files.
30077         (checknamespace): Remove unused variable.
30079 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30081         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30082         minus_oflow, plus_uflow and minus_uflow in expected results.
30083         * math/libm-test.inc (scalbn_test_data): Add more tests of
30084         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30085         minus_uflow.
30086         (scalbn_test): Use ALL_RM_TEST.
30087         (scalbln_test_data): Add more tests of negative arguments.  Use
30088         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30089         (scalbln_test): Use ALL_RM_TEST.
30091 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30093         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30095 2014-03-18  Will Newton  <will.newton@linaro.org>
30097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30098         inaccurate comment.
30100 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30102         * Makerules [!subdir] (check-abi): Exit with error status if a
30103         test failed.
30105 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30107         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30108         for rint.  Include results for all rounding modes.
30109         (nearbyint_test): Use ALL_RM_TEST.
30110         (rint_test_data): Include all tests used for nearbyint.
30112 2014-03-17  Will Newton  <will.newton@linaro.org>
30114         * nptl/sysdeps/pthread/pthread.h: Revert previous
30115         change.
30117         * sysdeps/generic/ldsodefs.h: Revert previous
30118         change.
30120         * libio/genops.c: Revert previous change.
30121         * libio/libioP.h: Likewise.
30122         * stdio-common/vfprintf.c: Likewise.
30124         * sysdeps/generic/math_private.h: Revert previous
30125         change.
30127         * sysdeps/generic/math_private.h: Check whether
30128         HAVE_RM_CTX is defined with #ifdef rather
30129         than #if.
30131         * argp/argp-fmtstream.h: Check whether
30132         __STRICT_ANSI__ is defined with #ifdef rather
30133         than #if.
30134         * argp/argp.h: Likewise.
30136         * libio/genops.c: Check whether
30137         _IO_JUMPS_OFFSET is defined with #ifdef rather
30138         than #if.
30139         * libio/libioP.h: Likewise.
30140         * stdio-common/vfprintf.c: Likewise.
30142         * sysdeps/generic/ldsodefs.h: Check whether
30143         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30144         than #if.
30146         * nptl/sysdeps/pthread/pthread.h: Check
30147         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30148         its value.
30150 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30152         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30153         setting O_APPEND.
30154         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30155         test case.
30157         [BZ #16680]
30158         * libio/fileops.c (_IO_file_open): Seek to end of file but
30159         don't cache the offset.
30160         (get_file_offset): Remove function.
30161         (do_ftell): Use cached offset when available.
30162         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30163         don't cache the offset.
30164         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30165         case.
30166         (do_one_test): Call it.
30167         (do_ftell_test): Fix up expected old offset for a+ mode.
30168         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30169         available.
30171         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30172         up test status with function return status.
30173         (do_write_test): Likewise.
30174         (do_append_test): Likewise.
30176         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30177         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30178         Remove.
30180 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30182         * math/gen-libm-test.pl (parse_args): Handle results specified for
30183         each rounding mode separately.
30184         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30185         tests and results from lrint_tonearest_test_data,
30186         lrint_towardzero_test_data, lrint_downward_test_data and
30187         lrint_upward_test_data.
30188         (lrint_test): Use ALL_RM_TEST.
30189         (lrint_tonearest_test_data): Remove.
30190         (lrint_test_tonearest): Likewise.
30191         (lrint_towardzero_test_data): Likewise.
30192         (lrint_test_towardzero): Likewise.
30193         (lrint_downward_test_data): Likewise.
30194         (lrint_test_downward): Likewise.
30195         (lrint_upward_test_data): Likewise.
30196         (lrint_test_upward): Likewise.
30197         (llrint_test_data): Merge in per-rounding-mode tests and results
30198         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30199         llrint_downward_test_data and llrint_upward_test_data.
30200         (llrint_test): Use ALL_RM_TEST.
30201         (llrint_tonearest_test_data): Remove.
30202         (llrint_test_tonearest): Likewise.
30203         (llrint_towardzero_test_data): Likewise.
30204         (llrint_test_towardzero): Likewise.
30205         (llrint_downward_test_data): Likewise.
30206         (llrint_test_downward): Likewise.
30207         (llrint_upward_test_data): Likewise.
30208         (llrint_test_upward): Likewise.
30209         (rint_test_data): Merge in per-rounding-mode tests and results
30210         from rint_tonearest_test_data, rint_towardzero_test_data,
30211         rint_downward_test_data and rint_upward_test_data.  Add
30212         per-rounding-mode results for tests not in those arrays.
30213         (rint_test): Use ALL_RM_TEST.
30214         (rint_tonearest_test_data): Remove.
30215         (rint_test_tonearest): Likewise.
30216         (rint_towardzero_test_data): Likewise.
30217         (rint_test_towardzero): Likewise.
30218         (rint_downward_test_data): Likewise.
30219         (rint_test_downward): Likewise.
30220         (rint_upward_test_data): Likewise.
30221         (rint_test_upward): Likewise.
30222         (main): Don't call removed functions.
30224 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30226         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30227         "Compiled on ..." crapola.  It is anti-useful.
30229 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30231         * scripts/evaluate-test.sh: Handle fourth argument to determine
30232         whether test run should stop on failure.
30233         * Makeconfig (stop-on-test-failure): New variable.
30234         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30235         $(stop-on-test-failure).
30236         * Makefile (tests): Give a summary of results from testing and
30237         exit with failure status if they include an ERROR or FAIL.
30238         (xtests): Likewise.
30239         * manual/install.texi (Configuring and compiling): Mention
30240         stop-on-test-failure=y.
30241         * INSTALL: Regenerated.
30243 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30245         * scripts/versionlist.awk: New file.
30246         * Makerules [$(build-shared) = yes]
30247         (postclean-generated): Add Versions.def, not Versions.def.v and
30248         Versions.def.v.i.
30249         ($(common-objpfx)Versions.def.v.i): Target removed.
30250         ($(common-objpfx)Versions.def): New target.
30251         ($(common-objpfx)Versions.all): Depend on that rather that
30252         $(common-objpfx)Versions.def.v.
30253         * Versions.def: File removed.
30255         * Makeconfig (+gccwarn): Add -Wundef.
30256         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30257         a dl-sysdep.h breaking its contract.
30258         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30259         * include/stackinfo.h: New file.
30260         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30261         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30262         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30263         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30264         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30265         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30266         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30267         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30268         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30269         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30270         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30271         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30272         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30273         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30274         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30276 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30278         [BZ #16707]
30279         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30280         implementation.
30281         * math/libm-test.inc (round_test_data): Add more tests.
30283         [BZ #16706]
30284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30285         implementation.
30286         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30288         [BZ #16701]
30289         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30290         implementation.
30291         * math/libm-test.inc (ceil_test_data): Add more tests.
30293         * math/libm-test.inc (trunc_test_data): Add more tests related to
30294         BZ#16414.
30296 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30298         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30299         with #if rather than #ifdef.
30300         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30302 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30304         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30305         first.  Disable AVX-512 GCC support if assembler doesn't support
30306         it.
30307         * sysdeps/x86_64/configure: Regenerated.
30309 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30311         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30312         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30313         (__old_pthread_attr_setstack): Likewise.
30314         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30315         [!_STACK_GROWS_DOWN]: Likewise.
30317 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30319         * config.make.in (have-bash2): Delete.
30320         * configure.ac (libc_cv_have_bash2): Delete.
30321         * configure: Regenerate.
30322         * elf/Makefile (common-ldd-rewrite): Rename to ...
30323         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30324         (sh-ldd-rewrite): Delete.
30325         (bash-ldd-rewrite): Delete.
30326         (have-bash2): Delete checks.
30327         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30328         ldd-rewrite.
30330         * config.make.in (have-ksh): Delete.
30331         (KSH): Delete.
30332         * configure.ac (libc_cv_have_ksh): Delete.
30333         * configure: Regenerate.
30335         * elf/Makefile: Delete $(have-ksh) check.
30336         ($(objpfx)sotruss): Change KSH to BASH.
30337         * elf/sotruss.ksh: Rename to ...
30338         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30339         function style to match POSIX.  Drop ksh vim mode setting.
30341         * manual/time.texi (Specifying the Time Zone with TZ): Change
30342         Tuesday to Thursday.
30344         * debug/tst-longjmp_chk2.c: Update header comment.
30345         (stackoverflow_handler): Add comment.  Call assert on pass value.
30347 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30349         [BZ #16194]
30350         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30351         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30352         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30353         (La_x86_64_vector): Add zmm.
30354         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30355         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30356         ($(objpfx)tst-audit10): New target.
30357         ($(objpfx)tst-audit10.out): Likewise.
30358         (tst-audit10-ENV): New.
30359         (AVX512-CFLAGS): Likewise.
30360         (CFLAGS-tst-audit10.c): Likewise.
30361         (CFLAGS-tst-auditmod10a.c): Likewise.
30362         (CFLAGS-tst-auditmod10b.c): Likewise.
30363         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30364         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30365         * sysdeps/x86_64/configure: Regenerated.
30366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30367         AVX-512 zmm register support.
30368         (_dl_x86_64_save_sse): Likewise.
30369         (_dl_x86_64_restore_sse): Likewise.
30370         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30371         size vector registers.
30372         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30373         (ZMM_SIZE): Likewise.
30374         * sysdeps/x86_64/tst-audit10.c: New file.
30375         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30376         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30378 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30380         * configure.ac (HAVE_EHDR_START): New check.
30381         * configure: Regenerated.
30382         * config.h.in (HAVE_EHDR_START): New #undef.
30383         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30384         assuming the lowest-addressed segment maps the start of the file.
30386 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30388         * INSTALL: Regenerated.
30390 2014-03-13  Will Newton  <will.newton@linaro.org>
30392         * manual/setjmp.texi (System V contexts): Improve
30393         clarity and grammar of documentation.
30395 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30397         [BZ #16381]
30398         * elf/Makefile (tests): Add tst-pie2.
30399         (tests-pie): Add tst-pie2.
30400         * elf/tst-pie2.c: New file.
30401         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30402         for ET_EXEC.
30403         * elf/rtld.c (map_doit): Load executable as lt_executable.
30404         (dl_main): Likewise.
30406 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30408         [BZ #16642]
30409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30410         (__ASSUME_PSELECT): Undefine.
30412 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30414         [BZ #16689]
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30416         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30417         static build.
30418         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30419         selector for static builds.
30421 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30423         [BZ #16695]
30424         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30425         key in the buffer.
30427 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30430         IFUNC selector for static builds.
30432 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30434         * sysdeps/mips/math_private.h [__mips_hard_float]
30435         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30436         libc_feresetround_mips_ctx.
30437         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30438         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30439         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30441         [BZ #16677]
30442         * math/s_nextafter.c (__nextafter): Do not return value from
30443         overflowing computation.
30444         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30445         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30446         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30447         Likewise.
30448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30449         Likewise.
30450         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30451         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30453 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30455         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30456         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30457         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30458         the new mov targetting sp.
30460 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30462         [BZ #16683]
30463         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30464         Define it for static builds as well.
30465         (NO_BZERO_IMPL): Likewise.
30467 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30469         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30471         multiarch strspn for PPC64.
30472         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30473         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30475         (__libc_ifunc_impl_list): Likewise.
30476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30477         multiarch optimizations
30478         * string/strspn.c (strspn): Using macro to redefine symbol name.
30480 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30483         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30484         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30485         multiarch strncat for PPC64.
30486         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30487         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30489         (__libc_ifunc_impl_list): Likewise.
30490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30491         multiarch optimizations
30493 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30495         [BZ #16639]
30496         * nscd/nscd.service: Make service type forking.
30498 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30500         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30501         sign in non default rounding modes.
30502         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30504 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30506         * math/libm-test.inc (ALL_RM_TEST): New macro.
30507         (ceil_test): Use ALL_RM_TEST.
30508         (cimag_test): Likewise.
30509         (conj_test): Likewise.
30510         (copysign_test): Likewise.
30511         (cproj_test): Likewise.
30512         (creal_test): Likewise.
30513         (fabs_test): Likewise.
30514         (floor_test): Likewise.
30515         (fmax_test): Likewise.
30516         (fmin_test): Likewise.
30517         (fmod_test): Likewise.
30518         (fpclassify_test): Likewise.
30519         (frexp_test): Likewise.
30520         (ilogb_test): Likewise.
30521         (isfinite_test): Likewise.
30522         (finite_test): Likewise.
30523         (isgreater_test): Likewise.
30524         (isgreaterequal_test): Likewise.
30525         (isinf_test): Likewise.
30526         (isless_test): Likewise.
30527         (islessequal_test): Likewise.
30528         (islessgreater_test): Likewise.
30529         (isnan_test): Likewise.
30530         (isnormal_test): Likewise.
30531         (issignaling_test): Likewise.
30532         (isunordered_test): Likewise.
30533         (logb_test): Likewise.
30534         (logb_downward_test_data): Remove.
30535         (logb_test_downward): Likewise.
30536         (lround_test): Use ALL_RM_TEST.
30537         (llround_test): Likewise.
30538         (modf_test): Likewise.
30539         (nexttoward_test): Likewise.
30540         (remainder_test): Likewise.
30541         (drem_test): Likewise.
30542         (remainder_tonearest_test_data): Likewise.
30543         (remainder_test_tonearest): Likewise.
30544         (drem_test_tonearest): Likewise.
30545         (remainder_towardzero_test_data): Likewise.
30546         (remainder_test_towardzero): Likewise.
30547         (drem_test_towardzero): Likewise.
30548         (remainder_downward_test_data): Likewise.
30549         (remainder_test_downward): Likewise.
30550         (drem_test_downward): Likewise.
30551         (remainder_upward_test_data): Likewise.
30552         (remainder_test_upward): Likewise.
30553         (drem_test_upward): Likewise.
30554         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30555         (round_test): Use ALL_RM_TEST.
30556         (signbit_test): Likewise.
30557         (trunc_test): Likewise.
30558         (significand_test): Likewise.
30559         (main): Don't call removed functions.
30561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30563         [BZ #16674]
30564         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30565         || __USE_XOPEN2K8].
30566         (ILL_ILLOPN): Likewise.
30567         (ILL_ILLADR): Likewise.
30568         (ILL_ILLTRP): Likewise.
30569         (ILL_PRVOPC): Likewise.
30570         (ILL_PRVREG): Likewise.
30571         (ILL_COPROC): Likewise.
30572         (ILL_BADSTK): Likewise.
30573         (FPE_INTDIV): Likewise.
30574         (FPE_INTOVF): Likewise.
30575         (FPE_FLTDIV): Likewise.
30576         (FPE_FLTOVF): Likewise.
30577         (FPE_FLTUND): Likewise.
30578         (FPE_FLTRES): Likewise.
30579         (FPE_FLTINV): Likewise.
30580         (FPE_FLTSUB): Likewise.
30581         (SEGV_MAPERR): Likewise.
30582         (SEGV_ACCERR): Likewise.
30583         (BUS_ADRALN): Likewise.
30584         (BUS_ADRERR): Likewise.
30585         (BUS_OBJERR): Likewise.
30586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30587         (TRAP_TRACE): Likewise.
30588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30589         __USE_XOPEN2K8].
30590         (CLD_KILLED): Likewise.
30591         (CLD_DUMPED): Likewise.
30592         (CLD_TRAPPED): Likewise.
30593         (CLD_STOPPED): Likewise.
30594         (CLD_CONTINUED): Likewise.
30595         (POLL_IN): Likewise.
30596         (POLL_OUT): Likewise.
30597         (POLL_MSG): Likewise.
30598         (POLL_ERR): Likewise.
30599         (POLL_PRI): Likewise.
30600         (POLL_HUP): Likewise.
30601         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30602         Likewise.
30603         (ILL_ILLOPN): Likewise.
30604         (ILL_ILLADR): Likewise.
30605         (ILL_ILLTRP): Likewise.
30606         (ILL_PRVOPC): Likewise.
30607         (ILL_PRVREG): Likewise.
30608         (ILL_COPROC): Likewise.
30609         (ILL_BADSTK): Likewise.
30610         (FPE_INTDIV): Likewise.
30611         (FPE_INTOVF): Likewise.
30612         (FPE_FLTDIV): Likewise.
30613         (FPE_FLTOVF): Likewise.
30614         (FPE_FLTUND): Likewise.
30615         (FPE_FLTRES): Likewise.
30616         (FPE_FLTINV): Likewise.
30617         (FPE_FLTSUB): Likewise.
30618         (SEGV_MAPERR): Likewise.
30619         (SEGV_ACCERR): Likewise.
30620         (BUS_ADRALN): Likewise.
30621         (BUS_ADRERR): Likewise.
30622         (BUS_OBJERR): Likewise.
30623         (BUS_MCEERR_AR): Likewise.
30624         (BUS_MCEERR_AO): Likewise.
30625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30626         (TRAP_TRACE): Likewise.
30627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30628         __USE_XOPEN2K8].
30629         (CLD_KILLED): Likewise.
30630         (CLD_DUMPED): Likewise.
30631         (CLD_TRAPPED): Likewise.
30632         (CLD_STOPPED): Likewise.
30633         (CLD_CONTINUED): Likewise.
30634         (POLL_IN): Likewise.
30635         (POLL_OUT): Likewise.
30636         (POLL_MSG): Likewise.
30637         (POLL_ERR): Likewise.
30638         (POLL_PRI): Likewise.
30639         (POLL_HUP): Likewise.
30640         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30641         (ILL_ILLOPN): Likewise.
30642         (ILL_ILLADR): Likewise.
30643         (ILL_ILLTRP): Likewise.
30644         (ILL_PRVOPC): Likewise.
30645         (ILL_PRVREG): Likewise.
30646         (ILL_COPROC): Likewise.
30647         (ILL_BADSTK): Likewise.
30648         (FPE_INTDIV): Likewise.
30649         (FPE_INTOVF): Likewise.
30650         (FPE_FLTDIV): Likewise.
30651         (FPE_FLTOVF): Likewise.
30652         (FPE_FLTUND): Likewise.
30653         (FPE_FLTRES): Likewise.
30654         (FPE_FLTINV): Likewise.
30655         (FPE_FLTSUB): Likewise.
30656         (SEGV_MAPERR): Likewise.
30657         (SEGV_ACCERR): Likewise.
30658         (BUS_ADRALN): Likewise.
30659         (BUS_ADRERR): Likewise.
30660         (BUS_OBJERR): Likewise.
30661         (BUS_MCEERR_AR): Likewise.
30662         (BUS_MCEERR_AO): Likewise.
30663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30664         (TRAP_TRACE): Likewise.
30665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30666         __USE_XOPEN2K8].
30667         (CLD_KILLED): Likewise.
30668         (CLD_DUMPED): Likewise.
30669         (CLD_TRAPPED): Likewise.
30670         (CLD_STOPPED): Likewise.
30671         (CLD_CONTINUED): Likewise.
30672         (POLL_IN): Likewise.
30673         (POLL_OUT): Likewise.
30674         (POLL_MSG): Likewise.
30675         (POLL_ERR): Likewise.
30676         (POLL_PRI): Likewise.
30677         (POLL_HUP): Likewise.
30678         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30679         Likewise.
30680         (ILL_ILLOPN): Likewise.
30681         (ILL_ILLADR): Likewise.
30682         (ILL_ILLTRP): Likewise.
30683         (ILL_PRVOPC): Likewise.
30684         (ILL_PRVREG): Likewise.
30685         (ILL_COPROC): Likewise.
30686         (ILL_BADSTK): Likewise.
30687         (ILL_BADIADDR): Likewise.
30688         (ILL_BREAK): Likewise.
30689         (FPE_INTDIV): Likewise.
30690         (FPE_INTOVF): Likewise.
30691         (FPE_FLTDIV): Likewise.
30692         (FPE_FLTOVF): Likewise.
30693         (FPE_FLTUND): Likewise.
30694         (FPE_FLTRES): Likewise.
30695         (FPE_FLTINV): Likewise.
30696         (FPE_FLTSUB): Likewise.
30697         (FPE_DECOVF): Likewise.
30698         (FPE_DECDIV): Likewise.
30699         (FPE_DECERR): Likewise.
30700         (FPE_INVASC): Likewise.
30701         (FPE_INVDEC): Likewise.
30702         (SEGV_MAPERR): Likewise.
30703         (SEGV_ACCERR): Likewise.
30704         (SEGV_PSTKOVF): Likewise.
30705         (BUS_ADRALN): Likewise.
30706         (BUS_ADRERR): Likewise.
30707         (BUS_OBJERR): Likewise.
30708         (BUS_MCEERR_AR): Likewise.
30709         (BUS_MCEERR_AO): Likewise.
30710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30711         (TRAP_TRACE): Likewise.
30712         (TRAP_BRANCH): Likewise.
30713         (TRAP_HWBKPT): Likewise.
30714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30715         __USE_XOPEN2K8].
30716         (CLD_KILLED): Likewise.
30717         (CLD_DUMPED): Likewise.
30718         (CLD_TRAPPED): Likewise.
30719         (CLD_STOPPED): Likewise.
30720         (CLD_CONTINUED): Likewise.
30721         (POLL_IN): Likewise.
30722         (POLL_OUT): Likewise.
30723         (POLL_MSG): Likewise.
30724         (POLL_ERR): Likewise.
30725         (POLL_PRI): Likewise.
30726         (POLL_HUP): Likewise.
30727         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30728         (ILL_ILLOPN): Likewise.
30729         (ILL_ILLADR): Likewise.
30730         (ILL_ILLTRP): Likewise.
30731         (ILL_PRVOPC): Likewise.
30732         (ILL_PRVREG): Likewise.
30733         (ILL_COPROC): Likewise.
30734         (ILL_BADSTK): Likewise.
30735         (FPE_INTDIV): Likewise.
30736         (FPE_INTOVF): Likewise.
30737         (FPE_FLTDIV): Likewise.
30738         (FPE_FLTOVF): Likewise.
30739         (FPE_FLTUND): Likewise.
30740         (FPE_FLTRES): Likewise.
30741         (FPE_FLTINV): Likewise.
30742         (FPE_FLTSUB): Likewise.
30743         (SEGV_MAPERR): Likewise.
30744         (SEGV_ACCERR): Likewise.
30745         (BUS_ADRALN): Likewise.
30746         (BUS_ADRERR): Likewise.
30747         (BUS_OBJERR): Likewise.
30748         (BUS_MCEERR_AR): Likewise.
30749         (BUS_MCEERR_AO): Likewise.
30750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30751         (TRAP_TRACE): Likewise.
30752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30753         __USE_XOPEN2K8].
30754         (CLD_KILLED): Likewise.
30755         (CLD_DUMPED): Likewise.
30756         (CLD_TRAPPED): Likewise.
30757         (CLD_STOPPED): Likewise.
30758         (CLD_CONTINUED): Likewise.
30759         (POLL_IN): Likewise.
30760         (POLL_OUT): Likewise.
30761         (POLL_MSG): Likewise.
30762         (POLL_ERR): Likewise.
30763         (POLL_PRI): Likewise.
30764         (POLL_HUP): Likewise.
30765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30766         (ILL_ILLOPN): Likewise.
30767         (ILL_ILLADR): Likewise.
30768         (ILL_ILLTRP): Likewise.
30769         (ILL_PRVOPC): Likewise.
30770         (ILL_PRVREG): Likewise.
30771         (ILL_COPROC): Likewise.
30772         (ILL_BADSTK): Likewise.
30773         (FPE_INTDIV): Likewise.
30774         (FPE_INTOVF): Likewise.
30775         (FPE_FLTDIV): Likewise.
30776         (FPE_FLTOVF): Likewise.
30777         (FPE_FLTUND): Likewise.
30778         (FPE_FLTRES): Likewise.
30779         (FPE_FLTINV): Likewise.
30780         (FPE_FLTSUB): Likewise.
30781         (SEGV_MAPERR): Likewise.
30782         (SEGV_ACCERR): Likewise.
30783         (BUS_ADRALN): Likewise.
30784         (BUS_ADRERR): Likewise.
30785         (BUS_OBJERR): Likewise.
30786         (BUS_MCEERR_AR): Likewise.
30787         (BUS_MCEERR_AO): Likewise.
30788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30789         (TRAP_TRACE): Likewise.
30790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30791         __USE_XOPEN2K8].
30792         (CLD_KILLED): Likewise.
30793         (CLD_DUMPED): Likewise.
30794         (CLD_TRAPPED): Likewise.
30795         (CLD_STOPPED): Likewise.
30796         (CLD_CONTINUED): Likewise.
30797         (POLL_IN): Likewise.
30798         (POLL_OUT): Likewise.
30799         (POLL_MSG): Likewise.
30800         (POLL_ERR): Likewise.
30801         (POLL_PRI): Likewise.
30802         (POLL_HUP): Likewise.
30803         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30804         (ILL_ILLOPN): Likewise.
30805         (ILL_ILLADR): Likewise.
30806         (ILL_ILLTRP): Likewise.
30807         (ILL_PRVOPC): Likewise.
30808         (ILL_PRVREG): Likewise.
30809         (ILL_COPROC): Likewise.
30810         (ILL_BADSTK): Likewise.
30811         (FPE_INTDIV): Likewise.
30812         (FPE_INTOVF): Likewise.
30813         (FPE_FLTDIV): Likewise.
30814         (FPE_FLTOVF): Likewise.
30815         (FPE_FLTUND): Likewise.
30816         (FPE_FLTRES): Likewise.
30817         (FPE_FLTINV): Likewise.
30818         (FPE_FLTSUB): Likewise.
30819         (SEGV_MAPERR): Likewise.
30820         (SEGV_ACCERR): Likewise.
30821         (BUS_ADRALN): Likewise.
30822         (BUS_ADRERR): Likewise.
30823         (BUS_OBJERR): Likewise.
30824         (BUS_MCEERR_AR): Likewise.
30825         (BUS_MCEERR_AO): Likewise.
30826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30827         (TRAP_TRACE): Likewise.
30828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30829         __USE_XOPEN2K8].
30830         (CLD_KILLED): Likewise.
30831         (CLD_DUMPED): Likewise.
30832         (CLD_TRAPPED): Likewise.
30833         (CLD_STOPPED): Likewise.
30834         (CLD_CONTINUED): Likewise.
30835         (POLL_IN): Likewise.
30836         (POLL_OUT): Likewise.
30837         (POLL_MSG): Likewise.
30838         (POLL_ERR): Likewise.
30839         (POLL_PRI): Likewise.
30840         (POLL_HUP): Likewise.
30841         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30842         (ILL_ILLOPN): Likewise.
30843         (ILL_ILLADR): Likewise.
30844         (ILL_ILLTRP): Likewise.
30845         (ILL_PRVOPC): Likewise.
30846         (ILL_PRVREG): Likewise.
30847         (ILL_COPROC): Likewise.
30848         (ILL_BADSTK): Likewise.
30849         (ILL_DBLFLT): Likewise.
30850         (ILL_HARDWALL): Likewise.
30851         (FPE_INTDIV): Likewise.
30852         (FPE_INTOVF): Likewise.
30853         (FPE_FLTDIV): Likewise.
30854         (FPE_FLTOVF): Likewise.
30855         (FPE_FLTUND): Likewise.
30856         (FPE_FLTRES): Likewise.
30857         (FPE_FLTINV): Likewise.
30858         (FPE_FLTSUB): Likewise.
30859         (SEGV_MAPERR): Likewise.
30860         (SEGV_ACCERR): Likewise.
30861         (BUS_ADRALN): Likewise.
30862         (BUS_ADRERR): Likewise.
30863         (BUS_OBJERR): Likewise.
30864         (BUS_MCEERR_AR): Likewise.
30865         (BUS_MCEERR_AO): Likewise.
30866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30867         (TRAP_TRACE): Likewise.
30868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30869         __USE_XOPEN2K8].
30870         (CLD_KILLED): Likewise.
30871         (CLD_DUMPED): Likewise.
30872         (CLD_TRAPPED): Likewise.
30873         (CLD_STOPPED): Likewise.
30874         (CLD_CONTINUED): Likewise.
30875         (POLL_IN): Likewise.
30876         (POLL_OUT): Likewise.
30877         (POLL_MSG): Likewise.
30878         (POLL_ERR): Likewise.
30879         (POLL_PRI): Likewise.
30880         (POLL_HUP): Likewise.
30881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30882         (ILL_ILLOPN): Likewise.
30883         (ILL_ILLADR): Likewise.
30884         (ILL_ILLTRP): Likewise.
30885         (ILL_PRVOPC): Likewise.
30886         (ILL_PRVREG): Likewise.
30887         (ILL_COPROC): Likewise.
30888         (ILL_BADSTK): Likewise.
30889         (FPE_INTDIV): Likewise.
30890         (FPE_INTOVF): Likewise.
30891         (FPE_FLTDIV): Likewise.
30892         (FPE_FLTOVF): Likewise.
30893         (FPE_FLTUND): Likewise.
30894         (FPE_FLTRES): Likewise.
30895         (FPE_FLTINV): Likewise.
30896         (FPE_FLTSUB): Likewise.
30897         (SEGV_MAPERR): Likewise.
30898         (SEGV_ACCERR): Likewise.
30899         (BUS_ADRALN): Likewise.
30900         (BUS_ADRERR): Likewise.
30901         (BUS_OBJERR): Likewise.
30902         (BUS_MCEERR_AR): Likewise.
30903         (BUS_MCEERR_AO): Likewise.
30904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30905         (TRAP_TRACE): Likewise.
30906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30907         __USE_XOPEN2K8].
30908         (CLD_KILLED): Likewise.
30909         (CLD_DUMPED): Likewise.
30910         (CLD_TRAPPED): Likewise.
30911         (CLD_STOPPED): Likewise.
30912         (CLD_CONTINUED): Likewise.
30913         (POLL_IN): Likewise.
30914         (POLL_OUT): Likewise.
30915         (POLL_MSG): Likewise.
30916         (POLL_ERR): Likewise.
30917         (POLL_PRI): Likewise.
30918         (POLL_HUP): Likewise.
30919         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30920         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30922         [BZ #16670]
30923         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30924         before #include of <time.h>.
30925         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30926         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30927         (test-xfail-UNIX98/sched.h/conform): Likewise.
30929 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30931         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30932         error absence of trapping exception support.
30933         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30935 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30937         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30938         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30939         * timezone/Makefile (testdata): Move definition above include of
30940         Rules.
30941         (test-zones): New variable.
30942         (tests-special): Add zone files.
30943         (build-testdata): Use $(evaluate-test).
30945         * elf/Makefile (tests-special): Rename tests to end with .out.
30946         ($(objpfx)noload-mem): Likewise.
30947         ($(objpfx)tst-leaks1-mem): Likewise.
30948         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30949         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30950         $(objpfx)test-iconvconfig.out.
30951         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30952         set -e inside subshell and redirect output to file.
30953         * iconvdata/Makefile (generated): Rename tests to end with .out.
30954         Correct type.
30955         (tests-special): Rename tests to end with .out.
30956         ($(objpfx)mtrace-tst-loading): Likewise.
30957         * intl/Makefile (generated): Likewise.
30958         (tests-special): Likewise.
30959         ($(objpfx)mtrace-tst-gettext): Likewise.
30960         * misc/Makefile (generated): Likewise.
30961         (tests-special): Likewise.
30962         ($(objpfx)tst-error1-mem): Likewise.
30963         * nptl/Makefile (tests-special): Likewise.
30964         ($(objpfx)tst-stack3-mem): Likewise.
30965         (generated): Likewise.
30966         * posix/Makefile (generated): Likewise.
30967         (tests-special): Likewise.
30968         (xtests-special): Likewise.
30969         ($(objpfx)tst-fnmatch-mem): Likewise.
30970         ($(objpfx)bug-regex2-mem): Likewise.
30971         ($(objpfx)bug-regex14-mem): Likewise.
30972         ($(objpfx)bug-regex21-mem): Likewise.
30973         ($(objpfx)bug-regex31-mem): Likewise.
30974         ($(objpfx)tst-vfork3-mem): Likewise.
30975         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30976         ($(objpfx)tst-pcre-mem): Likewise.
30977         ($(objpfx)tst-boost-mem): Likewise.
30978         ($(objpfx)bug-ga2-mem): Likewise.
30979         ($(objpfx)bug-glob2-mem): Likewise.
30980         * resolv/Makefile (generate): Likewise.
30981         (tests-special): Likewise.
30982         (xtests-special): Likewise.
30983         (generated): Likewise.
30984         ($(objpfx)mtrace-tst-leaks): Likewise.
30985         ($(objpfx)mtrace-tst-leaks2): Likewise.
30987         * scripts/merge-test-results.sh: New file.
30988         * Makefile (tests-special-notdir): New variable.
30989         (tests): Run merge-test-results.sh.
30990         (xtests): Likewise.
30991         * Rules (tests-special-notdir): New variable.
30992         (xtests-special-notdir): Likewise.
30993         (tests): Run merge-test-results.sh
30994         (xtests): Likewise.
30996         * Makeconfig (test-xfail-name): New variable.
30997         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30998         compute variable name for expected failures.
30999         * conform/Makefile (conformtest-headers-data): New variable.
31000         (conformtest-standards): Likewise.
31001         (conformtest-headers-ISO): Likewise.
31002         (conformtest-headers-ISO99): Likewise.
31003         (conformtest-headers-ISO11): Likewise.
31004         (conformtest-headers-POSIX): Likewise.
31005         (conformtest-headers-XPG3): Likewise.
31006         (conformtest-headers-XPG4): Likewise.
31007         (conformtest-headers-UNIX98): Likewise.
31008         (conformtest-headers-XOPEN2K): Likewise.
31009         (conformtest-headers-POSIX2008): Likewise.
31010         (conformtest-headers-XOPEN2K8): Likewise.
31011         (conformtest-header-list-base): Likewise.
31012         (conformtest-header-list-tests): Likewise.
31013         (conformtest-header-base): Likewise.
31014         (conformtest-header-tests): Likewise.
31015         (tests-special): Add $(conformtest-header-list-tests).  If
31016         [$(fast-check) && !$(cross-compiling)], add
31017         $(conformtest-header-tests) instead of
31018         $(objpfx)run-conformtest.out.
31019         (generated): Add $(conformtest-header-list-base).  If
31020         [$(fast-check) && !$(cross-compiling)], add
31021         $(conformtest-header-base).  Remove previous setting.
31022         ($(conformtest-header-list-tests)): New target.
31023         (test-xfail-run-conformtest): Remove variable.
31024         ($(objpfx)run-conformtest.out): Remove target.
31025         (test-xfail-ISO11/complex.h/conform): New variable.
31026         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31027         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31028         (test-xfail-XPG3/varargs.h/conform): Likewise.
31029         (test-xfail-XPG4/varargs.h/conform): Likewise.
31030         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31031         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31032         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31033         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31034         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31035         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31036         (test-xfail-XPG3/ftw.h/conform): Likewise.
31037         (test-xfail-XPG3/grp.h/conform): Likewise.
31038         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31039         (test-xfail-XPG3/limits.h/conform): Likewise.
31040         (test-xfail-XPG3/pwd.h/conform): Likewise.
31041         (test-xfail-XPG3/search.h/conform): Likewise.
31042         (test-xfail-XPG3/signal.h/conform): Likewise.
31043         (test-xfail-XPG3/stdio.h/conform): Likewise.
31044         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31045         (test-xfail-XPG3/string.h/conform): Likewise.
31046         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31047         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31048         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31049         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31050         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31051         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31052         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31053         (test-xfail-XPG3/termios.h/conform): Likewise.
31054         (test-xfail-XPG3/time.h/conform): Likewise.
31055         (test-xfail-XPG3/unistd.h/conform): Likewise.
31056         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31057         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31058         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31059         (test-xfail-XPG4/netdb.h/conform): Likewise.
31060         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31061         (test-xfail-XPG4/signal.h/conform): Likewise.
31062         (test-xfail-XPG4/stdio.h/conform): Likewise.
31063         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31064         (test-xfail-XPG4/stropts.h/conform): Likewise.
31065         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31066         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31067         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31068         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31069         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31070         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31071         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31072         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31073         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31074         (test-xfail-XPG4/termios.h/conform): Likewise.
31075         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31076         (test-xfail-XPG4/unistd.h/conform): Likewise.
31077         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31078         (test-xfail-POSIX/sched.h/conform): Likewise.
31079         (test-xfail-POSIX/signal.h/conform): Likewise.
31080         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31081         (test-xfail-POSIX/tar.h/conform): Likewise.
31082         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31083         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31084         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31085         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31086         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31087         (test-xfail-UNIX98/sched.h/conform): Likewise.
31088         (test-xfail-UNIX98/signal.h/conform): Likewise.
31089         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31090         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31091         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31092         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31093         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31094         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31095         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31096         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31097         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31098         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31099         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31100         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31101         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31102         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31103         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31104         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31105         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31106         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31107         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31108         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31109         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31110         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31111         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31112         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31113         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31114         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31115         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31116         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31117         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31118         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31119         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31120         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31121         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31122         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31123         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31124         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31125         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31126         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31127         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31128         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31129         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31130         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31131         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31132         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31133         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31134         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31135         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31136         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31137         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31138         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31139         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31140         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31141         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31142         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31143         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31144         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31145         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31146         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31147         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31148         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31149         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31150         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31151         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31152         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31153         (conformtest-cc-flags): Likewise.
31154         ($(conformtest-header-tests): New target.
31155         * conform/check-header-lists.sh: New file.
31156         * conform/run-conformtest.sh: Remove.
31158         * conform/conformtest.pl: Allow ' and \ in values given for
31159         constants.
31160         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31161         inclusion.
31162         [POSIX] (sys/types.h): Likewise.
31163         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31164         inclusion.
31165         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31166         inclusion.
31167         * conform/data/signal.h-data (SIGIO): Remove expectation.
31168         [XPG3] (SIGBUS): Do not expect.
31169         [POSIX || XPG3] (SIGPOLL): Likewise.
31170         [POSIX || XPG3] (SIGPROF): Likewise.
31171         [POSIX || XPG3] (SIGSYS): Likewise.
31172         [XPG3] (SIGTRAP): Likewise.
31173         [POSIX || XPG3] (SIGURG): Likewise.
31174         [POSIX || XPG3] (SIGVTALRM): Likewise.
31175         [POSIX || XPG3] (SIGXCPU): Likewise.
31176         [POSIX || XPG3] (SIGXFSZ): Likewise.
31177         [POSIX] (SA_SIGINFO): Expect.
31178         [XPG3] (siginfo_t): Do not expect type or contents.
31179         [POSIX] (si_pid): Do not expect element.
31180         [POSIX] (si_uid): Likewise.
31181         [POSIX] (si_addr): Likewise.
31182         [POSIX] (si_status): Likewise.
31183         [POSIX] (si_band): Likewise.
31184         [XPG4] (si_value): Likewise.
31185         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31186         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31187         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31188         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31189         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31190         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31191         [POSIX || XPG3] (ILL_COPROC): Likewise.
31192         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31193         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31194         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31195         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31196         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31197         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31198         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31199         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31200         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31201         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31202         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31203         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31204         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31205         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31206         [POSIX || XPG3] (CLD_EXITED): Likewise.
31207         [POSIX || XPG3] (CLD_KILLED): Likewise.
31208         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31209         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31210         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31211         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31212         [POSIX || XPG3] (POLL_IN): Likewise.
31213         [POSIX || XPG3] (POLL_OUT): Likewise.
31214         [POSIX || XPG3] (POLL_MSG): Likewise.
31215         [POSIX || XPG3] (POLL_ERR): Likewise.
31216         [POSIX || XPG3] (POLL_PRI): Likewise.
31217         [POSIX || XPG3] (POLL_HUP): Likewise.
31218         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31219         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31220         (SIG*): Do not allow.
31221         [XPG3] (si_*): Likewise.
31222         [XPG3] (SI_*): Likewise.
31223         [XPG3 || XPG4] (sigev_*): Likewise.
31224         [XPG3 || XPG4] (SIGEV_*): Likewise.
31225         [XPG3 || XPG4] (sival_*): Likewise.
31226         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31227         [POSIX || XPG3] (BUS_*): Likewise.
31228         [POSIX || XPG3] (CLD_*): Likewise.
31229         [POSIX || XPG3] (FPE_*): Likewise.
31230         [POSIX || XPG3] (ILL_*): Likewise.
31231         [POSIX || XPG3] (POLL_*): Likewise.
31232         [POSIX || XPG3] (SEGV_*): Likewise.
31233         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31234         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31235         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31236         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31237         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31238         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31239         Specify type and value.
31240         (TVERSLEN): Likewise.
31241         (REGTYPE): Likewise.
31242         (AREGTYPE): Likewise.
31243         (LNKTYPE): Likewise.
31244         (SYMTYPE): Likewise.
31245         (CHRTYPE): Likewise.
31246         (BLKTYPE): Likewise.
31247         (DIRTYPE): Likewise.
31248         (FIFOTYPE): Likewise.
31249         (CONTTYPE): Likewise.
31250         (TSUID): Likewise.
31251         (TSGID): Likewise.
31252         (TSVTX): Likewise.
31253         (TUREAD): Likewise.
31254         (TUWRITE): Likewise.
31255         (TUEXEC): Likewise.
31256         (TGREAD): Likewise.
31257         (TGWRITE): Likewise.
31258         (TGEXEC): Likewise.
31259         (TOREAD): Likewise.
31260         (TOWRITE): Likewise.
31261         (TOEXEC): Likewise.
31262         [POSIX] (TSVTX): Expect constant.
31264 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31266         * Makefile (tests): Change dependencies to ....
31267         (tests-special): ... additions to this variable.
31268         (tests): Depend on $(tests-special).
31269         * Makerules (check-abi-list): New variable.
31270         (check-abi): Depend on $(check-abi-list).
31271         [$(subdir) = elf] (tests-special): Add
31272         $(objpfx)check-abi-libc.out.
31273         [$(build-shared) = yes && subdir] (tests-special): Add
31274         $(check-abi-list).
31275         [$(build-shared) = yes && subdir] (tests): Do not depend on
31276         check-abi.
31277         * Rules (tests): Depend on $(tests-special).
31278         (xtests): Depend on $(xtests-special).
31279         * catgets/Makefile (tests): Change dependencies to ....
31280         (tests-special): ... additions to this variable.
31281         * conform/Makefile (tests): Change dependencies to ....
31282         (tests-special): ... additions to this variable.
31283         * elf/Makefile (tests): Change dependencies to ....
31284         (tests-special): ... additions to this variable.
31285         * grp/Makefile (tests): Change dependencies to ....
31286         (tests-special): ... additions to this variable.
31287         * iconv/Makefile (xtests): Change dependencies to ....
31288         (xtests-special): ... additions to this variable.
31289         * iconvdata/Makefile (tests): Change dependencies to ....
31290         (tests-special): ... additions to this variable.
31291         * intl/Makefile (tests): Change dependencies to ....
31292         (tests-special): ... additions to this variable.  Also add
31293         $(objpfx)tst-gettext.out.
31294         * io/Makefile (tests): Change dependencies to ....
31295         (tests-special): ... additions to this variable.
31296         * libio/Makefile (tests): Change dependencies to ....
31297         (tests-special): ... additions to this variable.
31298         * malloc/Makefile (tests): Change dependencies to ....
31299         (tests-special): ... additions to this variable.
31300         * misc/Makefile (tests): Change dependencies to ....
31301         (tests-special): ... additions to this variable.
31302         * nptl/Makefile (tests): Change dependencies to ....
31303         (tests-special): ... additions to this variable.
31304         * nptl_db/Makefile (tests): Change dependencies to ....
31305         (tests-special): ... additions to this variable.
31306         * posix/Makefile (tests): Change dependencies to ....
31307         (tests-special): ... additions to this variable.
31308         (xtests): Change dependencies to ....
31309         (xtests-special): ... additions to this variable.
31310         * resolv/Makefile (tests): Change dependencies to ....
31311         (tests-special): ... additions to this variable.
31312         (xtests): Change dependencies to ....
31313         (xtests-special): ... additions to this variable.
31314         * stdio-common/Makefile (tests): Change dependencies to ....
31315         (tests-special): ... additions to this variable.
31316         (do-tst-unbputc): Remove target.
31317         (do-tst-printf): Likewise.
31318         * stdlib/Makefile (tests): Change dependencies to ....
31319         (tests-special): ... additions to this variable.
31320         * string/Makefile (tests): Change dependencies to ....
31321         (tests-special): ... additions to this variable.
31322         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31323         (tests-special): ... additions to this variable.
31325         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31326         whole file.
31327         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31328         whole file.
31329         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31330         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31332         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31333         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31334         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31335         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31336         * conform/data/libgen.h-data [XPG3]: Likewise.
31337         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31338         * conform/data/ndbm.h-data [XPG3]: Likewise.
31339         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31340         * conform/data/netdb.h-data [XPG3]: Likewise.
31341         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31342         * conform/data/poll.h-data [XPG3]: Likewise.
31343         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31344         * conform/data/strings.h-data [XPG3]: Likewise.
31345         * conform/data/stropts.h-data [XPG3]: Likewise.
31346         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31347         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31348         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31349         Likewise.
31350         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31351         * conform/data/sys/time.h-data [XPG3]: Likewise.
31352         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31353         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31354         * conform/data/sys/un.h-data [XPG3]: Likewise.
31355         * conform/data/syslog.h-data [XPG3]: Likewise.
31356         * conform/data/ucontext.h-data [XPG3]: Likewise.
31357         * conform/data/utmpx.h-data [XPG3]: Likewise.
31358         * conform/data/varargs.h-data [UNIX98]: Enable file.
31360         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31362         * math/libm-test.inc (struct test_f_f_data): Move expected results
31363         into structure for each rounding mode.
31364         (struct test_ff_f_data): Likewise.
31365         (struct test_ff_f_data_nexttoward): Likewise.
31366         (struct test_fi_f_data): Likewise.
31367         (struct test_fl_f_data): Likewise.
31368         (struct test_if_f_data): Likewise.
31369         (struct test_fff_f_data): Likewise.
31370         (struct test_c_f_data): Likewise.
31371         (struct test_f_f1_data): Likewise.
31372         (struct test_fF_f1_data): Likewise.
31373         (struct test_ffI_f1_data): Likewise.
31374         (struct test_c_c_data): Likewise.
31375         (struct test_cc_c_data): Likewise.
31376         (struct test_f_i_data): Likewise.
31377         (struct test_ff_i_data): Likewise.
31378         (struct test_f_l_data): Likewise.
31379         (struct test_f_L_data): Likewise.
31380         (struct test_fFF_11_data): Likewise.
31381         (RM_): New macro.
31382         (RM_FE_DOWNWARD): Likewise.
31383         (RM_FE_TONEAREST): Likewise.
31384         (RM_FE_TOWARDZERO): Likewise.
31385         (RM_FE_UPWARD): Likewise.
31386         (RUN_TEST_LOOP_f_f): Update references to expected results.
31387         (RUN_TEST_LOOP_2_f): Likewise.
31388         (RUN_TEST_LOOP_fff_f): Likewise.
31389         (RUN_TEST_LOOP_c_f): Likewise.
31390         (RUN_TEST_LOOP_f_f1): Likewise.
31391         (RUN_TEST_LOOP_fF_f1): Likewise.
31392         (RUN_TEST_LOOP_fI_f1): Likewise.
31393         (RUN_TEST_LOOP_ffI_f1): Likewise.
31394         (RUN_TEST_LOOP_c_c): Likewise.
31395         (RUN_TEST_LOOP_cc_c): Likewise.
31396         (RUN_TEST_LOOP_f_i): Likewise.
31397         (RUN_TEST_LOOP_f_i_tg): Likewise.
31398         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31399         (RUN_TEST_LOOP_f_b): Likewise.
31400         (RUN_TEST_LOOP_f_b_tg): Likewise.
31401         (RUN_TEST_LOOP_f_l): Likewise.
31402         (RUN_TEST_LOOP_f_L): Likewise.
31403         (RUN_TEST_LOOP_fFF_11): Likewise.
31404         * math/gen-libm-test.pl (parse_args): Output four copies of
31405         expected results for each test.
31407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31408         (__ASSUME_UTIMES): Remove.
31409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31410         (__ASSUME_UTIMES): Likewise.
31412         * math/gen-auto-libm-tests.c: Update comment on output format.
31413         (output_for_one_input_case): Generate before-rounding and
31414         after-rounding information as conditions on output flags not
31415         floating-point format.
31416         * math/auto-libm-test-out: Regenerated.
31417         * math/gen-libm-test.pl (cond_value): New function.
31418         (or_cond_value): Use cond_value.
31419         (generate_testfile): Handle conditional exceptions.
31421 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31423         * math/libm-test.inc (max_valid_error): New variable.
31424         (init_max_error): Take new argument specifying whether function
31425         results are exactly determined.  Set max_valid_error and bound
31426         other variables for errors based on this argument.
31427         (set_max_error): Do not record results above max_valid_error.
31428         (check_float_internal): Only accept errors of up to 0.5ulps if
31429         also at most max_valid_error.
31430         (START): Take new argument EXACT and pass it to init_max_error.
31431         (acos_test): Update call to START.
31432         (acos_test_tonearest): Likewise.
31433         (acos_test_towardzero): Likewise.
31434         (acos_test_downward): Likewise.
31435         (acos_test_upward): Likewise.
31436         (acosh_test): Likewise.
31437         (asin_test): Likewise.
31438         (asin_test_tonearest): Likewise.
31439         (asin_test_towardzero): Likewise.
31440         (asin_test_downward): Likewise.
31441         (asin_test_upward): Likewise.
31442         (asinh_test): Likewise.
31443         (atan_test): Likewise.
31444         (atanh_test): Likewise.
31445         (atan2_test): Likewise.
31446         (cabs_test): Likewise.
31447         (cacos_test): Likewise.
31448         (cacosh_test): Likewise.
31449         (carg_test): Likewise.
31450         (casin_test): Likewise.
31451         (casinh_test): Likewise.
31452         (catan_test): Likewise.
31453         (catanh_test): Likewise.
31454         (cbrt_test): Likewise.
31455         (ccos_test): Likewise.
31456         (ccosh_test): Likewise.
31457         (ceil_test): Likewise.
31458         (cexp_test): Likewise.
31459         (cimag_test): Likewise.
31460         (clog_test): Likewise.
31461         (clog10_test): Likewise.
31462         (conj_test): Likewise.
31463         (copysign_test): Likewise.
31464         (cos_test): Likewise.
31465         (cos_test_tonearest): Likewise.
31466         (cos_test_towardzero): Likewise.
31467         (cos_test_downward): Likewise.
31468         (cos_test_upward): Likewise.
31469         (cosh_test): Likewise.
31470         (cosh_test_tonearest): Likewise.
31471         (cosh_test_towardzero): Likewise.
31472         (cosh_test_downward): Likewise.
31473         (cosh_test_upward): Likewise.
31474         (cpow_test): Likewise.
31475         (cproj_test): Likewise.
31476         (creal_test): Likewise.
31477         (csin_test): Likewise.
31478         (csinh_test): Likewise.
31479         (csqrt_test): Likewise.
31480         (ctan_test): Likewise.
31481         (ctan_test_tonearest): Likewise.
31482         (ctan_test_towardzero): Likewise.
31483         (ctan_test_downward): Likewise.
31484         (ctan_test_upward): Likewise.
31485         (ctanh_test): Likewise.
31486         (ctanh_test_tonearest): Likewise.
31487         (ctanh_test_towardzero): Likewise.
31488         (ctanh_test_downward): Likewise.
31489         (ctanh_test_upward): Likewise.
31490         (erf_test): Likewise.
31491         (erfc_test): Likewise.
31492         (exp_test): Likewise.
31493         (exp_test_tonearest): Likewise.
31494         (exp_test_towardzero): Likewise.
31495         (exp_test_downward): Likewise.
31496         (exp_test_upward): Likewise.
31497         (exp10_test): Likewise.
31498         (exp10_test_tonearest): Likewise.
31499         (exp10_test_towardzero): Likewise.
31500         (exp10_test_downward): Likewise.
31501         (exp10_test_upward): Likewise.
31502         (pow10_test): Likewise.
31503         (exp2_test): Likewise.
31504         (expm1_test): Likewise.
31505         (expm1_test_tonearest): Likewise.
31506         (expm1_test_towardzero): Likewise.
31507         (expm1_test_downward): Likewise.
31508         (expm1_test_upward): Likewise.
31509         (fabs_test): Likewise.
31510         (fdim_test): Likewise.
31511         (floor_test): Likewise.
31512         (fma_test): Likewise.
31513         (fma_test_towardzero): Likewise.
31514         (fma_test_downward): Likewise.
31515         (fma_test_upward): Likewise.
31516         (fmax_test): Likewise.
31517         (fmin_test): Likewise.
31518         (fmod_test): Likewise.
31519         (fpclassify_test): Likewise.
31520         (frexp_test): Likewise.
31521         (hypot_test): Likewise.
31522         (ilogb_test): Likewise.
31523         (isfinite_test): Likewise.
31524         (finite_test): Likewise.
31525         (isgreater_test): Likewise.
31526         (isgreaterequal_test): Likewise.
31527         (isinf_test): Likewise.
31528         (isless_test): Likewise.
31529         (islessequal_test): Likewise.
31530         (islessgreater_test): Likewise.
31531         (isnan_test): Likewise.
31532         (isnormal_test): Likewise.
31533         (issignaling_test): Likewise.
31534         (isunordered_test): Likewise.
31535         (j0_test): Likewise.
31536         (j1_test): Likewise.
31537         (jn_test): Likewise.
31538         (ldexp_test): Likewise.
31539         (lgamma_test): Likewise.
31540         (gamma_test): Likewise.
31541         (lrint_test): Likewise.
31542         (lrint_test_tonearest): Likewise.
31543         (lrint_test_towardzero): Likewise.
31544         (lrint_test_downward): Likewise.
31545         (lrint_test_upward): Likewise.
31546         (llrint_test): Likewise.
31547         (llrint_test_tonearest): Likewise.
31548         (llrint_test_towardzero): Likewise.
31549         (llrint_test_downward): Likewise.
31550         (llrint_test_upward): Likewise.
31551         (log_test): Likewise.
31552         (log10_test): Likewise.
31553         (log1p_test): Likewise.
31554         (log2_test): Likewise.
31555         (logb_test): Likewise.
31556         (logb_test_downward): Likewise.
31557         (lround_test): Likewise.
31558         (llround_test): Likewise.
31559         (modf_test): Likewise.
31560         (nearbyint_test): Likewise.
31561         (nextafter_test): Likewise.
31562         (nexttoward_test): Likewise.
31563         (pow_test): Likewise.
31564         (pow_test_tonearest): Likewise.
31565         (pow_test_towardzero): Likewise.
31566         (pow_test_downward): Likewise.
31567         (pow_test_upward): Likewise.
31568         (remainder_test): Likewise.
31569         (drem_test): Likewise.
31570         (remainder_test_tonearest): Likewise.
31571         (drem_test_tonearest): Likewise.
31572         (remainder_test_towardzero): Likewise.
31573         (drem_test_towardzero): Likewise.
31574         (remainder_test_downward): Likewise.
31575         (drem_test_downward): Likewise.
31576         (remainder_test_upward): Likewise.
31577         (drem_test_upward): Likewise.
31578         (remquo_test): Likewise.
31579         (rint_test): Likewise.
31580         (rint_test_tonearest): Likewise.
31581         (rint_test_towardzero): Likewise.
31582         (rint_test_downward): Likewise.
31583         (rint_test_upward): Likewise.
31584         (round_test): Likewise.
31585         (scalb_test): Likewise.
31586         (scalbn_test): Likewise.
31587         (scalbln_test): Likewise.
31588         (signbit_test): Likewise.
31589         (sin_test): Likewise.
31590         (sin_test_tonearest): Likewise.
31591         (sin_test_towardzero): Likewise.
31592         (sin_test_downward): Likewise.
31593         (sin_test_upward): Likewise.
31594         (sincos_test): Likewise.
31595         (sinh_test): Likewise.
31596         (sinh_test_tonearest): Likewise.
31597         (sinh_test_towardzero): Likewise.
31598         (sinh_test_downward): Likewise.
31599         (sinh_test_upward): Likewise.
31600         (sqrt_test): Likewise.
31601         (sqrt_test_tonearest): Likewise.
31602         (sqrt_test_towardzero): Likewise.
31603         (sqrt_test_downward): Likewise.
31604         (sqrt_test_upward): Likewise.
31605         (tan_test): Likewise.
31606         (tan_test_tonearest): Likewise.
31607         (tan_test_towardzero): Likewise.
31608         (tan_test_downward): Likewise.
31609         (tan_test_upward): Likewise.
31610         (tanh_test): Likewise.
31611         (tgamma_test): Likewise.
31612         (trunc_test): Likewise.
31613         (y0_test): Likewise.
31614         (y1_test): Likewise.
31615         (yn_test): Likewise.
31616         (significand_test): Likewise.
31618         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31619         individual tests in comment.
31620         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31621         (prev_max_error): New variable.
31622         (prev_real_max_error): Likewise.
31623         (prev_imag_max_error): Likewise.
31624         (compare_ulp_data): Don't refer to test names in comment.
31625         (find_test_ulps): Remove function.
31626         (find_function_ulps): Likewise.
31627         (find_complex_function_ulps): Likewise.
31628         (init_max_error): Take function name as argument.  Look up ulps
31629         for that function.
31630         (print_ulps): Remove function.
31631         (print_max_error): Use prev_max_error instead of calling
31632         find_function_ulps.
31633         (print_complex_max_error): Use prev_real_max_error and
31634         prev_imag_max_error instead of calling find_complex_function_ulps.
31635         (check_float_internal): Take max_ulp parameter instead of calling
31636         find_test_ulps.  Don't call print_ulps.
31637         (check_float): Update call to check_float_internal.
31638         (check_complex): Update calls to check_float_internal.
31639         (START): Pass argument to init_max_error.
31640         * math/gen-libm-test.pl (%results): Don't include "kind"
31641         information.
31642         (parse_ulps): Don't handle ulps of individual tests.
31643         (print_ulps_file): Likewise.
31644         (output_ulps): Likewise.
31645         * math/README.libm-test: Update.
31646         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31647         individual tests.
31648         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31649         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31650         * sysdeps/arm/libm-test-ulps: Likewise.
31651         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31652         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31653         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31654         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31655         * sysdeps/microblaze/libm-test-ulps: Likewise.
31656         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31657         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31659         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31660         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31661         * sysdeps/sh/libm-test-ulps: Likewise.
31662         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31663         * sysdeps/tile/libm-test-ulps: Likewise.
31664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31666 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31668         * math/libm-test.inc (print_complex_max_error): Check separately
31669         whether real and imaginary errors are within allowed range and
31670         pass 0 to print_complex_function_ulps instead of value within
31671         allowed range.
31673 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31676         formatting.
31677         (get_handles_fopen): Likewise.
31678         (do_write_test): Likewise.
31680         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31682         * libio/fileops.c (do_ftell): Use cached offset when
31683         available.
31684         * libio/iofwide.c (do_ftell_wide): Likewise.
31685         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31686         _IO_file_attach.
31687         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31689         [BZ #16532]
31690         * libio/libioP.h (get_file_offset): New function.
31691         * libio/fileops.c (get_file_offset): Likewise.
31692         (do_ftell): Likewise.
31693         (_IO_new_file_seekoff): Split out ftell logic.
31694         * libio/wfileops.c (do_ftell_wide): Likewise.
31695         (_IO_wfile_seekoff): Split out ftell logic.
31696         * libio/tst-ftell-active-handler.c: New test case.
31697         * libio/Makefile (tests): Add it.
31699 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31701         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31702         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31704 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31706         [BZ #16639]
31707         * nscd/connections.c (nscd_init): Call do_exit.
31708         (start_threads): Call do_exit and notify_parent.
31709         (begin_drop_privileges): Call do_exit.
31710         (finish_drop_privileges): Likewise.
31711         * nscd/selinux.c (preserve_capabilities): Likewise.
31712         (install_real_capabilities): Likewise.
31713         (nscd_selinux_enabled): Likewise.
31714         (avc_create_thread): Likewise.
31715         (avc_alloc_lock): Likewise.
31716         (nscd_avc_init): Likewise.
31717         * nscd/nscd.c (parent_fd): New static variable.
31718         (main): Create a pipe between parent and child processes.
31719         Skip closing parent_fd.
31720         (monitor_child): New function.
31721         (do_exit): Likewise.
31722         (notify_parent): Likewise.
31723         * nscd/nscd.h (notify_parent): Likewise.
31724         (do_exit): Likewise.
31726 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31728         * malloc/malloc.c (__libc_calloc): Revert last change.
31730 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31734 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31736         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31738         implementation.
31739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31740         (__libc_ifunc_impl_list): Likewise.
31741         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31742         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31743         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31744         * string/strrchr.c: Define STRRCHR.
31746 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31748         * benchtest/bench-strtok.c (simple_strtok): Delete.
31749         (strtok_string): Use as benchmark.
31750         * string/strtok (STRTOK): New macro.
31752 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31754         * manual/threads.texi: Add header and standard comments to all
31755         functions.
31757         * elf/dl-lookup.c (check_match): New function.
31758         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31759         (do_lookup_x): Remove nested function check_match. Use non-nested
31760         function check_match.
31762 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31764         * csu/Makefile (generated, before-compile): Use += rather than =.
31765         * catgets/Makefile (generated, generated-dirs): Likewise.
31766         * debug/Makefile (generated): Likewise.
31767         * dlfcn/Makefile (generated): Likewise.
31768         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31769         * iconvdata/Makefile (before-compile, generated): Likewise.
31770         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31771         * libio/Makefile (generated): Likewise.
31772         * malloc/Makefile (generated): Likewise.
31773         * manual/Makefile (generated, generated-dirs): Likewise.
31774         * misc/Makefile (generated): Likewise.
31775         * posix/Makefile (generated): Likewise.
31776         * resolv/Makefile (generated): Likewise.
31777         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31778         * timezone/Makefile (generated, generated-dirs): Likewise.
31780         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31782 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31785         power8 implementation.
31786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31787         file: POWER8 llround ifunc implementation.
31788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31789         (__lllround): Add POWER8 implementation.
31790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31791         POWER8 llround implementation.
31793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31794         power8 implementation.
31795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31796         file: POWER8 llrint ifunc implementation.
31797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31798         Add POWER8 implementation.
31799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31800         POWER8 llrint implementation.
31802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31803         power8 implementation.
31804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31805         file: POWER8 finite ifunc implementation.
31806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31807         Add POWER8 implementation.
31808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31809         Likewise.
31810         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31811         POWER8 finite implementation.
31812         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31815         power8 implementation.
31816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31817         file: POWER8 isinf ifunc implementation.
31818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31819         POWER8 implementation.
31820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31821         Likewise.
31822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31823         isinf implementation.
31824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31826         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31827         (INIT_ARCH): Add hwcap2 initialization.
31828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31829         power8 implementation.
31830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31831         file: POWER8 isnan ifunc implementation.
31832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31833         POWER8 implementation.
31834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31835         Likewise.
31836         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31837         isnan implementation.
31838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31840 2014-02-27  Joey Ye  <joey.ye@arm.com>
31842         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31843         (_FP_NANFRAC_Q): Set to zero.
31845 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31847         [BZ #16623]
31848         * math/auto-libm-test-in: New test inputs.
31849         * math/auto-libm-test-out: Regenerate.
31850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31851         and DA.
31852         (__cos): Likewise.
31853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31855 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31857         * scripts/evaluate-test.sh: Take new argument indicating whether
31858         failure is expected.
31859         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31860         indicating whether failure is expected.
31861         * conform/Makefile (test-xfail-run-conformtest): New variable.
31862         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31863         level.
31864         * posix/Makefile (test-xfail-annexc): New variable.
31865         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31867 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31869         * argp/Makefile: Include Makeconfig immediately after defining
31870         subdir.
31871         * assert/Makefile: Likewise.
31872         * benchtests/Makefile: Likewise.
31873         * catgets/Makefile: Likewise.
31874         * conform/Makefile: Likewise.
31875         * crypt/Makefile: Likewise.
31876         * csu/Makefile: Likewise.
31877         (all): Remove target.
31878         * ctype/Makefile: Include Makeconfig immediately after defining
31879         subdir.
31880         * debug/Makefile: Likewise.
31881         * dirent/Makefile: Likewise.
31882         * dlfcn/Makefile: Likewise.
31883         * gmon/Makefile: Likewise.
31884         * gnulib/Makefile: Likewise.
31885         * grp/Makefile: Likewise.
31886         * gshadow/Makefile: Likewise.
31887         * hesiod/Makefile: Likewise.
31888         * hurd/Makefile: Likewise.
31889         (all): Remove target.
31890         * iconvdata/Makefile: Include Makeconfig immediately after
31891         defining subdir.
31892         * inet/Makefile: Likewise.
31893         * intl/Makefile: Likewise.
31894         * io/Makefile: Likewise.
31895         * libio/Makefile: Likewise.
31896         (all): Remove target.
31897         * locale/Makefile: Include Makeconfig immediately after defining
31898         subdir.
31899         * login/Makefile: Likewise.
31900         * mach/Makefile: Likewise.
31901         (all): Remove target.
31902         * malloc/Makefile: Include Makeconfig immediately after defining
31903         subdir.
31904         (all): Remove target.
31905         * manual/Makefile: Include Makeconfig immediately after defining
31906         subdir.
31907         * math/Makefile: Likewise.
31908         * misc/Makefile: Likewise.
31909         * nis/Makefile: Likewise.
31910         * nss/Makefile: Likewise.
31911         * po/Makefile: Likewise.
31912         (all): Remove target.
31913         * posix/Makefile: Include Makeconfig immediately after defining
31914         subdir.
31915         * pwd/Makefile: Likewise.
31916         * resolv/Makefile: Likewise.
31917         * resource/Makefile: Likewise.
31918         * rt/Makefile: Likewise.
31919         * setjmp/Makefile: Likewise.
31920         * shadow/Makefile: Likewise.
31921         * signal/Makefile: Likewise.
31922         * socket/Makefile: Likewise.
31923         * soft-fp/Makefile: Likewise.
31924         * stdio-common/Makefile: Likewise.
31925         * stdlib/Makefile: Likewise.
31926         * streams/Makefile: Likewise.
31927         * string/Makefile: Likewise.
31928         * sunrpc/Makefile: Likewise.
31929         (all): Remove target.
31930         * sysvipc/Makefile: Include Makeconfig immediately after defining
31931         subdir.
31932         * termios/Makefile: Likewise.
31933         * time/Makefile: Likewise.
31934         * timezone/Makefile: Likewise.
31935         (all): Remove target.
31936         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31937         subdir.
31938         * wctype/Makefile: Likewise.
31940 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31942         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31943         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31944         (libc_feholdexcept_setround_mips): Ditto.
31945         (libc_feholdsetround): New.
31946         (libc_feholdsetroundf): New.
31947         (libc_feholdsetroundl): New.
31948         (libc_feupdateenv_test_mips): New.
31949         (libc_feupdateenv_test): New.
31950         (libc_feupdateenv_testf): New.
31951         (libc_feupdateenv_testl): New.
31952         (libc_feresetround): New.
31953         (libc_feresetroundf): New.
31954         (libc_feresetroundl): New.
31955         (libc_fetestexcept_mips): New.
31956         (libc_fetestexcept): New.
31957         (libc_fetestexceptf): New.
31958         (libc_fetestexceptl): New.
31959         (HAVE_RM_CTX): New.
31960         (libc_feholdexcept_setround_mips_ctx): New.
31961         (libc_feholdexcept_setround_ctx): New.
31962         (libc_feholdexcept_setroundf_ctx): New.
31963         (libc_feholdexcept_setroundl_ctx): New.
31964         (libc_fesetenv_mips_ctx): New.
31965         (libc_fesetenv_ctx): New.
31966         (libc_fesetenv_ctxf): New.
31967         (libc_fesetenv_ctxl): New.
31968         (libc_feupdateenv_mips_ctx): New.
31969         (libc_feupdateenv_ctx): New.
31970         (libc_feupdateenvf_ctx): New.
31971         (libc_feupdateenvl_ctx): New.
31972         (libc_feholdsetround_mips_ctx): New.
31973         (libc_feholdsetround_ctx): New.
31974         (libc_feholdsetroundf_ctx): New.
31975         (libc_feholdsetroundl_ctx): New.
31976         (libc_feresetround_mips_ctx): New.
31977         (libc_feresetround_ctx): New.
31978         (libc_feresetroundf_ctx): New.
31979         (libc_feresetroundl_ctx): New.
31981 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31983         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31985         * manual/ipc.texi: New file.
31986         * manual/Makefile (chapters): Add ipc.
31987         * manual/job.texi: Add "Inter-Process Communication" to next.
31988         * manual/process.texi: Add "Inter-Process Communication" to prev.
31990 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31994 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31996         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31998         * manual/arith.texi: Fix spaces after sentences.
31999         * manual/charset.texi: Likewise.
32000         * manual/errno.texi: Likewise.
32001         * manual/install.texi: Likewise.
32002         * manual/llio.texi: Likewise.
32003         * manual/locale.texi: Likewise.
32004         * manual/maint.texi: Likewise.
32005         * manual/math.texi: Likewise.
32006         * manual/memory.texi: Likewise.
32007         * manual/message.texi: Likewise.
32008         * manual/probes.texi: Likewise.
32009         * manual/resource.texi: Likewise.
32010         * manual/signal.texi: Likewise.
32011         * manual/socket.texi: Likewise.
32012         * manual/stdio.texi: Likewise.
32013         * manual/string.texi: Likewise.
32014         * manual/time.texi: Likewise.
32015         * manual/users.texi: Likewise.
32017 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32019         [BZ #16632]
32020         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32021         _DEFAULT_SOURCE is defined.
32023 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32024             Carlos O'Donell  <carlos@redhat.com>
32026         [BZ #16613]
32027         * elf/dl-tls.c (_dl_count_modids): New function.
32028         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32029         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32030         audit library and increment generation counter.
32031         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32032         * elf/tst-audit9.c: New file.
32033         * elf/tst-auditmod9a.c: New file.
32034         * elf/tst-auditmod9b.c: New file.
32035         * elf/Makefile: Add rules to build and run tst-audit9.
32037 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32039         [BZ #15347]
32040         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32042 2014-02-25  Will Newton  <will.newton@linaro.org>
32044         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32045         (__longjmp): Restore sp and lr before restoring callee
32046         saved registers.  Add longjmp and longjmp_target
32047         SystemTap probe point.
32048         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32049         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32050         Define to zero to match jmpbuf layout.
32051         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32052         (__sigsetjmp): Save sp and lr before saving callee
32053         saved registers.  Add setjmp SystemTap probe point.
32055 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32057         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32059 2014-02-24  Andreas Schwab  <schwab@suse.de>
32061         [BZ #15804]
32062         * elf/pldd.c (wait_for_ptrace_stop): New function.
32063         (main): Call it after attaching.
32065 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32067         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32068         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32069         Versions files is now verboten.
32070         * hurd/Versions (libc: GLIBC_2.0):
32071         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32072         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32073         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32074         * mach/Versions: Likewise.
32076         * csu/Versions: Remove unused %include.
32077         * resolv/Versions: Likewise.
32079 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32081         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32082         ($(objpfx)check-local-headers.out): Likewise.
32083         ($(objpfx)begin-end-check.out): Likewise.
32084         * Makerules (check-abi-%.out): Likewise.
32085         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32086         ($(objpfx)test2.cat): Likewise.
32087         ($(objpfx)de/libc.cat): Likewise.
32088         ($(objpfx)test-gencat.out): Likewise.
32089         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32090         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32091         ($(objpfx)noload-mem): Likewise.
32092         ($(objpfx)tst-pathopt.out): Likewise.
32093         ($(objpfx)tst-rtld-load-self.out): Likewise.
32094         ($(objpfx)tst-array1-cmp.out): Likewise.
32095         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32096         ($(objpfx)tst-array2-cmp.out): Likewise.
32097         ($(objpfx)tst-array3-cmp.out): Likewise.
32098         ($(objpfx)tst-array4-cmp.out): Likewise.
32099         ($(objpfx)tst-array5-cmp.out): Likewise.
32100         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32101         ($(objpfx)check-textrel.out): Likewise.
32102         ($(objpfx)check-execstack.out): Likewise.
32103         ($(objpfx)check-localplt.out): Likewise.
32104         ($(objpfx)order2-cmp.out): Likewise.
32105         ($(objpfx)tst-leaks1-mem): Likewise.
32106         ($(objpfx)tst-leaks1-static-mem): Likewise.
32107         ($(objpfx)tst-initorder-cmp.out): Likewise.
32108         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32109         ($(objpfx)tst-unused-dep.out): Likewise.
32110         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32111         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32112         * iconv/Makefile (test-iconvconfig): Likewise.
32113         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32114         ($(objpfx)iconv-test.out): Likewise.
32115         ($(objpfx)tst-tables.out): Likewise.
32116         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32117         ($(objpfx)tst-gettext.out): Likewise.
32118         ($(objpfx)tst-translit.out): Likewise.
32119         ($(objpfx)tst-gettext2.out): Likewise.
32120         ($(objpfx)tst-gettext4.out): Likewise.
32121         ($(objpfx)tst-gettext6.out): Likewise.
32122         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32123         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32124         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32125         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32126         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32127         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32128         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32129         ($(objpfx)wordexp-tst.out): Likewise.
32130         ($(objpfx)annexc.out): Likewise.
32131         ($(objpfx)tst-fnmatch-mem): Likewise.
32132         ($(objpfx)bug-regex2-mem): Likewise.
32133         ($(objpfx)bug-regex14-mem): Likewise.
32134         ($(objpfx)bug-regex21-mem): Likewise.
32135         ($(objpfx)bug-regex31-mem): Likewise.
32136         ($(objpfx)tst-vfork3-mem): Likewise.
32137         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32138         ($(objpfx)tst-pcre-mem): Likewise.
32139         ($(objpfx)tst-boost-mem): Likewise.
32140         ($(objpfx)tst-getconf.out): Likewise.
32141         ($(objpfx)bug-ga2-mem): Likewise.
32142         ($(objpfx)bug-glob2-mem): Likewise.
32143         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32144         ($(objpfx)mtrace-tst-leaks2): Likewise.
32145         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32146         ($(objpfx)tst-printf.out): Likewise.
32147         ($(objpfx)tst-setvbuf1.out): Likewise.
32148         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32149         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32150         ($(objpfx)tst-fmtmsg.out): Likewise.
32151         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32152         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32154         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32155         * bits/sigaction.h [__USE_MISC]: Likewise.
32156         * bits/waitstatus.h: Update #endif comments.
32157         * ctype/ctype.h: Likewise.
32158         * dirent/dirent.h: Likewise.
32159         [__USE_MISC]: Remove redundant conditionals.
32160         * grp/grp.h: Update #endif comments.
32161         [__USE_GNU]: Remove redundant conditionals.
32162         [__USE_MISC]: Likewise.
32163         * inet/netinet/in.h [__USE_GNU]: Likewise.
32164         * io/sys/stat.h [__USE_MISC]: Likewise.
32165         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32166         * libio/bits/stdio.h: Update #endif comments.
32167         [__USE_MISC]: Remove redundant conditionals.
32168         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32169         * libio/stdio.h: Update #endif comments.
32170         [__USE_MISC]: Remove redundant conditionals.
32171         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32172         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32173         * math/math.h: Update #else and #endif comments.
32174         [__USE_MISC]: Remove redundant conditionals.
32175         * misc/sys/uio.h: Update #endif comments.
32176         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32177         * posix/glob.h [__USE_MISC]: Likewise.
32178         * posix/sys/types.h: Update #endif comments.
32179         [__USE_MISC]: Remove redundant conditionals.
32180         * posix/sys/wait.h: Update #endif comments.
32181         [__USE_MISC]: Remove redundant conditionals.
32182         * posix/unistd.h: Update #endif comments.
32183         [__USE_MISC]: Remove redundant conditionals.
32184         * pwd/pwd.h [__USE_GNU]: Likewise.
32185         [__USE_MISC]: Likewise.
32186         * resolv/netdb.h [__USE_GNU]: Likewise.
32187         * signal/signal.h: Update #endif comments.
32188         [__USE_MISC]: Remove redundant conditionals.
32189         * stdlib/stdlib.h: Update #else and #endif comments.
32190         [__USE_MISC]: Remove redundant conditionals.
32191         [__USE_GNU]: Likewise.
32192         * string/bits/string2.h [__USE_MISC]: Likewise.
32193         * string/string.h: Update #endif comments.
32194         [__USE_MISC]: Remove redundant conditionals.
32195         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32196         Likewise.
32197         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32198         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32199         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32200         Likewise.
32201         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32202         Likewise.
32203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32204         comments.
32205         [__USE_MISC]: Remove redundant conditionals.
32206         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32207         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32208         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32209         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32210         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32211         Likewise.
32212         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32213         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32214         Likewise.
32215         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32216         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32217         Likewise.
32218         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32219         Likewise.
32220         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32221         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32222         Likewise.
32223         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32224         Likewise.
32225         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32226         * sysdeps/x86/bits/string.h: Update #endif comments.
32227         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32228         conditionals.
32229         * time/sys/time.h: Update #endif comments.
32230         * time/time.h: Likewise.
32231         [__USE_MISC]: Remove redundant conditionals.
32233 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32235         [BZ #16600]
32236         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32238 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32240         * Versions.def (librt): Add GLIBC_2.17.
32242 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32244         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32245         synonym for _SYS_AUXV_H to allow direct inclusion.
32246         * sysdeps/sparc/bits/hwcap.h: Likewise.
32247         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32248         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32249         * sysdeps/sparc/sysdep.h: Likewise.
32251 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32253         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32255 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32257         * benchtests/bench-strrchr.c: Print length instead of position.
32259 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32261         [BZ #16611]
32262         * sysdeps/unix/sysv/linux/kernel-features.h
32263         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32264         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32265         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32266         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32267         Likewise.
32268         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32269         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32270         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32271         (__ASSUME_SENDMMSG): Define instead of using previous
32272         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32273         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32274         (__ASSUME_SENDMMSG_SYSCALL): Define.
32275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32276         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32277         Likewise.
32278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32279         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32280         Likewise.
32281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32282         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32283         Likewise.
32284         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32285         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32286         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32287         [__ASSUME_SENDMMSG]: Change conditionals to
32288         [__ASSUME_SENDMMSG_SOCKETCALL].
32289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32290         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32291         Define.
32292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32293         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32294         Likewise.
32295         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32296         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32297         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32298         [!__ASSUME_SENDMMSG]: Change conditional to
32299         [!__ASSUME_SENDMMSG_SOCKETCALL].
32300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32302         Define.
32304         [BZ #16610]
32305         * sysdeps/unix/sysv/linux/kernel-features.h
32306         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32307         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32308         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32309         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32310         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32311         [__i386__ || __sparc__]
32312         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32313         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32314         (__ASSUME_RECVMMSG): Define instead of using previous
32315         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32316         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32317         (__ASSUME_RECVMMSG_SYSCALL): Define.
32318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32320         Likewise.
32321         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32323         Likewise.
32324         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32326         Likewise.
32327         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32328         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32329         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32330         [__ASSUME_RECVMMSG]: Change condition to
32331         [__ASSUME_RECVMMSG_SOCKETCALL].
32332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32334         Define.
32335         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32336         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32337         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32338         Likewise.
32339         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32340         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32341         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32342         [!__ASSUME_RECVMMSG]: Change condition to
32343         [!__ASSUME_RECVMMSG_SOCKETCALL].
32344         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32345         (__ASSUME_RECVMMSG_SYSCALL): Define.
32347         [BZ #16609]
32348         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32349         __powerpc__ || __s390__ || __sh__ || __sparc__]
32350         (__ASSUME_SOCKETCALL): Define.
32351         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32352         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32353         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32354         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32355         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32356         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32357         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32358         (__ASSUME_ACCEPT4): Define instead of using previous
32359         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32360         __powerpc__ || __sparc__ || __s390__)] condition.
32361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32362         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32363         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32364         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32365         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32366         [!__ASSUME_ACCEPT4]: Change condition to
32367         [!__ASSUME_ACCEPT4_SOCKETCALL].
32368         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32369         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32370         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32372         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32373         __ASSUME_ACCEPT4_SYSCALL.
32374         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32375         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32377         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32378         __ASSUME_ACCEPT4_SYSCALL.
32379         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32380         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32381         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32382         [__ASSUME_ACCEPT4]: Change condition to
32383         [__ASSUME_ACCEPT4_SOCKETCALL].
32384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32385         (__ASSUME_SOCKETCALL): Define.
32386         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32388         (__ASSUME_SOCKETCALL): Define.
32389         (__ASSUME_ACCEPT4): Remove.
32390         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32391         Define.
32392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32393         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32394         Likewise.
32395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32396         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32398         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32399         macro.
32400         (HWCAP_ARM_LPAE): Likewise.
32401         (HWCAP_ARM_EVTSTRM): Likewise.
32402         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32403         Add vpfd32, lpae and evtstrm.
32404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32405         Increase to 22.
32407 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32409         * math/auto-libm-test-in: Add tests of clog10.
32410         * math/auto-libm-test-out: Regenerated.
32411         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32412         * sysdeps/i386/fpu/libm-test-ulps: Update.
32413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32415 2014-02-18  Andreas Schwab  <schwab@suse.de>
32417         [BZ #16574]
32418         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32419         Store non-zero if the second buffer was newly allocated.
32420         (send_dg): Likewise.
32421         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32422         to send_vc and send_dg.
32423         (res_nsend): Pass NULL for ansp2_malloced.
32424         * resolv/res_query.c (__libc_res_nquery): Add parameter
32425         answerp2_malloced and pass it down to __libc_res_nsend.
32426         (res_nquery): Pass additional NULL to __libc_res_nquery.
32427         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32428         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32429         second answer buffer if answerp2_malloced was set.
32430         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32431         (__libc_res_nquerydomain): Add parameter
32432         answerp2_malloced and pass it down to __libc_res_nquery.
32433         (res_nquerydomain): Pass additional NULL to
32434         __libc_res_nquerydomain.
32435         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32436         additional NULL to __libc_res_nsend and __libc_res_nquery.
32437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32438         additional NULL to __libc_res_nsearch.
32439         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32440         parameter of __libc_res_nsearch to check for separately allocated
32441         second buffer.
32442         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32443         __libc_res_nquery.
32444         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32445         additional NULL to __libc_res_nquery.
32446         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32447         __libc_res_nsearch.
32448         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32449         * include/resolv.h: Update prototypes of __libc_res_nquery,
32450         __libc_res_nsearch, __libc_res_nsend.
32452 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32454         * math/auto-libm-test-in: Add tests of fma.
32455         * math/auto-libm-test-out: Regenerated.
32456         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32457         (fma_towardzero_test_data): Likewise.
32458         (fma_downward_test_data): Likewise.
32459         (fma_upward_test_data): Likewise.
32460         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32461         mpc_mode.
32462         (rounding_modes): Add values for new field.
32463         (func_calc_method): Add value mpfr_fff_f.
32464         (func_calc_desc): Add mpfr_fff_f union field.
32465         (test_function): Add field exact_args.
32466         (FUNC): Add macro argument EXACT_ARGS.
32467         (FUNC_mpfr_f_f): Update call to FUNC.
32468         (FUNC_mpfr_f_f): Likewise.
32469         (FUNC_mpfr_ff_f): Likewise.
32470         (FUNC_mpfr_if_f): Likewise.
32471         (FUNC_mpc_c_f): Likewise.
32472         (FUNC_mpc_c_c): Likewise.
32473         (test_functions): Add fma.  Update calls to FUNC.
32474         (handle_input_arg): Add argument exact_args.
32475         (add_test): Update call to handle_input_arg.
32476         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32477         (output_for_one_input_case): Update call to calc_generic_results.
32478         Recalculate exact zero results in each rounding mode.
32480         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32481         non-negative before setting low bit.
32482         * math/auto-libm-test-in: Mark one asin test possibly having
32483         spurious underflow.
32484         * math/auto-libm-test-out: Regenerated.
32485         * sysdeps/i386/fpu/libm-test-ulps: Update.
32486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32490         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32491         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32492         ports/sysdeps/unix/sysv/linux/microblaze.
32493         * README: Add missing listing for microblaze*-*-linux-gnu.
32495 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32497         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32498         duplicate code
32500 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32502         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32503         * sysdeps/unix/sysv/linux/ia64: Move directory from
32504         ports/sysdeps/unix/sysv/linux/ia64.
32505         * README: Update listing for ia64-*-linux-gnu.
32507 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32508             Joseph Myers  <joseph@codesourcery.com>
32510         * Makeconfig (test-name): New variable.
32511         (evaluate-test): Likewise.
32512         * Makerules (do-test-clean): Remove .test-result files.
32513         (common-mostlyclean): Likewise.
32514         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32515         * scripts/evaluate-test.sh: New file.
32517 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32519         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32520         separate $(objpfx)tst-fopenloc-cmp.out and
32521         $(objpfx)tst-fopenloc-mem.out targets.
32522         (tests): Update dependencies.
32523         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32524         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32525         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32526         (tst-rxspencer-no-utf8-ARGS): New variable.
32527         (tst-rxspencer-no-utf8-ENV): Likewise.
32528         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32529         instead of $(objpfx)tst-rxspencer-mem.
32530         ($(objpfx)tst-rxspencer-mem): Change target to
32531         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32532         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32533         * posix/tst-rxspencer-no-utf8.c: New file.
32535         * elf/Makefile ($(objpfx)order.out): Remove rule.
32536         [$(run-built-tests) = yes] (tests): Depend on
32537         $(objpfx)order-cmp.out.
32538         ($(objpfx)order-cmp.out): New rule.
32539         [$(run-built-tests) = yes] (tests): Depend on
32540         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32541         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32542         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32543         $(objpfx)tst-array5-static-cmp.out.
32544         ($(objpfx)tst-array1.out): Remove rule.
32545         ($(objpfx)tst-array1-cmp.out): New rule.
32546         ($(objpfx)tst-array1-static.out): Remove rule.
32547         ($(objpfx)tst-array1-static-cmp.out): New rule.
32548         ($(objpfx)tst-array2.out): Remove rule.
32549         ($(objpfx)tst-array2-cmp.out): New rule.
32550         ($(objpfx)tst-array3.out): Remove rule.
32551         ($(objpfx)tst-array3-cmp.out): New rule.
32552         ($(objpfx)tst-array4.out): Remove rule.
32553         ($(objpfx)tst-array4-cmp.out): New rule.
32554         ($(objpfx)tst-array5.out): Remove rule.
32555         ($(objpfx)tst-array5-cmp.out): New rule.
32556         ($(objpfx)tst-array5-static.out): Remove rule.
32557         ($(objpfx)tst-array5-static-cmp.out): New rule.
32558         [$(run-built-tests) = yes] (tests): Depend on
32559         $(objpfx)order2-cmp.out.
32560         ($(objpfx)order2.out): Remove rule.
32561         ($(objpfx)order2-cmp.out): New rule.
32562         ($(objpfx)tst-initorder.out): Remove rule.
32563         [$(run-built-tests) = yes] (tests): Depend on
32564         $(objpfx)tst-initorder-cmp.out.
32565         ($(objpfx)tst-initorder-cmp.out): New rule.
32566         ($(objpfx)tst-initorder2.out): Remove rule.
32567         [$(run-built-tests) = yes] (tests): Depend on
32568         $(objpfx)tst-initorder2-cmp.out.
32569         ($(objpfx)tst-initorder2-cmp.out): New rule.
32570         [$(run-built-tests) = yes] (tests): Depend on
32571         $(objpfx)tst-unused-dep-cmp.out.
32572         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32573         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32574         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32575         on $(objpfx)tst-setvbuf1-cmp.out.
32576         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32577         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32578         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32579         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32580         ($(objpfx)tst-svc.out): Remove rule.
32581         ($(objpfx)tst-svc-cmp.out): New rule.
32583 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32585         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32586         * ctype/ctype.h [__USE_MISC]: Likewise.
32587         * dirent/dirent.h [__USE_MISC]: Likewise.
32588         * grp/grp.h [__USE_MISC]: Likewise.
32589         * io/fcntl.h [__USE_MISC]: Likewise.
32590         * io/sys/stat.h [__USE_MISC]: Likewise.
32591         * libio/stdio.h [__USE_MISC]: Likewise.
32592         * posix/unistd.h [__USE_MISC]: Likewise.
32593         * pwd/pwd.h [__USE_MISC]: Likewise.
32594         * stdlib.h [__USE_MISC]: Likewise.
32595         * string/bits/string2.h [__USE_MISC]: Likewise.
32596         * string/string.h [__USE_MISC]: Likewise.
32597         * time/time.h [__USE_MISC]: Likewise.
32599 2014-02-13  Andreas Schwab  <schwab@suse.de>
32601         [BZ #16574]
32602         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32603         second answer buffer if it was separately allocated.
32605 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32607         * sysdeps/mips/math-tests.h: Include <features.h>.
32608         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32609         (ROUNDING_TESTS_long_double): Do not define.
32610         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32611         (EXCEPTION_TESTS_long_double): Likewise.
32612         * sysdeps/mips/mips64/libm-test-ulps: Update.
32614         * include/features.h (__USE_BSD): Remove macro definitions.
32615         (__USE_SVID): Likewise.
32616         (_BSD_SOURCE): Likewise.
32617         (_SVID_SOURCE): Likewise.
32618         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32619         from definition of _DEFAULT_SOURCE.
32620         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32621         [_DEFAULT_SOURCE].
32622         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32623         * bits/mman.h [__USE_BSD]: Likewise.
32624         * bits/termios.h [__USE_BSD]: Likewise.
32625         * bits/waitstatus.h [__USE_BSD]: Likewise.
32626         * ctype/ctype.h [__USE_SVID]: Likewise.
32627         * dirent/dirent.h [__USE_BSD]: Likewise.
32628         * grp/grp.h [__USE_SVID]: Likewise.
32629         [__USE_BSD]: Likewise.
32630         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32631         * io/fcntl.h [__USE_BSD]: Likewise.
32632         * io/ftw.h [__USE_BSD]: Likewise.
32633         * io/sys/stat.h [__USE_BSD]: Likewise.
32634         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32635         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32636         * libio/stdio.h [__USE_SVID]: Likewise.
32637         [__USE_BSD]: Likewise.
32638         * math/math.h [__USE_SVID]: Likewise.
32639         [__USE_BSD]: Likewise.
32640         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32641         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32642         * misc/search.h [__USE_SVID]: Likewise.
32643         * misc/sys/mman.h [__USE_BSD]: Likewise.
32644         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32645         * misc/sys/uio.h [__USE_BSD]: Likewise.
32646         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32647         * posix/glob.h [__USE_BSD]: Likewise.
32648         * posix/regex.h [__USE_BSD]: Likewise.
32649         * posix/sys/types.h [__USE_BSD]: Likewise.
32650         [__USE_SVID]: Likewise.
32651         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32652         * posix/sys/wait.h [__USE_BSD]: Likewise.
32653         [__USE_SVID]: Likewise.
32654         * posix/unistd.h [__USE_BSD]: Likewise.
32655         [__USE_SVID]: Likewise.
32656         * pwd/pwd.h [__USE_SVID]: Likewise.
32657         * resolv/netdb.h [__USE_BSD]: Likewise.
32658         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32659         * signal/signal.h [__USE_BSD]: Likewise.
32660         [__USE_SVID]: Likewise.
32661         * socket/sys/socket.h [__USE_BSD]: Likewise.
32662         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32663         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32664         [__USE_SVID]: Likewise.
32665         * string/bits/string2.h [__USE_BSD]: Likewise.
32666         [__USE_SVID]: Likewise.
32667         * string/bits/string3.h [__USE_BSD]: Likewise.
32668         * string/endian.h [__USE_BSD]: Likewise.
32669         * string/string.h [__USE_SVID]: Likewise.
32670         [__USE_BSD]: Likewise.
32671         * string/strings.h [__USE_BSD]: Likewise.
32672         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32673         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32674         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32675         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32676         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32677         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32678         Likewise.
32679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32680         Likewise.
32681         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32682         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32683         Likewise.
32684         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32685         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32686         Likewise.
32687         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32688         Likewise.
32689         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32690         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32691         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32692         Likewise.
32693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32694         Likewise.
32695         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32696         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32697         * termios/termios.h [__USE_BSD]: Likewise.
32698         * time/sys/time.h [__USE_BSD]: Likewise.
32699         * time/time.h [__USE_BSD]: Likewise.
32700         [__USE_SVID]: Likewise.
32702         * Makefile (subdir_targets): Remove subdir_lint.out.
32704         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32705         (do-tst-printf): Likewise.
32706         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32707         $(objpfx)tst-printf.out.
32709         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32711         * Makerules (check-abi-%): Change target to
32712         $(objpfx)check-abi-%.out.
32713         (check-abi target): Update dependencies.
32714         (check-abi-pattern variable): Redirect output of diff to $@.
32715         (check-abi variable): Likewise.
32716         * elf/Makefile (check-abi): Update dependencies.
32718         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32719         unused.
32720         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32721         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32722         subnormal range.
32723         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32724         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32725         value has largest subnormal exponent.
32726         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32727         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32728         * sysdeps/aarch64/soft-fp/sfp-machine.h
32729         (_FP_TININESS_AFTER_ROUNDING): New macro.
32730         * sysdeps/alpha/soft-fp/sfp-machine.h
32731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32732         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32733         Likewise.
32734         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32735         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32736         * sysdeps/mips/soft-fp/sfp-machine.h
32737         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32738         * sysdeps/powerpc/soft-fp/sfp-machine.h
32739         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32740         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32741         Likewise.
32742         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32743         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32744         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32745         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32746         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32747         Likewise.
32749 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32751         [BZ #16545]
32752         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32753         model 1.
32755 2014-02-12  Richard Henderson  <rth@redhat.com>
32757         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32758         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32759         * sysdeps/unix/sysv/linux/alpha: Move directory from
32760         ports/sysdeps/unix/sysv/linux/alpha.
32761         * README: Update listing for alpha-*-linux-gnu.
32763 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32765         * include/features.h: Update comment documenting feature test
32766         macros.
32767         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32768         _DEFAULT_SOURCE.
32769         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32770         (_SVID_SOURCE): Likewise.
32771         (_DEFAULT_SOURCE): Update description of default features.
32772         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32773         with _GNU_SOURCE.
32774         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32775         (S_ISVTX): Likewise.
32776         * manual/math.texi (Mathematical Constants): Likewise.
32777         * manual/signal.texi (Interrupted Primitives): Likewise.
32778         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32779         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32780         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32781         Don't refer to _SVID_SOURCE in warning text.
32783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32785         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32786         already defined.
32787         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32788         * sysdeps/mips/dl-lookup.c: Remove.
32789         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32791 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32793         [BZ #16447]
32794         * math/auto-libm-test-in: Add testcase for expl.
32795         * math/auto-libm-test-out: Regenerate.
32796         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32797         calculation of unsafe.
32798         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32800 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32802         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32803         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32804         ports/sysdeps/unix/sysv/linux/aarch64.
32805         * README: Update listing for aarch64*-*-linux-gnu.
32807 2014-02-11  Will Newton  <will.newton@linaro.org>
32809         * manual/probes.texi (Mathematical Function Probes): Use
32810         "triggered" instead of "hit".
32812         * manual/probes.texi (Internal Probes): Add documentation
32813         of setjmp, longjmp and longjmp_target probes.
32815         * include/stap-probe.h: Add comment about probe argument
32816         format.
32818         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32819         definition.  (tr_where, tr_freehook, tr_mallochook,
32820         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32822 2014-02-11  David S. Miller  <davem@davemloft.net>
32824         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32825         processing int_tests.
32827 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32829         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32830         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32831         * sysdeps/unix/sysv/linux/mips: Move directory from
32832         ports/sysdeps/unix/sysv/linux/mips.
32833         * README: Update listing for mips-*-linux-gnu and
32834         mips64-*-linux-gnu.
32836 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32838         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32839         * sysdeps/unix/sysv/linux/m68k: Move directory from
32840         ports/sysdeps/unix/sysv/linux/m68k.
32841         * README: Update listing for m68k-*-linux-gnu.
32843 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32845         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32846         * sysdeps/unix/sysv/linux/generic: Move directory from
32847         ports/sysdeps/unix/sysv/linux/generic.
32848         * sysdeps/unix/sysv/linux/tile: Move directory from
32849         ports/sysdeps/unix/sysv/linux/tile.
32850         * README: Update listing for tile*-*-linux-gnu.
32852 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32854         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32855         __builtin_expect.
32856         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32857         * catgets/open_catalog.c (__open_catalog): Likewise.
32858         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32859         * debug/confstr_chk.c: Likewise.
32860         * debug/fread_chk.c (__fread_chk): Likewise.
32861         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32862         * debug/getgroups_chk.c: Likewise.
32863         * debug/mbsnrtowcs_chk.c: Likewise.
32864         * debug/mbsrtowcs_chk.c: Likewise.
32865         * debug/mbstowcs_chk.c: Likewise.
32866         * debug/memcpy_chk.c: Likewise.
32867         * debug/memmove_chk.c: Likewise.
32868         * debug/mempcpy_chk.c: Likewise.
32869         * debug/memset_chk.c: Likewise.
32870         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32871         * debug/strcat_chk.c (__strcat_chk): Likewise.
32872         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32873         * debug/strncat_chk.c (__strncat_chk): Likewise.
32874         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32875         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32876         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32877         * debug/wcpncpy_chk.c: Likewise.
32878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32879         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32880         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32881         * debug/wcsncpy_chk.c: Likewise.
32882         * debug/wcsnrtombs_chk.c: Likewise.
32883         * debug/wcsrtombs_chk.c: Likewise.
32884         * debug/wcstombs_chk.c: Likewise.
32885         * debug/wmemcpy_chk.c: Likewise.
32886         * debug/wmemmove_chk.c: Likewise.
32887         * debug/wmempcpy_chk.c: Likewise.
32888         * debug/wmemset_chk.c: Likewise.
32889         * dirent/scandirat.c (SCANDIRAT): Likewise.
32890         * dlfcn/dladdr1.c (dladdr1): Likewise.
32891         * dlfcn/dladdr.c (dladdr): Likewise.
32892         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32893         * dlfcn/dlerror.c (__dlerror): Likewise.
32894         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32895         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32896         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32897         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32898         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32899         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32900         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32901         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32902         Likewise.
32903         * elf/dl-conflict.c: Likewise.
32904         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32905         * elf/dl-dst.h: Likewise.
32906         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32907         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32908         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32909         * elf/dl-init.c (call_init, _dl_init): Likewise.
32910         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32911         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32912         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32913         Likewise.
32914         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32915         Likewise.
32916         * elf/dl-minimal.c (__libc_memalign): Likewise.
32917         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32918         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32919         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32920         * elf/dl-sym.c (do_sym): Likewise.
32921         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32922         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32923         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32924         * elf/dl-writev.h (_dl_writev): Likewise.
32925         * elf/ldconfig.c (search_dir): Likewise.
32926         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32927         (dl_main): Likewise.
32928         * elf/setup-vdso.h (setup_vdso): Likewise.
32929         * grp/compat-initgroups.c (compat_call): Likewise.
32930         * grp/fgetgrent.c (fgetgrent): Likewise.
32931         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32932         * grp/putgrent.c (putgrent): Likewise.
32933         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32934         Likewise.
32935         * hurd/hurdinit.c: Likewise.
32936         * iconvdata/8bit-gap.c (struct): Likewise.
32937         * iconvdata/ansi_x3.110.c : Likewise.
32938         * iconvdata/big5.c : Likewise.
32939         * iconvdata/big5hkscs.c : Likewise.
32940         * iconvdata/cp1255.c: Likewise.
32941         * iconvdata/cp1258.c : Likewise.
32942         * iconvdata/cp932.c : Likewise.
32943         * iconvdata/euc-cn.c: Likewise.
32944         * iconvdata/euc-jisx0213.c : Likewise.
32945         * iconvdata/euc-jp.c: Likewise.
32946         * iconvdata/euc-jp-ms.c : Likewise.
32947         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32948         * iconvdata/gb18030.c : Likewise.
32949         * iconvdata/gbbig5.c (const): Likewise.
32950         * iconvdata/gbgbk.c: Likewise.
32951         * iconvdata/gbk.c : Likewise.
32952         * iconvdata/ibm1364.c : Likewise.
32953         * iconvdata/ibm930.c : Likewise.
32954         * iconvdata/ibm932.c: Likewise.
32955         * iconvdata/ibm933.c : Likewise.
32956         * iconvdata/ibm935.c : Likewise.
32957         * iconvdata/ibm937.c : Likewise.
32958         * iconvdata/ibm939.c : Likewise.
32959         * iconvdata/ibm943.c: Likewise.
32960         * iconvdata/iso_11548-1.c: Likewise.
32961         * iconvdata/iso-2022-cn.c : Likewise.
32962         * iconvdata/iso-2022-cn-ext.c : Likewise.
32963         * iconvdata/iso-2022-jp-3.c: Likewise.
32964         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32965         * iconvdata/iso-2022-kr.c : Likewise.
32966         * iconvdata/iso646.c (gconv_end): Likewise.
32967         * iconvdata/iso_6937-2.c : Likewise.
32968         * iconvdata/iso_6937.c : Likewise.
32969         * iconvdata/iso8859-1.c: Likewise.
32970         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32971         * iconvdata/shift_jisx0213.c : Likewise.
32972         * iconvdata/sjis.c : Likewise.
32973         * iconvdata/t.61.c : Likewise.
32974         * iconvdata/tcvn5712-1.c : Likewise.
32975         * iconvdata/tscii.c: Likewise.
32976         * iconvdata/uhc.c : Likewise.
32977         * iconvdata/unicode.c (gconv_end): Likewise.
32978         * iconvdata/utf-16.c (gconv_end): Likewise.
32979         * iconvdata/utf-32.c (gconv_end): Likewise.
32980         * iconvdata/utf-7.c (base64): Likewise.
32981         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32982         * iconv/gconv_close.c (__gconv_close): Likewise.
32983         * iconv/gconv_open.c (__gconv_open): Likewise.
32984         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32985         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32986         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32987         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32988         (ucs4le_internal_loop_single): Likewise.
32989         * iconv/iconv.c (iconv): Likewise.
32990         * iconv/iconv_close.c: Likewise.
32991         * iconv/loop.c (SINGLE): Likewise.
32992         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32993         * include/atomic.h: Likewise.
32994         * inet/inet6_option.c (option_alloc): Likewise.
32995         * intl/bindtextdom.c (set_binding_values): Likewise.
32996         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32997         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32998         * intl/localealias.c (read_alias_file): Likewise.
32999         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33000         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33001         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33002         * libio/fmemopen.c (fmemopen): Likewise.
33003         * libio/iofgets.c (_IO_fgets): Likewise.
33004         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33005         * libio/iofgetws.c (fgetws): Likewise.
33006         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33007         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33008         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33009         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33010         * locale/findlocale.c (_nl_find_locale): Likewise.
33011         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33012         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33013         Likewise.
33014         * locale/setlocale.c (setlocale): Likewise.
33015         * login/programs/pt_chown.c (main): Likewise.
33016         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33017         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33018         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33019         (mmap, mmap64, mremap, munmap): Likewise.
33020         * math/e_exp2l.c: Likewise.
33021         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33022         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33023         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33024         * math/s_catan.c (__catan): Likewise.
33025         * math/s_catanf.c (__catanf): Likewise.
33026         * math/s_catanh.c (__catanh): Likewise.
33027         * math/s_catanhf.c (__catanhf): Likewise.
33028         * math/s_catanhl.c (__catanhl): Likewise.
33029         * math/s_catanl.c (__catanl): Likewise.
33030         * math/s_ccosh.c (__ccosh): Likewise.
33031         * math/s_ccoshf.c (__ccoshf): Likewise.
33032         * math/s_ccoshl.c (__ccoshl): Likewise.
33033         * math/s_cexp.c (__cexp): Likewise.
33034         * math/s_cexpf.c (__cexpf): Likewise.
33035         * math/s_cexpl.c (__cexpl): Likewise.
33036         * math/s_clog10.c (__clog10): Likewise.
33037         * math/s_clog10f.c (__clog10f): Likewise.
33038         * math/s_clog10l.c (__clog10l): Likewise.
33039         * math/s_clog.c (__clog): Likewise.
33040         * math/s_clogf.c (__clogf): Likewise.
33041         * math/s_clogl.c (__clogl): Likewise.
33042         * math/s_csin.c (__csin): Likewise.
33043         * math/s_csinf.c (__csinf): Likewise.
33044         * math/s_csinh.c (__csinh): Likewise.
33045         * math/s_csinhf.c (__csinhf): Likewise.
33046         * math/s_csinhl.c (__csinhl): Likewise.
33047         * math/s_csinl.c (__csinl): Likewise.
33048         * math/s_csqrt.c (__csqrt): Likewise.
33049         * math/s_csqrtf.c (__csqrtf): Likewise.
33050         * math/s_csqrtl.c (__csqrtl): Likewise.
33051         * math/s_ctan.c (__ctan): Likewise.
33052         * math/s_ctanf.c (__ctanf): Likewise.
33053         * math/s_ctanh.c (__ctanh): Likewise.
33054         * math/s_ctanhf.c (__ctanhf): Likewise.
33055         * math/s_ctanhl.c (__ctanhl): Likewise.
33056         * math/s_ctanl.c (__ctanl): Likewise.
33057         * math/w_pow.c: Likewise.
33058         * math/w_powf.c: Likewise.
33059         * math/w_powl.c: Likewise.
33060         * math/w_scalb.c (sysv_scalb): Likewise.
33061         * math/w_scalbf.c (sysv_scalbf): Likewise.
33062         * math/w_scalbl.c (sysv_scalbl): Likewise.
33063         * misc/error.c (error_tail): Likewise.
33064         * misc/pselect.c (__pselect): Likewise.
33065         * nis/nis_callback.c (__nis_create_callback): Likewise.
33066         * nis/nis_call.c (__nisfind_server): Likewise.
33067         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33068         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33069         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33070         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33071         * nis/nis_lookup.c (nis_lookup): Likewise.
33072         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33073         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33074         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33075         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33076         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33077         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33078         * nis/nss_compat/compat-initgroups.c (add_group)
33079         (internal_getgrent_r): Likewise.
33080         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33081         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33082         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33083         (internal_getspnam_r): Likewise.
33084         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33085         (_nss_nis_getaliasbyname_r): Likewise.
33086         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33087         (_nss_nis_getntohost_r): Likewise.
33088         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33089         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33090         (_nss_nis_getgrgid_r): Likewise.
33091         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33092         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33093         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33094         (_nss_nis_gethostbyname4_r): Likewise.
33095         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33096         (initgroups_netid): Likewise.
33097         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33098         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33099         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33100         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33101         (_nss_nis_getprotobynumber_r): Likewise.
33102         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33103         (_nss_nis_getsecretkey): Likewise.
33104         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33105         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33106         (_nss_nis_getpwuid_r): Likewise.
33107         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33108         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33109         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33110         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33111         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33112         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33113         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33114         Likewise.
33115         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33116         (_nss_nisplus_getntohost_r): Likewise.
33117         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33118         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33119         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33120         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33121         Likewise.
33122         * nis/nss_nisplus/nisplus-initgroups.c
33123         (_nss_nisplus_initgroups_dyn): Likewise.
33124         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33125         (_nss_nisplus_getnetbyaddr_r): Likewise.
33126         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33127         (_nss_nisplus_getprotobynumber_r): Likewise.
33128         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33129         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33130         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33131         Likewise.
33132         * nis/nss_nisplus/nisplus-service.c
33133         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33134         (_nss_nisplus_getservbyport_r): Likewise.
33135         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33136         (_nss_nisplus_getspnam_r): Likewise.
33137         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33138         Likewise.
33139         * nscd/aicache.c (addhstaiX): Likewise.
33140         * nscd/cache.c (cache_search, prune_cache): Likewise.
33141         * nscd/connections.c (register_traced_file, send_ro_fd)
33142         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33143         (main_loop_epoll): Likewise.
33144         * nscd/grpcache.c (addgrbyX): Likewise.
33145         * nscd/hstcache.c (addhstbyX): Likewise.
33146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33147         * nscd/mem.c (gc, mempool_alloc): Likewise.
33148         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33149         (addinnetgrX): Likewise.
33150         * nscd/nscd-client.h (__nscd_acquire_maplock)
33151         (__nscd_drop_map_ref): Likewise.
33152         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33153         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33154         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33155         Likewise.
33156         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33158         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33159         (__nscd_get_map_ref): Likewise.
33160         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33161         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33162         Likewise.
33163         * nscd/pwdcache.c (addpwbyX): Likewise.
33164         * nscd/selinux.c (preserve_capabilities): Likewise.
33165         * nscd/servicescache.c (addservbyX): Likewise.
33166         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33167         * posix/fnmatch.c (fnmatch): Likewise.
33168         * posix/getopt.c (_getopt_internal_r): Likewise.
33169         * posix/glob.c (glob, glob_in_dir): Likewise.
33170         * posix/wordexp.c (exec_comm_child): Likewise.
33171         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33172         (getanswer_r, gaih_getanswer_slice): Likewise.
33173         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33174         * resolv/res_init.c: Likewise.
33175         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33176         * resolv/res_query.c (__libc_res_nquery): Likewise.
33177         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33178         Likewise.
33179         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33180         * stdio-common/perror.c (perror): Likewise.
33181         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33182         * stdio-common/tmpnam.c (tmpnam): Likewise.
33183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33184         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33185         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33186         Likewise.
33187         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33188         * stdlib/putenv.c (putenv): Likewise.
33189         * stdlib/setenv.c (__add_to_environ): Likewise.
33190         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33191         * stdlib/strtol_l.c (INTERNAL): Likewise.
33192         * string/memmem.c (memmem): Likewise.
33193         * string/strerror.c (strerror): Likewise.
33194         * string/strnlen.c (__strnlen): Likewise.
33195         * string/test-memmem.c (simple_memmem): Likewise.
33196         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33197         * sunrpc/pm_getport.c (__get_socket): Likewise.
33198         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33199         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33200         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33201         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33202         Likewise.
33203         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33205         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33206         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33207         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33208         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33209         Likewise.
33210         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33211         Likewise.
33212         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33213         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33215         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33216         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33218         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33219         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33220         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33221         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33222         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33223         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33224         Likewise.
33225         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33226         Likewise.
33227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33228         Likewise.
33229         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33230         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33231         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33232         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33233         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33234         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33235         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33238         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33239         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33241         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33242         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33244         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33245         Likewise.
33246         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33247         Likewise.
33248         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33249         Likewise.
33250         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33251         Likewise.
33252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33254         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33255         Likewise.
33256         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33257         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33258         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33259         * sysdeps/posix/sleep.c: Likewise.
33260         * sysdeps/posix/tempname.c: Likewise.
33261         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33262         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33263         Likewise.
33264         * sysdeps/powerpc/powerpc32/dl-machine.h
33265         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33266         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33268         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33269         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33270         Likewise.
33271         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33272         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33273         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33274         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33275         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33276         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33277         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33278         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33279         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33280         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33281         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33282         (elf_machine_lazy_rel): Likewise.
33283         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33285         (elf_machine_lazy_rel): Likewise.
33286         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33287         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33288         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33289         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33290         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33291         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33292         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33294         Likewise.
33295         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33296         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33297         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33298         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33299         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33300         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33301         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33302         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33303         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33305         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33306         Likewise.
33307         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33308         (__posix_fallocate64_l64): Likewise.
33309         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33310         (posix_fallocate): Likewise.
33311         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33312         Likewise.
33313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33314         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33315         (getifaddrs_internal): Likewise.
33316         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33317         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33318         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33319         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33320         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33321         (__posix_fallocate64_l64): Likewise.
33322         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33323         Likewise.
33324         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33325         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33326         (__get_clockfreq): Likewise.
33327         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33328         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33329         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33332         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33333         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33334         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33335         Likewise.
33336         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33337         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33338         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33339         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33340         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33341         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33342         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33343         Likewise.
33344         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33345         (posix_fallocate): Likewise.
33346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33347         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33348         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33349         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33350         (elf_machine_rela, elf_machine_rela_relative)
33351         (elf_machine_lazy_rel): Likewise.
33352         * time/asctime.c (asctime_internal): Likewise.
33353         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33354         * time/tzset.c (__tzset_parse_tz): Likewise.
33355         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33356         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33357         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33358         * wcsmbs/wcsmbsload.h: Likewise.
33360         [BZ #15894]
33361         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33363         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33364         (arena_get2): Remove THREAD_STATS conditionals.
33365         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33366         (__malloc_stats, int): Likewise.
33368 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33370         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33371         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33373         * manual/setjmp.texi: Fix typos/grammar errors.
33375         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33376         Only return early when n is <= 0.  Delete unused return statement.
33378         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33379         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33380         * debug/tst-longjmp_chk3.c: New file.
33382         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33383         (test_main): Replace code with set_fortify_handler call.
33384         * debug/test-strcpy_chk.c: Likewise.
33385         * debug/tst-chk1.c: Likewise.
33386         * debug/tst-longjmp_chk.c: Likewise.
33387         * test-skeleton.c: Include fcntl.h & paths.h
33388         (set_fortify_handler): Define.
33390         * debug/tst-longjmp_chk.c: Add header comment and include
33391         ../test-skeleton.c.
33392         (do_test): Mark static.
33393         (TEST_FUNCTION): Define.
33395         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33396         (IP_PMTUDISC_INTERFACE): Likewise.
33397         (IP_MULTICAST_IF): Likewise.
33398         (IP_MULTICAST_TTL): Likewise.
33399         (IP_MULTICAST_LOOP): Likewise.
33400         (IP_ADD_MEMBERSHIP): Likewise.
33401         (IP_DROP_MEMBERSHIP): Likewise.
33402         (IP_UNBLOCK_SOURCE): Likewise.
33403         (IP_BLOCK_SOURCE): Likewise.
33404         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33405         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33406         (IP_MSFILTER): Likewise.
33407         (MCAST_JOIN_GROUP): Likewise.
33408         (MCAST_BLOCK_SOURCE): Likewise.
33409         (MCAST_UNBLOCK_SOURCE): Likewise.
33410         (MCAST_LEAVE_GROUP): Likewise.
33411         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33412         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33413         (MCAST_MSFILTER): Likewise.
33414         (IP_MULTICAST_ALL): Likewise.
33415         (IP_UNICAST_IF): Likewise.
33417         * timezone/Makefile: Delete $(have-ksh) check.
33418         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33419         * timezone/tzselect.ksh: Add +x mode bits.
33421         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33422         (ANON_INODE_FS_MAGIC): Likewise.
33423         (BDEVFS_MAGIC): Likewise.
33424         (BINFMTFS_MAGIC): Likewise.
33425         (BTRFS_TEST_MAGIC): Likewise.
33426         (CRAMFS_MAGIC_WEND): Likewise.
33427         (DEBUGFS_MAGIC): Likewise.
33428         (ECRYPTFS_SUPER_MAGIC): Likewise.
33429         (EXT3_SUPER_MAGIC): Likewise.
33430         (EXT4_SUPER_MAGIC): Likewise.
33431         (FUTEXFS_SUPER_MAGIC): Likewise.
33432         (HOSTFS_SUPER_MAGIC): Likewise.
33433         (HUGETLBFS_MAGIC): Likewise.
33434         (MINIX3_SUPER_MAGIC): Likewise.
33435         (MTD_INODE_FS_MAGIC): Likewise.
33436         (NILFS_SUPER_MAGIC): Likewise.
33437         (OPENPROM_SUPER_MAGIC): Likewise.
33438         (PIPEFS_MAGIC): Likewise.
33439         (PSTOREFS_MAGIC): Likewise.
33440         (QNX6_SUPER_MAGIC): Likewise.
33441         (RAMFS_MAGIC): Likewise.
33442         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33443         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33444         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33445         (SECURITYFS_MAGIC): Likewise.
33446         (SELINUX_MAGIC): Likewise.
33447         (SMACK_MAGIC): Likewise.
33448         (SOCKFS_MAGIC): Likewise.
33449         (SQUASHFS_MAGIC): Likewise.
33450         (STACK_END_MAGIC): Likewise.
33451         (TMPFS_MAGIC): Likewise.
33452         (USBDEVICE_SUPER_MAGIC): Likewise.
33453         (V9FS_MAGIC): Likewise.
33454         (XENFS_SUPER_MAGIC): Likewise.
33455         (CRAMFS_MAGIC): Fix typo in comment.
33456         (EXT2_SUPER_MAGIC): Update comment.
33457         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33459 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33461         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33462         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33463         * sysdeps/unix/sysv/linux/arm: Move directory from
33464         ports/sysdeps/unix/sysv/linux/arm.
33465         * README: Update listing for arm-*-linux-gnueabi.
33467         * README: Remove mention of am33.
33469 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33471         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33472         than the comma operator, to avoid "rhs of comma has no effect"
33473         compiler warnings.
33474         (__sigfillset, __sigandset, __sigorset): Likewise.
33475         * include/signal.h (__sigemptyset): Likewise.
33476         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33478 2014-02-07  Allan McRae  <allan@archlinux.org>
33480         * version.h (RELEASE): Set to "development".
33481         (VERSION): Set to "2.19.90"
33482         * NEWS: Add 2.20 section.
33484 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33486         [BZ #16529]
33487         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33489 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33491         * manual/contrib.texi: Update entry for Carlos O'Donell,
33492         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33494 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33496         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33498         * sysdeps/unix/sysv/linux/kernel-features.h
33499         [__LINUX_KERNEL_VERSION >= 0x020621]
33500         (__ASSUME_PROC_PID_TASK_COMM): Define.
33502 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33504         [BZ #16398]
33505         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33506         conversion when destination buffer does not have enough space.
33507         * libio/tst-ftell-partial-wide.c: New test case.
33508         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33510         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33511         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33512         Leonard and Allan McRae.
33514 2014-02-04  David S. Miller  <davem@davemloft.net>
33516         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33517         32-bit.
33519 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33522         New file
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33524         New file
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33526         New file.
33527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33528         New file.
33529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33530         New file.
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33532         New file.
33533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33534         New file.
33535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33536         New file.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33538         New file.
33539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33540         New file.
33541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33542         New file.
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33544         New file.
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33546         New file.
33548 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33550         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33551         * shlib-versions: Likewise.
33553 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33556         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33557         (abilist-pattern): New variable, set to %-le.abilist.
33559         * Makerules (abilist-pattern): New variable.
33560         (vpath): Use $(abilist-pattern) in place of %.abilist.
33561         (check-abi-% pattern rule): Likewise.
33562         (check-abi, update-abi): Likewise.
33564 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33568 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33570         * manual/startup.texi: Add next, previous, and top entries for
33571         the `Program Arguments' and `Environment Variables' nodes.
33573 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33575         * manual/macros.texi: Add comments before MTASC-safety macros.
33577         * manual/users.texi: Document MTASC-safety properties.
33579         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33580         (pthread_getspecific, pthread_setspecific): Format with
33581         @deftypefun, and add @safety note.
33582         * manual/signal.texi: Move comments that analyze the above
33583         functions to their home place.
33585 2014-02-03  Allan McRae  <allan@archlinux.org>
33587         * po/sl.po: Update Slovenian translation from translation project.
33589 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33591         * manual/time.texi (timegm): Add missing blank after @c.
33592         Reported by Joseph Myers <joseph@codesourcery.com>.
33594 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33596         * manual/check-safety.sh: New.
33597         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33599         * manual/terminal.texi: Document MTASC-safety properties.
33601         * manual/filesys.texi: Document MTASC-safety properties.
33603         * manual/errno.texi: Document MTASC-safety properties.
33605         * manual/intro.texi: Document safety identifiers and
33606         conditionals.
33608         * manual/string.texi (wcstok): Fix prototype.
33609         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33611         * manual/time.texi: Document MTASC-safety properties.
33613         * manual/string.texi: Document MTASC-safety properties.
33615         * manual/threads.texi: Document MTASC-safety properties.
33617         * manual/stdio.texi: Document MTASC-safety properties.
33619         * manual/syslog.texi: Document MTASC-safety properties.
33621         * manual/sysinfo.texi: Document MTASC-safety properties.
33623         * manual/startup.texi: Document MTASC-safety properties.
33625         * manual/socket.texi: Document MTASC-safety properties.
33627         * manual/signal.texi: Document MTASC-safety properties.
33629 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33631         * manual/setjmp.texi: Document MTASC-safety properties.
33633         * manual/search.texi: Document MTASC-safety properties.
33635         * manual/resource.texi: Document MTASC-safety properties.
33637         * manual/process.texi: Document MTASC-safety properties.
33639         * manual/platform.texi: Document MTASC-safety properties.
33641         * manual/pipe.texi: Document MTASC-safety properties.
33643         * manual/pattern.texi: Document MTASC-safety properties.
33645         * manual/message.texi: Document MTASC-safety properties.
33647         [BZ #12751]
33648         * manual/memory.texi: Document MTASC-safety properties.
33650         * manual/math.texi: Document MTASC-safety properties.
33652         * manual/locale.texi: Document MTASC-safety properties.
33654         * manual/llio.texi: Document MTASC-safety properties.
33656         * manual/libdl.texi: New.
33658         * manual/lang.texi: Document MTASC-safety properties.
33660         * manual/job.texi: Document MTASC-safety properties.
33662         * manual/getopt.texi: Document MTASC-safety properties.
33664         * manual/ctype.texi: Document MTASC-safety properties.
33666 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33668         [BZ #16046]
33669         * csu/libc-tls.c (static_map): Remove variable.
33670         (__libc_setup_tls): Use main executable's link map for TLS data.
33671         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33672         casing for LM_ID_BASE and GL(dl_nns).
33673         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33674         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33675         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33676         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33677         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33678         member.
33679         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33680         l_phnum members.
33682 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33684         * manual/debug.texi: Document MTASC-safety properties.
33686 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33688         [BZ #16510]
33689         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33690         of __x86_64__ when disabling x87 inline functions.
33692 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33694         * manual/charset.texi: Document MTASC-safety properties.
33696         * manual/crypt.texi: Document MTASC-safety properties.
33698         * manual/conf.texi: Document MTASC-safety properties.
33700         * manual/arith.texi: Document MTASC-safety properties.
33702         * manual/argp.texi: Document MTASC-safety properties.
33704         * manual/macros.texi: Introduce macros to document multi
33705         thread, asynchronous signal and asynchronous cancellation
33706         safety properties.
33707         * manual/intro.texi: Introduce the properties themselves.
33709 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33711         * sysdeps/sh/sh4/Makefile: New file.
33713 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33715         * math/gen-libm-test.pl ($srcdir): New variable.
33716         ($auto_input): Use it.
33718 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33720         [BZ #16506]
33721         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33722         access beyond array bounds when parsing netgroups file.
33724         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33725         the old buffer before realloc.
33727 2014-01-27  Allan McRae  <allan@archlinux.org>
33729         * po/fr.po: Update French translation from translation project.
33731 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33733         * sysdeps/sh/libm-test-ulps: Regenerate.
33735 2014-01-24  David S. Miller  <davem@davemloft.net>
33737         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33739 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33742         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33744 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33746         [BZ #16474]
33747         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33748         string pointers after reallocation.
33750 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33752         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33753         __SH4A__ instead of __SH_FPU_ANY__.
33755 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33757         * sysdeps/sh/fpu_control.h: New file.
33758         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33759         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33760         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33761         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33762         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33763         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33764         * sysdeps/sh/sys/ucontext.h: Remove.
33765         * sysdeps/sh/sys: Remove directory.
33767 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33769         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33770         s390/sys/ucontext.h.
33771         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33772         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33774 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33776         [BZ #15605]
33777         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33779 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33781         [BZ#16431]
33782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33783         Adjust the vDSO correctly for internal calls.
33784         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33786 2014-01-20  Allan McRae  <allan@archlinux.org>
33788         * po/ca.po: Update Catalan translation from translation project.
33790 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33792         * sysdeps/s390/sotruss-lib.c: New file.
33794 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33796         [BZ#16430]
33797         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33798         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33799         local calls issues by not having a PLT stub required for IFUNC calls.
33800         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33802 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33804         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33805         * math/test-fpucw-static.c: Likewise.
33807 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33809         [BZ #16453]
33810         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33812 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33814         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33815         implementation for powerpc.
33817 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33819         [BZ #14782]
33820         * sysdeps/posix/system.c (__libc_system): Do not enable
33821         asynchronous cancellation.
33823 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33825         [BZ #16427]
33826         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33827         handling only for numbers special also in the IEEE case.
33829 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33831         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33833 2014-01-11  Allan McRae  <allan@archlinux.org>
33835         * po/bg.po: Update Bulgarian translation from translation project.
33837         * po/de.po: Update German translation from translation project.
33839 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33841         * sysdeps/generic/gcc-compat.h: New file.
33843 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33845         * benchtests/asin-inputs: Correct slow inputs.
33846         * benchtests/acos-inputs: Likewise.
33848 2014-01-10  Allan McRae  <allan@archlinux.org>
33850         * po:sv.po: Update Swedish translation from translation project.
33852         * po/vi.po: Update Vietnamese translation from translation project.
33854         * po/eo.po: Update Esperanto translation from translation project.
33856         * po/cs.po: Update Czech translation from translation project.
33858         * po/nl.po: Update Dutch translation from translation project.
33860         * po/pl.po: Update Polish translation from translation project.
33862         * po/ru.po: Update Russian translation from translation project.
33864         * po/uk.po: Update Ukrainian translation from translation project.
33866 2014-01-08  Brooks Moses  <bmoses@google.com>
33868         * elf/dl-load.c: Fix comment typo.
33870 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33872         * po/header.pot: Rename to...
33873         * po/pot.header: ... this.
33874         * po/Makefile: Use pot.header.
33876 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33877             Maxim Kuvyrkov  <maxim@kugelworks.com>
33879         [BZ #16394]
33880         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33881         SRC and DEST against LEN.
33883 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33885         [BZ #16414]
33886         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33887         implementation.
33888         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33890 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33894 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33896         [BZ #16408]
33897         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33898         for large positive arguments.
33900 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33902         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33904         * math/auto-libm-test-in: Mark various tests with
33905         xfail-rounding:ldbl-128ibm.
33906         * math/auto-libm-test-out: Regenerated.
33908         [BZ #16407]
33909         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33910         Increase overflow threshold.
33912 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33914         [BZ #14286]
33915         * stdio-common/vfprintf.c: Check for integer overflow.
33917 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33919         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33920         the first argument and return value of __tls_get_addr_internal.
33922 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33924         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33925         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33927 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33929         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33930         * sysdeps/s390/rtld-global-offsets.sym: New file.
33931         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33932         GLIBC_2.19 symbol.
33933         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33934         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33935         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33936         ... this.
33937         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33938         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33939         ... this.
33940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33941         Regenerate.
33942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33943         Regenerate.
33944         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33945         halfs of GPRs for high_gprs contexts.
33946         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33947         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33948         field.
33949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33950         uc_flags field.
33951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33952         64 bit versions:
33953         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33954         for high GPRs (uc_high_gprs) and for future extensions
33955         (__reserved).
33956         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33957         for future extensions (__reserved).
33958         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33959         64 bit versions:
33960         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33961         SC_HIGHGPRS offset definition.
33962         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33963         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33965         * Versions.def: Add GLIBC_2.19 for libpthread.
33966         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33967         siglongjmp for libpthread with GLIBC_2.19 symver.
33968         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33969         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33970         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33971         * sysdeps/s390/__longjmp.c: New file.
33972         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33973         * sysdeps/s390/longjmp.c: New file.
33974         * sysdeps/s390/setjmp.S: New file.
33975         * sysdeps/s390/sigjmp.S: New file.
33976         * sysdeps/s390/v1-longjmp.c: New file.
33977         * sysdeps/s390/v1-setjmp.h: New file.
33978         * sysdeps/s390/v1-sigjmp.c: New file.
33979         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33980         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33981         GLIBC_2.19 version.
33982         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33983         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33984         versioned symbols for ____longjmp_chk.
33985         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33986         Likewise.
33987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33988         Regenerate.
33989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33990         Regenerate.
33991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33992         Regenerate.
33993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33994         Regenerate.
33995         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33996         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33997         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33998         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33999         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34000         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34001         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34002         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34003         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34004         * sysdeps/s390/rtld-__longjmp.c: New file.
34005         * sysdeps/s390/rtld-setjmp.S: New file.
34007 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34009         [BZ #16400]
34010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34011         Return -__logl (x) for small positive arguments without evaluating
34012         a polynomial.
34014 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34016         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34017         Rename to ...
34018         (__ptrace_peeksiginfo_args): ... this.
34019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34023 2014-01-06  Allan McRae  <allan@archlinux.org>
34025         * inet/netinet/in.h: Fix typo in comment.
34027 2014-01-05  Andreas Jaeger  <aj@suse.de>
34029         * sysdeps/i386/fpu/libm-test-ulps: Update.
34031 2014-01-05  Allan McRae  <allan@archlinux.org>
34033         * po/libc.pot: Regenerated.
34035         * malloc/memusagestat.c: Fix gettext call formatting.
34037 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34039         * nscd/nscd.c: Improve usage() output.
34041 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34043         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34044         * sysdeps/unix/sysv/linux/configure: Regenerated.
34045         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34046         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34048 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34050         [BZ #16390]
34051         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34052         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34054 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34056         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34057         extra tokens at end of #undef directive.
34058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34059         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34062 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34064         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34066         * math/auto-libm-test-in: Mark various tests with
34067         xfail-rounding:ldbl-128ibm.
34068         * math/auto-libm-test-out: Regenerated.
34070 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34072         [BZ #16386]
34073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34074         numbers with subnormal high part when calculating exponent.
34076         [BZ #16385]
34077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34078         fabs.
34080         [BZ #16384]
34081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34082         M_LN2l.
34083         (__ieee754_acoshl): Use __log1pl not __log1p.
34085 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34087         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34088         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34089         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34090         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34091         (reused_arena, arena_get2): Convert to GNU style.
34092         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34093         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34094         (memalign_check, __malloc_set_state): Likewise.
34095         * malloc/mallocbug.c (main): Likewise.
34096         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34097         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34098         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34099         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34100         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34101         (__posix_memalign, malloc_info): Likewise.
34102         * malloc/malloc.h: Likewise.
34103         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34104         (mallochook, memalignhook, reallochook, mabort): Likewise.
34105         * malloc/mcheck.h: Likewise.
34106         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34107         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34108         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34109         * malloc/morecore.c (__default_morecore): Likewise.
34110         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34111         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34112         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34113         (print_and_abort): Likewise.
34114         * malloc/obstack.h: Likewise.
34115         * malloc/set-freeres.c (__libc_freeres): Likewise.
34116         * malloc/tst-mallocstate.c (main): Likewise.
34117         * malloc/tst-mtrace.c (main): Likewise.
34118         * malloc/tst-realloc.c (do_test): Likewise.
34120 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34122         [BZ #16366]
34123         * nscd/netgroupcache.c (do_notfound): New function.
34124         (addgetnetgrentX): Use it.
34126         [BZ # 16365]
34127         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34128         NSS_STATUS_NOTFOUND.
34130 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34135 2014-01-01  Allan McRae  <allan@archlinux.org>
34137         * scripts/update-copyrights: Update configure input file suffix.
34139         * NEWS: Update copyright year.
34140         * catgets/gencat.c: Likewise.
34141         * csu/version.c: Likewise.
34142         * debug/catchsegv.sh: Likewise.
34143         * debug/pcprofiledump.c: Likewise.
34144         * debug/xtrace.sh: Likewise.
34145         * elf/ldconfig.c: Likewise.
34146         * elf/ldd.bash.in: Likewise.
34147         * elf/pldd.c: Likewise.
34148         * elf/sotruss.ksh: Likewise.
34149         * elf/sprof.c: Likewise.
34150         * iconv/iconv_prog.c: Likewise.
34151         * iconv/iconvconfig.c: Likewise.
34152         * locale/programs/locale.c: Likewise.
34153         * locale/programs/localedef.c: Likewise.
34154         * login/programs/pt_chown.c: Likewise.
34155         * malloc/memusage.sh: Likewise.
34156         * malloc/memusagestat.c: Likewise.
34157         * malloc/mtrace.pl: Likewise.
34158         * manual/libc.texinfo: Likewise.
34159         * nscd/nscd.c: Likewise.
34160         * nss/getent.c: Likewise.
34161         * nss/makedb.c: Likewise.
34162         * posix/getconf.c: Likewise.
34163         * scripts/test-installation.pl: Likewise.
34165         * All files with FSF copyright notices: Update copyright dates
34166         using scripts/update-copyrights.
34167         * intl/plural.c: Regenerated.
34168         * locale/programs/charmap-kw.h: Likewise.
34169         * locale/programs/locfile-kw.h: Likewise.
34171 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34173         * sysdeps/unix/sysv/linux/configure: Regenerated.
34174         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34175         the linux/fanotify.h header.
34176         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34177         HAVE_LINUX_FANOTIFY_H is defined.
34179 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34181         * benchtests/cos-inputs: New inputs.
34182         * benchtests/sin-inputs: Likewise.
34184         * benchtests/atan-inputs: New inputs. Fix name of multiple
34185         precision fallback inputs.
34187         * benchtests/atanh-inputs: New inputs.
34188         * benchtests/tanh-inputs: Likewise.
34190         * benchtests/acosh-inputs: New inputs.
34191         * benchtests/asinh-inputs: Likewise.
34193         * benchtests/cosh-inputs: New inputs.
34194         * benchtests/sinh-inputs: Likewise.
34196         * benchtests/acos-inputs: Add more inputs.
34197         * benchtests/asin-inputs: Likewise.
34199 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34201         [BZ #16375]
34202         * manual/arith.texi: Fix spelling.
34203         * manual/charset.texi: Likewise.
34204         * manual/errno.texi: Likewise.
34205         * manual/filesys.texi: Likewise.
34206         * manual/lang.texi: Likewise.
34207         * manual/llio.texi: Likewise.
34208         * manual/locale.texi: Likewise.
34209         * manual/message.texi: Likewise.
34210         * manual/resource.texi: Likewise.
34211         * manual/search.texi: Likewise.
34212         * manual/setjmp.texi: Likewise.
34213         * manual/stdio.texi: Likewise.
34214         * manual/string.texi: Likewise.
34215         * manual/sysinfo.texi: Likewise.
34216         * manual/time.texi: Likewise.
34218 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34220         * po/sl.po: New file.
34222 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34224         * .gitignore: Add core/.gdbinit/.gdb_history.
34226 2013-12-27  Allan McRae  <allan@archlinux.org>
34228         [BZ #16369]
34229         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34230         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34232 2013-12-24  Brooks Moses  <bmoses@google.com>
34234         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34235         all compilers that claim C++98 compliance, not just GCC.
34236         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34237         Likewise.
34239 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34241         * NEWS: Restore accidentally deleted bug-fix entries.
34243 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34244             Ondřej Bílka  <neleai@seznam.cz>
34246         [BZ #15073]
34247         * malloc/malloc.c (_int_free): Perform sanity check only if we
34248         have_lock.
34250 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34252         [BZ #12986]
34253         * manual/stdio.texi (String Input Conversions): Clarify that character
34254         classes are not supported.
34256 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34260 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34262         [BZ #16337]
34263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34264         Calculate results for small negative arguments directly rather
34265         than using reflection formula with special underflow handling.
34267         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34268         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34269         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34270         (fchflags): Likewise.
34271         (revoke): Likewise.
34272         (setlogin): Likewise.
34273         (sigaltstack): Likewise.
34274         (wait4): Likewise.
34275         (sigblock): Remove.
34276         (sigsetmask): Likewise.
34277         (wait3): Likewise.
34278         (waitpid): Likewise.
34279         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34280         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34281         file.
34282         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34283         * sysdeps/unix/bsd/Makefile: ... here.
34284         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34285         * sysdeps/unix/bsd/Versions: ... here.
34286         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34287         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34288         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34289         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34290         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34291         * sysdeps/unix/bsd/sigblock.c: ... here.
34292         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34293         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34294         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34295         * sysdeps/unix/bsd/sigvec.c: ... here.
34296         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34297         * sysdeps/unix/bsd/tcdrain.c: ... here.
34298         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34299         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34300         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34301         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34302         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34303         * sysdeps/unix/bsd/wait.c: ... here.
34304         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34305         * sysdeps/unix/bsd/wait3.c: ... here.
34306         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34307         * sysdeps/unix/bsd/waitpid.c: ... here.
34309 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34311         [BZ #16356]
34312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34313         round-to-nearest for [!USE_AS_EXPM1L].
34314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34315         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34316         more tests of exp and exp10.  Expect some exp10 tests to miss
34317         exceptions or fail in directed rounding modes.
34318         * math/auto-libm-test-out: Regenerated.
34319         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34320         (exp10_test_tonearest): New function.
34321         (exp10_towardzero_test_data): New array.
34322         (exp10_test_towardzero): New function.
34323         (exp10_downward_test_data): New array.
34324         (exp10_test_downward): New function.
34325         (exp10_upward_test_data): New array.
34326         (exp10_test_upward): New function.
34327         (main): Call the new functions.
34328         * sysdeps/i386/fpu/libm-test-ulps: Update.
34329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34331 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34333         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34334         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34335         * math/auto-libm-test-out: Regenerated.
34336         * math/libm-test.inc (acosh_test_data): Add more tests.
34337         (atanh_test_data): Likewise.
34338         (ceil_test_data): Likewise.
34339         (copysign_test_data): Likewise.
34340         * sysdeps/i386/fpu/libm-test-ulps: Update.
34341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34343         * timezone/checktab.awk: Update from tzcode 2013i.
34344         * timezone/private.h: Likewise.
34345         * timezone/scheck.c: Likewise.
34346         * timezone/tzfile.h: Likewise.
34347         * timezone/tzselect.ksh: Likewise.
34348         * timezone/zdump.c: Likewise.
34349         * timezone/zic.c: Likewise.
34351         * math/auto-libm-test-in: Add tests of cpow.
34352         * math/auto-libm-test-out: Regenerated.
34353         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34355         mpc_cc_c.
34356         (func_calc_desc): Add mpc_cc_c union field.
34357         (test_functions): Add cpow.
34358         (special_fill_2pi): New function.
34359         (special_real_inputs): Add 2pi.
34360         (calc_generic_results): Handle mpc_cc_c.
34361         * sysdeps/i386/fpu/libm-test-ulps: Update.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34364         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34365         csqrt, ctan and ctanh.
34366         * math/auto-libm-test-out: Regenerated.
34367         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34368         (TEST_COND_x86): Likewise.
34369         (ccos_test_data): Use AUTO_TESTS_c_c.
34370         (ccosh_test_data): Likewise.
34371         (cexp_test_data): Likewise.
34372         (clog_test_data): Likewise.
34373         (csqrt_test_data): Likewise.
34374         (ctan_test_data): Likewise.
34375         (ctan_tonearest_test_data): Likewise.
34376         (ctan_towardzero_test_data): Likewise.
34377         (ctan_downward_test_data): Likewise.
34378         (ctan_upward_test_data): Likewise.
34379         (ctanh_test_data): Likewise.
34380         (ctanh_tonearest_test_data): Likewise.
34381         (ctanh_towardzero_test_data): Likewise.
34382         (ctanh_downward_test_data): Likewise.
34383         (ctanh_upward_test_data): Likewise.
34384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34385         mpc_c_c.
34386         (func_calc_desc): Add mpc_c_c union field.
34387         (FUNC_mpc_c_c): New macro.
34388         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34389         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34390         ctanh.
34391         (special_fill_min_subnorm_p120): New function.
34392         (special_real_inputs): Add min_subnorm_p120.
34393         (calc_generic_results): Handle mpc_c_c.
34394         * sysdeps/i386/fpu/libm-test-ulps: Update.
34395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34399         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34400         (do_sin_slow): New functions.
34401         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34402         (cslow2, csloww1, csloww2): Use the new functions.
34404         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34405         Use M to change sign of result instead of X.  Assume X is
34406         positive.
34407         (csloww1): Likewise.
34408         (__sin): Adjust.
34409         (__cos): Adjust.
34411         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34412         arguments A and DA.
34413         (__sin): Adjust.
34414         (__cos): Likewise.
34416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34417         (__cos): Likewise.
34418         (sloww1): Don't adjust sign of DX.
34419         (csloww1): Likewise.
34420         (sloww2): Use X directly and don't adjust sign of DX.
34421         (csloww2): Likewise.
34423 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34425         * math/auto-libm-test-in: Add tests of cabs and carg.
34426         * math/auto-libm-test-out: Regenerated.
34427         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34428         (carg_test_data): Likewise.
34429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34430         mpc_c_f.
34431         (func_calc_desc): Add mpc_c_f union field.
34432         (test_functions): Add cabs and carg.
34433         (calc_generic_results): Handle mpc_c_f.
34435         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34436         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34437         as a macro and a compat symbol.
34438         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34439         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34440         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34441         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34442         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34443         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34444         not use .hidden.
34445         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34446         Likewise.
34447         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34448         Likewise.
34449         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34450         Likewise.
34451         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34452         Likewise.
34453         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34454         Likewise.
34455         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34456         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34457         from GLIBC_2.3.2.
34459 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34463 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34465         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34466         trailing whitespace removed.
34467         * scripts/config.guess: Update to version 2013-11-29.
34468         * scripts/config.sub: Update to version 2013-10-01.
34470         * math/auto-libm-test-in: Add tests of sincos.
34471         * math/auto-libm-test-out: Regenerated.
34472         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34474         mpfr_f_11.
34475         (func_calc_desc): Add mpfr_f_11 union field.
34476         (test_functions): Add sincos.
34477         (calc_generic_results): Handle mpfr_f_11.
34478         * sysdeps/i386/fpu/libm-test-ulps: Update.
34479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34481 2013-12-19  Andreas Schwab  <schwab@suse.de>
34483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34484         CALL_MCOUNT.
34485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34486         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34487         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34489 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34491         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34492         * sysdeps/i386/fpu/libm-test-ulps: Update.
34493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34495         [BZ #16293]
34496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34497         round-to-nearest mode when using frndint.
34498         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34499         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34501         Likewise.
34502         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34503         sinh test to fail.
34504         * math/auto-libm-test-out: Regenerated.
34505         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34506         (TEST_COND_x86): Likewise.
34507         (expm1_tonearest_test_data): New array.
34508         (expm1_test_tonearest): New function.
34509         (expm1_towardzero_test_data): New array.
34510         (expm1_test_towardzero): New function.
34511         (expm1_downward_test_data): New array.
34512         (expm1_test_downward): New function.
34513         (expm1_upward_test_data): New array.
34514         (expm1_test_upward): New function.
34515         (main): Run the new test functions.
34516         * sysdeps/i386/fpu/libm-test-ulps: Update.
34517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34519         * include/features.h: Update comment documenting feature test
34520         macros.  Mention _DEFAULT_SOURCE in comment.
34521         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34522         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34523         _BSD_SOURCE and _SVID_SOURCE.
34524         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34525         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34526         !_SVID_SOURCE]: Likewise.
34527         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34528         (__USE_POSIX_IMPLICITLY): Define.
34529         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34530         (_POSIX_SOURCE): Undefine and redefine.
34531         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34532         (_POSIX_C_SOURCE): Likewise.
34533         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34534         (Feature Test Macros): Update documentation of default features.
34536 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34538         * benchtests/Makefile: Add bench-strtok.
34539         * benchtests/bench-strtok.c: New file: strtok benchtest.
34541 2013-12-19  Allan McRae  <allan@archlinux.org>
34543         * manual/install.texi: Suppress menu for plain text output.
34544         * INSTALL: Regenerated.
34546 2013-12-18  Brooks Moses  <bmoses@google.com>
34548         [BZ #15846]
34549         * misc/getauxval.c: Include errno.h.
34550         (__getauxval): Set errno to ENOENT if the requested type is not
34551         found.
34552         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34553         don't declare with __attribute_const__.
34554         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34555         * manual/startup.texi: Document that getauxval sets errno.
34557 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34559         * math/auto-libm-test-in: Add tests of jn and yn.
34560         * math/auto-libm-test-out: Regenerated.
34561         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34562         (yn_test_data): Likewise.
34563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34564         mpfr_if_f.
34565         (func_calc_desc): Add mpfr_if_f union field.
34566         (FUNC_mpfr_if_f): New macro.
34567         (test_functions): Add jn and yn.
34568         (calc_generic_results): Assert type of second input for
34569         mpfr_ff_f.  Handle mpfr_if_f.
34570         (output_for_one_input_case): Disable all checking for arguments
34571         fitting floating-point types in case of an integer argument.
34572         * sysdeps/i386/fpu/libm-test-ulps: Update.
34573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34576         Don't expect fegetround reference in libm.so.
34578 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34580         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34581         $(config-cflags-nofma).
34583 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34585         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34586         * math/auto-libm-test-out: Regenerated.
34588         [BZ #16338]
34589         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34590         to determine exponent and adjust argument to have exponent of -1.
34591         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34592         log2.
34593         * math/auto-libm-test-out: Regenerated.
34594         * sysdeps/i386/fpu/libm-test-ulps: Update.
34595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34597 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34599         * manual/probes.texi: Remove cases when per-thread arenas are
34600         disabled.
34602 2013-12-18  Andreas Schwab  <schwab@suse.de>
34604         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34605         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34606         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34607         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34608         * sysdeps/i386/i686/multiarch/Makefile: Update.
34609         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34611 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34613         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34614         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34616 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34618         [BZ #15968]
34619         Support TZ transition times < 00:00:00.
34620         This is needed for version-3 tz-format files; it supports time
34621         stamps past 2037 for America/Godthab (the only entry in the tz
34622         database for which this change is relevant).
34623         * manual/time.texi (TZ Variable): Document transition times
34624         from -167:59:59 through -00:00:01.
34625         * time/tzset.c (tz_rule): Time of day is now signed.
34626         (__tzset_parse_tz): Parse negative time of day.
34628         Document TZ transition times >= 25:00:00.
34629         * manual/time.texi (TZ Variable): Document transition times from
34630         25:00:00 through 167:59:59.  These are already supported, and this
34631         support will help with version-3 tz-format files.
34633         * manual/time.texi (TZ Variable): Modernize North America example
34634         to reflect current (i.e., 2007-and-later) daylight saving rules.
34636         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34638 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34640         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34641         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34644         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34645         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34646         * sysdeps/unix/bsd/clock.c: Likewise.
34647         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34648         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34649         * sysdeps/unix/bsd/init-posix.c: Likewise.
34650         * sysdeps/unix/bsd/poll.c: Likewise.
34651         * sysdeps/unix/bsd/ptsname.c: Likewise.
34652         * sysdeps/unix/bsd/seekdir.c: Likewise.
34653         * sysdeps/unix/bsd/setegid.c: Likewise.
34654         * sysdeps/unix/bsd/seteuid.c: Likewise.
34655         * sysdeps/unix/bsd/setgid.c: Likewise.
34656         * sysdeps/unix/bsd/setrgid.c: Likewise.
34657         * sysdeps/unix/bsd/setruid.c: Likewise.
34658         * sysdeps/unix/bsd/setsid.c: Likewise.
34659         * sysdeps/unix/bsd/setuid.c: Likewise.
34660         * sysdeps/unix/bsd/sigaction.c: Likewise.
34661         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34662         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34663         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34664         * sysdeps/unix/bsd/telldir.c: Likewise.
34665         * sysdeps/unix/bsd/times.c: Likewise.
34666         * sysdeps/unix/bsd/usleep.c: Likewise.
34668         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34669         ($(objpfx)libbsd-compat.a): Remove rule.
34671         * include/features.h (__FAVOR_BSD): Do not define.
34672         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34673         features conflicting with POSIX.
34674         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34675         (_BSD_SOURCE): Remove description of not being a subset of other
34676         feature test macros.
34677         * manual/job.texi (getpgrp): Do not document BSD version.
34678         (getpgid): Do not document by reference to BSD getpgrp.
34679         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34680         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34681         * signal/signal.h [__FAVOR_BSD]: Likewise.
34682         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34683         instead of making contents conditional on [__FAVOR_BSD].
34684         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34686 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34690 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34692         [BZ #16314]
34693         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34694         values below 2**-450, not 2**-500.
34695         * math/auto-libm-test-in: Don't allow spurious underflow from
34696         hypot.
34697         * math/auto-libm-test-out: Regenerated.
34699         [BZ #16316]
34700         [BZ #16330]
34701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34702         values of ha and hb and sort them after adjusting subnormal
34703         arguments.
34704         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34705         Likewise.
34706         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34707         values of ea and eb and sort them after adjusting subnormal
34708         arguments.
34709         * math/auto-libm-test-in: Do not expect some hypot tests of
34710         subnormals to fail.  Add more hypot tests.
34711         * math/auto-libm-test-out: Regenerated.
34713 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34715         [BZ #13304]
34716         * sysdeps/sh/s_fma.c: New file.
34717         * sysdeps/sh/s_fmaf.c: New file.
34718         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34719         version.
34720         * sysdeps/sh/Implies: Add sh/soft-fp.
34722 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34724         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34725         level of indirection to members `objname', `errstring', `malloced'.
34726         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34727         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34728         it as the __longjmp argument (just pass 1 instead).
34729         (_dl_catch_error): Initialize C with argument pointers and address of
34730         volatile local ERRCODE rather than copying values out of C at return.
34732 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34734         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34735         * math/auto-libm-test-out: Regenerated.
34736         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34737         (hypot_test_data): Likewise.
34738         (pow_test_data): Likewise.
34739         (pow_tonearest_test_data): Likewise.
34740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34741         mpfr_ff_f.
34742         (func_calc_desc): Add mpfr_ff_f union field.
34743         (FUNC_mpfr_ff_f): New macro.
34744         (test_functions): Add atan2, hypot and pow.
34745         (special_fill_min): New function.
34746         (special_fill_minus_min): Likewise.
34747         (special_fill_min_subnorm): Likewise.
34748         (special_fill_minus_min_subnorm): Likewise.
34749         (special_real_inputs): Add min, -min, min_subnorm and
34750         -min_subnorm.
34751         (calc_generic_results): Handle mpfr_ff_f.
34752         * sysdeps/i386/fpu/libm-test-ulps: Update.
34753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34755 2013-12-16  Will Newton  <will.newton@linaro.org>
34757         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34758         (Aligned Memory Blocks): Add documentation for aligned_alloc
34759         and suggest it as an alternative to posix_memalign.
34760         (Hooks for Malloc): Document __memalign_hook is also called
34761         for aligned_alloc.  (Summary of Malloc): Add summary for
34762         aligned alloc.  Document __memalign_hook is also called
34763         for aligned_alloc.
34765 2013-12-16  Will Newton  <will.newton@linaro.org>
34767         * manual/memory.texi (Malloc Examples): Clarify default
34768         alignment documentation.  Suggest posix_memalign rather
34769         than memalign or valloc.
34770         (Aligned Memory Blocks): Remove suggestion to use memalign
34771         or valloc.  Remove obsolete comment about BSD.
34772         Document memalign errno values and mark the function obsolete.
34773         Document posix_memalign returned error codes.  Mark valloc
34774         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34775         called for posix_memalign and valloc.
34776         (Summary of Malloc): Add posix_memalign to function summary.
34777         __memalign_hook is also called for posix_memalign and valloc.
34779 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34781         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34782         TAYLOR_SIN.
34783         (__sin): Adjust.
34784         (__cos): Likewise.
34785         (sloww): Use mynumber union.  Expand ternary operator into
34786         if-else statements.
34787         (cslow): use mynumber union.
34789 2013-12-16  Allan McRae  <allan@archlinux.org>
34791         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34792         * configure: Regenerated.
34794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34796         [BZ #14120]
34797         * configure.ac: Added --enable-maintainer-mode. Check for
34798         autoconf when enabled.
34799         * configure: Regenerated.
34801         * nscd/nscd.service: New file.
34802         * nscd/nscd.tmpfiles: New file.
34804 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34806         [BZ #12100]
34807         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34808         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34809         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34810         (strstr): Add __strstr_sse2_unaligned ifunc.
34811         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34812         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34813         (strcasestr): Remove __strcasestr_sse42 ifunc.
34814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34818 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34820         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34821         * sysdeps/sh/bits/fenv.h: ... here.
34822         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34824 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34826         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34829         hypotf multiarch implementations.
34830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34833         multiarch hypot for PPC64.
34834         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34837         multiarch hypotf for PPC64.
34839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34840         modff multiarch implementations.
34841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34844         multiarch modf for PPC64.
34845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34848         multiarch modff for PPC64.
34850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34851         and logl multiarch implementations.
34852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34855         multiarch logb for PPC64.
34856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34859         multiarch logb for PPC64.
34860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34863         multiarch logb for PPC64.
34865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34866         isinff multiarch implementation.
34867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34868         file.
34869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34871         multiarch isinf for PPC64.
34872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34873         file.
34874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34875         multiarch isinff for PPC64.
34877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34878         finitef multiarch implementation.
34879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34880         file.
34881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34883         multiarch finite for PPC64.
34884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34885         file.
34886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34887         multiarch finitef for PPC64.
34889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34890         lrint multiarch implementation.
34891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34892         file.
34893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34895         multiarch llrint for PPC64.
34896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34897         multiarch lrint for PPC64.
34899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34900         copysignf multiarch implementation.
34901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34902         file.
34903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34904         file.
34905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34906         multiarch copysign for PPC64.
34907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34908         multiarch copysignf for PPC64.
34910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34911         multiarch implementation.
34912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34913         file.
34914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34915         file.
34916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34917         file.
34918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34919         file.
34920         multiarch llround for PPC64.
34921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34922         multiarch trunc for PPC64.
34923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34924         multiarch truncf for PPC64.
34926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34927         multiarch implementation.
34928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34929         file.
34930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34931         file.
34932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34933         file.
34934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34935         file.
34936         multiarch llround for PPC64.
34937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34938         multiarch round for PPC64.
34939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34940         multiarch roundf for PPC64.
34942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34943         multiarch implementation.
34944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34945         file.
34946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34947         file.
34948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34949         file.
34950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34951         file.
34952         multiarch llround for PPC64.
34953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34954         multiarch floor for PPC64.
34955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34956         multiarch floorf for PPC64.
34958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34959         multiarch implementation.
34960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34961         file.
34962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34963         file.
34964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34965         file.
34966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34967         file.
34968         multiarch llround for PPC64.
34969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34970         multiarch ceil for PPC64.
34971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34972         multiarch ceilf for PPC64.
34974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34975         multiarch implementation.
34976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34977         file.
34978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34979         file.
34980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34981         file.
34982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34983         multiarch llround for PPC64.
34984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34985         multiarch lround for PPC64.
34987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34988         multiarch implementation.
34989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34992         file.
34993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34996         multiarch isnan for PPC64.
34997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34998         multiarch isnanf for PPC64.
35000         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35001         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35002         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35003         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35004         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35007         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35008         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35013         multiarch implementations.
35014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35015         (__libc_ifunc_impl_list): Likewise.
35016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35019         multiarch stpcpy for PPC64.
35021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35022         multiarch implementations.
35023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35024         (__libc_ifunc_impl_list): Likewise.
35025         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35026         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35027         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35028         multiarch strcpy for PPC64.
35030         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35031         redefine function name.
35032         (_wordcopy_fwd_dest_aligned): Likewise.
35033         (_wordcopy_bwd_aligned): Likewise.
35034         (_wordcopy_bwd_dest_aligned): Likewise.
35035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35036         multiarch implementations.
35037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35038         (__libc_ifunc_impl_list): Likewise.
35039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35042         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35043         multiarch wcscpy for PPC64.
35045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35046         multiarch implementations.
35047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35048         (__libc_ifunc_impl_list): Likewise.
35049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35050         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35051         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35052         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35053         multiarch wcscpy for PPC64.
35055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35056         multiarch implementations.
35057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35058         (__libc_ifunc_impl_list): Likewise.
35059         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35060         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35061         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35062         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35063         multiarch wcsrchr for PPC64.
35065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35066         multiarch implementations.
35067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35068         (__libc_ifunc_impl_list): Likewise.
35069         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35070         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35071         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35072         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35073         multiarch wcschr for PPC64.
35075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35076         multiarch implementations.
35077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35078         (__libc_ifunc_impl_list): Likewise.
35079         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35080         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35081         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35082         multiarch strchrnul for PPC64.
35084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35085         implementations.
35086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35087         (__libc_ifunc_impl_list): Likewise.
35088         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35089         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35090         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35091         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35092         strchr for PPC64.
35094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35095         implementations.
35096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35097         (__libc_ifunc_impl_list): Likewise.
35098         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35099         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35100         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35101         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35102         strncmp for PPC64.
35104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35105         multiarch implementations.
35106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35107         (__libc_ifunc_impl_list): Likewise.
35108         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35109         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35110         strncasecmp for PPC64.
35111         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35112         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35113         multiarch strncasecmp_l for PPC64.
35115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35116         multiarch implementations.
35117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35118         (__libc_ifunc_impl_list): Likewise.
35119         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35120         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35121         multiarch strcasecmp for PPC64.
35122         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35123         file.
35124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35125         multiarch strcasecmp_l for PPC64.
35127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35128         implementations.
35129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35130         (__libc_ifunc_impl_list): Likewise.
35131         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35132         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35133         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35134         strnlen for PPC64.
35136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35137         implementations.
35138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35139         (__libc_ifunc_impl_list): Likewise.
35140         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35141         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35142         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35143         strlen for PPC64.
35145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35146         implementations.
35147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35148         (__libc_ifunc_impl_list): Likewise.
35149         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35150         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35151         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35152         rawmemrchr for PPC64.
35154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35155         implementation.
35156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35157         (__libc_ifunc_impl_list): Likewise.
35158         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35159         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35160         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35161         memrchr for PPC64.
35163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35164         implementation.
35165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35166         (__libc_ifunc_impl_list): Likewise.
35167         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35168         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35169         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35170         memchr for PPC64.
35172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35173         implementation.
35174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35175         (__libc_ifunc_impl_list): Likewise.
35176         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35177         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35178         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35179         mempcpy for PPC64.
35181         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35182         avoid cretion of __bzero symbol.
35183         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35184         Likewise.
35185         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35186         Likewise.
35187         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35188         Likewise.
35189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35190         multiarch implementations.
35191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35192         (__libc_ifunc_impl_list): Likewise.
35193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35196         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35197         bzero for PPC32.
35198         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35199         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35200         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35201         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35202         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35203         memset for PPC64.
35204         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35206         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35208         implementations.
35209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35210         (__libc_ifunc_impl_list): Likewise.
35211         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35212         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35214         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35215         memcmp for PPC64.
35217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35218         multiarch for POWER/PPC64.
35219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35220         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35221         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35222         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35227         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35228         memcpy for PPC64.
35230         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35231         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35232         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35233         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35234         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35235         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35236         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35237         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35238         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35239         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35240         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35241         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35242         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35243         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35244         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35253 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35257 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35259         * benchtests/Makefile (bench): Add exp2 and log2.
35260         (LDLIBS-bench-exp2): Add -lm.
35261         (LDLIBS-bench-log2): Likewise.
35262         * benchtests/exp2-inputs: New inputs file.
35263         * benchtests/log2-inputs: New inputs file.
35264         * benchtests/log-inputs: Add new inputs.
35265         * benchtests/tan-inputs: Likewise.
35267 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35269         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35270         definition...
35271         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35272         (csloww2): ... from here.
35274         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35275         instead of structures.
35276         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35277         (POLYNOMIAL): Likewise.
35278         (TAYLOR_SLOW): Likewise.
35279         (__sin): Likewise.
35280         (__cos): Likewise.
35281         (slow1): Likewise.
35282         (slow2): Likewise.
35283         (sloww): Likewise.
35284         (sloww1); Likewise.
35285         (sloww2): Likewise.
35286         (bsloww1): Likewise.
35287         (bsloww2): Likewise.
35288         (cslow2): Likewise.
35289         (csloww): Likewise.
35290         (csloww1): Likewise.
35291         (csloww2): Likewise.
35293 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35295         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35296         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35297         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35298         * malloc/hooks.c (realloc_check): Likewise.
35300         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35301         * malloc/arena.c: Remove PER_THREAD conditional.
35302         [!PER_THREAD]: Remove code.
35303         (ptmalloc_unlock_all2): Likewise.
35304         (ptmalloc_init): Likewise.
35305         (_int_new_arena): Likewise.
35306         (arena_get2): Likewise.
35307         * malloc/hooks.c (__malloc_get_state): Likewise.
35308         (__malloc_set_state): Likewise.
35309         * malloc/malloc.c: Likewise.
35310         (struct malloc_state): Likewise.
35311         (struct malloc_par): Likewise.
35312         (__libc_realloc): Likewise.
35313         (__libc_mallopt): Likewise.
35315 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35317         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35319 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35321         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35322         macro to a function.  Check for zero perturb_byte.
35323         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35325         * malloc/malloc.c: (force_reg): Remove.
35326         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35327         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35328         force_reg by atomic_forced_read.
35329         * malloc/arena.c (ptmalloc_init): Likewise.
35330         * malloc/hooks.c (top_check): Likewise.
35332 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35336 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35340 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35342         * math/auto-libm-test-in: Add tests of lgamma.
35343         * math/auto-libm-test-out: Regenerated.
35344         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35345         (M_LOG_2_SQRT_PIl): Likewise.
35346         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35348         mpfr_f_f1.
35349         (func_calc_desc): Add mpfr_f_f1 union field.
35350         (ARGS1): New macro.
35351         (ARGS2): Likewise.
35352         (ARGS3): Likewise.
35353         (ARGS4): Likewise.
35354         (RET1): Likewise.
35355         (RET2): Likewise.
35356         (CALC): Likewise.
35357         (FUNC): Likewise.
35358         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35359         (test_functions): Add lgamma.
35360         (calc_generic_results): Handle mpfr_f_f1.
35361         * sysdeps/i386/fpu/libm-test-ulps: Update.
35362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35366         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35367         __mpn_add_n for PowerPC64/POWER7.
35368         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35369         __mpn_sub_n for PowerPC64/POWER7.
35371         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35372         __mpn_addmul_1 for PowerPC64.
35373         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35374         __mpn_submul_1 for PowerPC64.
35375         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35376         for PowerPC64.
35377         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35378         for PowerPC64.
35380 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35382         [BZ #15089]
35383         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35385 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35387         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35389         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35390         add multiarch folders.
35391         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35392         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35393         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35394         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35395         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35396         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35397         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35398         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35399         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35400         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35401         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35410         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35412         New file.
35413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35414         New file.
35415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35416         multiarch __ieee754_hypot for PowerPC32.
35417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35418         New file.
35419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35420         New file.
35421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35422         multiarch __ieee754_hypotf for PowerPC32.
35424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35425         long_double_symbol only if __logbl is defined.
35426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35427         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35429         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35431         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35433         path for implementation.
35434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35435         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35437         logb, and logbl multiarch implementations for PowerPC32.
35438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35439         file.
35440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35441         file.
35442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35443         multiarch logb for PowerPC32.
35444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35445         file.
35446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35447         file.
35448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35449         multiarch logbf for PowerPC32.
35450         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35452         file.
35453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35454         multiarch logbl implementation for PowerPC32.
35456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35457         and modff multiarch implementations.
35458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35459         New file.
35460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35461         New file.
35462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35463         multiarch modf for PowerPC32.
35464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35465         New file.
35466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35467         New file.
35468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35469         multiarch modff for PowerPC32.
35471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35472         and lrintf multiarch implementations.
35473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35474         New file.
35475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35476         New file.
35477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35478         multiarch lrint for PowerPC32.
35479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35480         file: multiarch lrintf for PowerPC32.
35482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35483         and lroundf multiarch implementations.
35484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35485         New file.
35486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35487         New file.
35488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35489         New file.
35490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35491         multiarch lround for PowerPC32.
35492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35493         file: multiarch lroundf for PowerPC32.
35495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35496         copysign and copysignf multiarch implementations.
35497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35498         New file.
35499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35500         New file.
35501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35502         file: multiarch copysign for PowerPC32.
35503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35504         file: multiarch copysignf for PowerPC32.
35506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35507         and truncf multiarch implementations.
35508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35509         New file.
35510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35511         file.
35512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35513         multiarch trunc for PowerPC32.
35514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35515         New file.
35516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35517         New file.
35518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35519         multiarch truncf for PowerPC32.
35521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35522         and roundf multiarch implementations.
35523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35524         New file.
35525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35526         file.
35527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35528         multiarch round for PowerPC32.
35529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35530         New file.
35531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35532         New file.
35533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35534         multiarch roundf for PowerPC32.
35536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35537         and floorf multiarch implementations.
35538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35539         New file.
35540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35541         file.
35542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35543         multiarch floor for PowerPC32.
35544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35545         New file.
35546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35547         New file.
35548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35549         multiarch floorf for PowerPC32.
35551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35552         and ceilf multiarch implementations.
35553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35554         New file.
35555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35556         file.
35557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35558         multiarch ceil for PowerPC32.
35559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35560         New file.
35561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35562         file.
35563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35564         multiarch ceilf for PowerPC32.
35566         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35567         is defined.
35568         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35569         FINITEF is defined.
35570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35571         and finitef multiarch implementations.
35572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35573         New file.
35574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35575         file.
35576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35577         multiarch finite for PowerPC32.
35578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35579         New file.
35580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35581         file: multiarch finitef for PowerPC32.
35583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35584         and isinff multiarch implementations.
35585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35586         file.
35587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35588         file.
35589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35590         multiarch isinf for PowerPC32.
35591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35592         New file.
35593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35594         multiarch isinff for PowerPC32.
35596         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35597         alias when __isnan is defined.
35598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35599         and isnanf multiarch implementations.
35600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35601         file.
35602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35603         file.
35604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35605         file.
35606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35607         file.
35608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35609         multiarch isnan for PowerPC32.
35610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35611         New file.
35612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35613         New file.
35614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35615         multiarch isnanf for PowerPC32.
35617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35618         and sqrtf multiarch implementations.
35619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35620         file.
35621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35622         file.
35623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35624         multiarch sqrt for PowerPC32.
35625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35626         file.
35627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35628         file.
35629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35630         multiarch sqrtf for PowerPC32.
35632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35633         and llroundf multiarch implementations.
35634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35635         New file.
35636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35637         New file.
35638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35639         New file.
35640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35641         file: multiarch llround for PowerPC32.
35642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35643         file: multiarch llroundf for PowerPC32.
35645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35646         multiarch PowerPC32 fpu implementations.
35647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35648         New file.
35649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35650         New file.
35651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35652         multiarch llrint for PowerPC32.
35653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35654         New file.
35655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35656         New file.
35657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35658         file.
35660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35663         file.
35664         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35665         file.
35666         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35667         file.
35668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35669         multiarch wordcopy for PPC32.
35670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35671         wordcopy objects.
35672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35673         (__libc_ifunc_impl_list): Likewise.
35674         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35675         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35676         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35677         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35678         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35679         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35681         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35683         file.
35684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35685         file.
35686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35687         file.
35688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35689         multiarch wcscpy for PPC32.
35690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35691         multiarch objects.
35692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35693         (__libc_ifunc_impl_list): Likewise.
35694         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35695         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35696         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35697         sysdeps/powerpc/power6/wcscpy.c.
35699         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35701         file.
35702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35703         file.
35704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35705         file.
35706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35707         multiarch wcsrchr for PPC32.
35708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35709         multiarch objects.
35710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35711         (__libc_ifunc_impl_list): Likewise.
35712         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35713         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35714         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35715         sysdeps/powerpc/power6/wcsrchr.c.
35717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35718         file.
35719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35720         file.
35721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35723         multiarch wcschr for PPc32.
35724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35725         multiarch objects.
35726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35727         (__libc_ifunc_impl_list): Likewise.
35728         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35729         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35730         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35731         sysdeps/powerpc/power6/wcschr.c.
35733         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35734         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35735         file.
35736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35737         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35738         file: multiarch strchr for PPC32.
35739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35740         multiarch objects.
35741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35742         (__libc_ifunc_impl_list): Likewise.
35744         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35745         name.
35746         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35747         file.
35748         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35749         file.
35750         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35751         multiarch strchrnul for PPC32.
35752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35753         multiarch objects.
35754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35755         (__libc_ifunc_impl_list): Likewise.
35757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35758         file.
35759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35760         multiarch strncasecmp for PPC32.
35761         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35762         file.
35763         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35764         multiarch strncasecmp_l for PPC32.
35765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35766         strncasecmp multiarch objects.
35767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35768         (__libc_ifunc_impl_list): Likewise.
35770         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35771         file.
35772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35773         multiarch strncasecmp for PPC32.
35774         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35775         New file.
35776         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35777         multiarch strcasecmp_l for PPC32.
35778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35779         multiarch objects.
35780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35781         (__libc_ifunc_impl_list): Likewise.
35783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35784         file.
35785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35786         file.
35787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35788         multiarch strncmp for PPC32.
35789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35790         multiarch objects.
35791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35792         (__libc_ifunc_impl_list): Likewise.
35794         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35795         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35796         file.
35797         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35798         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35800         multiarch objects.
35801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35802         (__libc_ifunc_impl_list): Likewise.
35804         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35805         file.
35806         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35807         file.
35808         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35810         multiarch objects.
35811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35812         (__libc_ifunc_impl_list): Likewise.
35814         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35815         file.
35816         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35817         file.
35818         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35819         multiarch rawmemchr for PPC32.
35820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35821         multiarch objects.
35822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35823         (__libc_ifunc_impl_list): Likewise.
35825         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35826         file.
35827         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35828         file.
35829         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35830         file: memrchr multiarch for PPC32.
35831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35832         multiarch objects.
35833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35834         (__libc_ifunc_impl_list): Likewise.
35836         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35837         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35838         file.
35839         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35841         multiarch memchr for PPC32.
35842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35843         multiarch objects.
35844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35845         (__libc_ifunc_impl_list): Likewise.
35847         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35848         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35849         file.
35850         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35851         file.
35852         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35853         file: multiarch mempcpy for PPC32.
35854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35855         multiarch objects.
35856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35857         (__libc_ifunc_impl_list): Likewise.
35859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35860         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35863         multiarch bzero for PPC32.
35864         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35865         file.
35866         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35867         file.
35868         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35869         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35870         file: multiarch memset for PPC32.
35871         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35873         memset multiarch objects.
35874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35875         (__libc_ifunc_impl_list): Likewise.
35877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35878         file.
35879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35881         memcmp for PPC32.
35882         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35884         multiarch objects.
35885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35886         (__libc_ifunc_impl_list): Likewise.
35888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35891         file.
35892         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35893         file.
35894         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35895         file.
35896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35897         multiarch memcpy for PPC32.
35898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35899         multiarch objects.
35900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35901         (__libc_ifunc_impl_list): Likewise.
35903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35904         support multiarch for POWER/PPC32.
35905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35906         Likewise.
35907         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35909         Implies file to make multiarch folder appers before the fpu and
35910         default folder for power4 configuration.
35912 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35914         * scripts/bench.pl: Append volatile keyword to type.
35916 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35918         * sysdeps/sh/sotruss-lib.c: New file.
35919         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35921 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35925 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35927         [BZ #6810]
35928         * math/w_tgamma.c: Include <errno.h>.
35929         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35930         * math/w_tgammaf.c: Include <errno.h>.
35931         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35932         * math/w_tgammal.c: Include <errno.h>.
35933         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35934         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35935         underflow.  Add more tgamma tests.
35936         * math/auto-libm-test-out: Regenerated.
35937         * sysdeps/i386/fpu/libm-test-ulps: Update.
35938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35940         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35941         sin, sinh, tan, tanh, tgamma, y0 and y1.
35942         * math/auto-libm-test-out: Regenerated.
35943         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35944         (TEST_COND_x86): Likewise.
35945         (M_E2l): Remove macro.
35946         (M_E3l): Likewise.
35947         (M_2_SQRT_PIl): Likewise.
35948         (M_SQRT_PIl): Likewise.
35949         (M_1_DIV_El): Likewise.
35950         (log_test_data): Use AUTO_TESTS_f_f.
35951         (log10_test_data): Likewise.
35952         (log1p_test_data): Likewise.
35953         (log2_test_data): Likewise.
35954         (sin_test_data): Likewise.
35955         (sin_tonearest_test_data): Likewise.
35956         (sin_towardzero_test_data): Likewise.
35957         (sin_downward_test_data): Likewise.
35958         (sin_upward_test_data): Likewise.
35959         (sinh_test_data): Likewise.
35960         (sinh_tonearest_test_data): Likewise.
35961         (sinh_towardzero_test_data): Likewise.
35962         (sinh_downward_test_data): Likewise.
35963         (sinh_upward_test_data): Likewise.
35964         (tan_test_data): Likewise.
35965         (tan_tonearest_test_data): Likewise.
35966         (tan_towardzero_test_data): Likewise.
35967         (tan_downward_test_data): Likewise.
35968         (tan_upward_test_data): Likewise.
35969         (tanh_test_data): Likewise.
35970         (tgamma_test_data): Likewise.
35971         (y0_test_data): Likewise.
35972         (y1_test_data): Likewise.
35973         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35974         (special_real_inputs): Add pi/4.
35975         * sysdeps/i386/fpu/libm-test-ulps: Update.
35976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35978 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35981         "longjmp_target" static probes.
35982         (__longjmp): Rename to __longjmp_symbol.
35983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35984         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35985         on which longjmp to generate.
35986         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35988         probe.
35989         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35990         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35991         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35992         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35993         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35994         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35996         __longjmp_symbol based on which __longjmp to generate.
35997         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35998         probe.
35999         (setjmp): Rename to setjmp_symbol.
36000         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36001         (_setjmp): Rename to _setjmp_symbol.
36002         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36003         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36004         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36005         which setjmp to generate.
36006         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36007         "longjmp_target" static probes.
36009 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36011         * benchtests/README: Add note about output arguments.
36012         * benchtests/bench-sincos.c: Remove file.
36013         * benchtests/sincos-inputs: New file.
36014         * scripts/bench.pl: Identify output arguments and define
36015         static variables for them.
36017         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36019         [BZ #15941]
36020         * Makefile (INSTALL): Add install-plain.texi as the primary
36021         dependency.
36022         * manual/install-plain.texi: New file.
36023         * manual/install.texi: Include node directive only for
36024         non-plaintext output.
36026 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36028         * stdlib/longlong.h: Update from GCC.
36030         [BZ #6807]
36031         [BZ #15901]
36032         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36033         * math/w_j0f.c (y0f): Likewise.
36034         * math/w_j0l.c (__y0l): Likewise.
36035         * math/w_j1.c (y1): Likewise.
36036         * math/w_j1f.c (y1f): Likewise.
36037         * math/w_j1l.c (__y1l): Likewise
36038         * math/w_jn.c (yn): Likewise.
36039         * math/w_jnf.c (ynf): Likewise.
36040         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36041         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36042         value for Bessel function domain errors outside _SVID_ mode.
36043         Adjust sign of return value for yn (negative integer, 0).
36044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36045         by zero in return for negative x and set sign appropriately for
36046         negative n.
36047         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36048         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36049         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36050         expectations in error cases.
36051         (y1_test_data): Likewise.
36052         (yn_test_data): Likewise.
36053         * sysdeps/i386/fpu/libm-test-ulps: Update.
36054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36056 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36058         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36059         "64" to "64-v1".  Add "64-v2".
36060         (abi-64-options): Rename to ...
36061         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36062         (abi-64-condition): Rename to ...
36063         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36064         (abi-64-ld-soname): Rename to ...
36065         (abi-64-v1-ld-soname): ... this.
36066         (abi-64-v2-options): Define.
36067         (abi-64-v2-condition): Likewise.
36068         (abi-64-v2-ld-soname): Likewise.
36069         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36070         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36075 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36076             Alan Modra  <amodra@gmail.com>
36078         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36079         New versions for use with the ELFv2 ABI.
36080         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36081         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36082         declaration.
36083         (struct La_ppc64v2_retval): Likewise.
36084         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36085         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36086         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36087         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36088         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36089         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36090         Do not save or restore CR.
36091         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36092         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36093         return values for ELFv2 ABI.  Fix location of FPR return registers.
36094         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36095         updated values for _CALL_ELF == 2.
36096         (La_regs, La_retval, int_retval): Likewise.
36098 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36100         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36101         (FRAME_MIN_SIZE_PARM): Likewise.
36102         (FRAME_BACKCHAIN): Likewise.
36103         (FRAME_CR_SAVE): Likewise.
36104         (FRAME_LR_SAVE): Likewise.
36105         (FRAME_TOC_SAVE): Likewise.
36106         (FRAME_PARM_SAVE): Likewise.
36107         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36108         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36109         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36110         (call_mcount_parm_offset): New macro.
36111         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36112         (PROF): Use symbolic stack frame offsets.
36113         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36114         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36115         Redefine in terms of FRAME_MIN_SIZE.
36116         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36117         (_dl_profile_resolve): Likewise.  Update comment.
36118         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36119         symbols stack frame offsets.
36120         (__sigsetjmp): Likewise.
36121         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36122         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36123         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36124         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36127         (FRAME_BACKCHAIN): Remove.
36128         (FRAME_CR_SAVE): Likewise.
36129         (FRAME_LR_SAVE): Likewise.
36130         (FRAME_COMPILER_DW): Likewise.
36131         (FRAME_LINKER_DW): Likewise.
36132         (FRAME_TOC_SAVE): Likewise.
36133         (FRAME_PARM_SAVE): Likewise.
36134         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36135         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36136         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36138         (CHECK_SP): Use symbolic stack frame offsets.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36140         zone" instead of caller's parameter save area for temp storage.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36142         Likewise.  Also, use symbolic stack frame offsets.
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36144         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36145         our own stack frame instead of the caller's.
36146         (__socket): Use symbolic stack frame offsets.
36148 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36149             Alan Modra  <amodra@gmail.com>
36151         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36152         Define.
36153         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36154         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36155         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36156         New function.
36157         (elf_machine_fixup_plt): Call it.
36158         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36159         reloc arguments.
36160         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36162         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36163         r2 before calling target.
36165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36166             Alan Modra  <amodra@gmail.com>
36168         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36169         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36170         versions of macros to support ELFv2 ABI.
36171         (LOCALENTRY): New macro.
36172         (ENTRY, EALIGN): Use it.
36173         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36174         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36175         fall through into ENTRY entry point.
36176         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36177         Only define if _CALL_ELF != 2.
36179         (elf_machine_matches_host): Verify ABI version matches.
36180         (RTLD_START): Use LOCALENTRY.
36181         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36182         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36183         (PLT_ENTRY_WORDS): New macro.
36184         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36185         (elf_machine_runtime_setup): Support ELFv2 ABI.
36186         (elf_machine_fixup_plt): Likewise.
36187         (elf_machine_plt_conflict): Likewise.
36188         (resolve_ifunc): Likewise.
36189         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36190         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36191         Likewise.
36192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36193         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36195         (makecontext): Support ELFv2 ABI.
36196         * elf/elf.h (EF_PPC64_ABI): Define.
36198 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36200         * sysdeps/powerpc/powerpc64/sysdep.h
36201         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36202         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36203         (ENTRY) [ASSEMBLER]: ... but instead here ...
36204         (EALIGN) [ASSEMBLER]: ... and here.
36205         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36206         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36207         (ENTRY_2) [!ASSEMBLER]: Use it.
36208         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36209         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36211         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36212         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36214         Use PPC64_LOAD_FUNCPTR.
36216         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36218 2013-12-04  Alan Modra  <amodra@gmail.com>
36220         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36221         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36222         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36223         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36226         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36227         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36228         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36229         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36230         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36235         (__makecontext): Fix incorrect CFI when backtracing out of
36236         context created via makecontext.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36238         (__setcontext): Fix incorrect CFI during switch to new context.
36239         (__novec_setcontext): Likewise.
36241 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36243         [BZ #4772]
36244         * time/strptime_l.c (__strptime_internal): Allow modifiers
36245         in strptime.
36246         * time/tst-strptime.c (day_tests): Add testcase.
36248 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36250         * scripts/bench.pl: Skip over blank lines.
36252 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36254         [BZ #926]
36255         * manual/time.texi (Calendar Time): Clarify what timezone functions
36256         use.
36258 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36262 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36264         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36265         implementation.
36266         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36267         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36268         * debug/memset_chk.c (__memset_chk): Likewise.
36269         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36270         * debug/strncpy_chk.c: Likewise.
36272 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36274         [BZ #15268]
36275         [BZ #15425]
36276         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36277         (__ieee754_exp): For possibly underflowing results, check size of
36278         result and force underflow exception if required.
36279         * math/auto-libm-test-in: Add more tests of exp.
36280         * math/auto-libm-test-out: Regenerated.
36281         * sysdeps/i386/fpu/libm-test-ulps: Update.
36282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36284         [BZ #16283]
36285         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36286         * math/w_exp2f.c (__exp2f): Likewise.
36287         * math/w_exp2l.c (__exp2l): Likewise.
36288         * math/auto-libm-test-in: Do not allow missing errno on exp2
36289         underflow.
36290         * math/auto-libm-test-out: Regenerated.
36292 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36294         [BZ #16274]
36295         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36296         handle filename validation.
36297         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36298         (do_open): Delete.
36300 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36302         [BZ #6786]
36303         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36304         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36305         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36306         <float.h>.
36307         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36308         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36309         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36311         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36313         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36314         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36315         Add more erfc tests.
36316         * math/auto-libm-test-out: Regenerated.
36317         * sysdeps/i386/fpu/libm-test-ulps: Update.
36318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36320         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36321         exp2, expm1, j0 and j1.
36322         * math/auto-libm-test-out: Regenerated.
36323         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36324         (erfc_test_data): Likewise.
36325         (exp_test_data): Likewise.
36326         (exp_tonearest_test_data): Likewise.
36327         (exp_towardzero_test_data): Likewise.
36328         (exp_downward_test_data): Likewise.
36329         (exp_upward_test_data): Likewise.
36330         (exp10_test_data): Likewise.
36331         (exp2_test_data): Likewise.
36332         (expm1_test_data): Likewise.
36333         (j0_test_data): Likewise.
36334         (j1_test_data): Likewise.
36335         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36336         (input_flag_type): Add flag_xfail_rounding.
36337         (input_flags): Add xfail-rounding.
36338         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36339         (output_for_one_input_case): Handle flag_xfail_rounding.
36340         * sysdeps/i386/fpu/libm-test-ulps: Update.
36341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36345         [BZ #16289]
36346         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36347         division by 0.
36349 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36351         [BZ #16195]
36352         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36353         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36354         (STAP_PROBE0): New macro.
36355         (STAP_PROBE1): Likewise.
36356         (STAP_PROBE2): Likewise.
36357         (STAP_PROBE3): Likewise.
36358         (STAP_PROBE4): Likewise.
36360 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36362         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36364 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36366         * benchtests/Makefile (bench): Add sqrt.
36367         (LDLIBS-bench-sqrt): New.
36368         * benchtests/sqrt-input: New.
36370 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36372         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36373         (GAIH_EAI): Likewise.
36374         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36375         (gaih_inet): Likewise.
36376         (getaddrinfo): Don't use GAIH_EAI.
36378         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36379         (struct gaih): Remove definition.
36381 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36383         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36384         Use HERRNOP directly.
36386 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36390 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36392         * math/gen-auto-libm-tests.c (test_functions): Add more
36393         single-argument functions.
36394         (special_fill_pi_2): New function.
36395         (special_fill_minus_pi_2): Likewise.
36396         (special_fill_pi_6): Likewise.
36397         (special_fill_minus_pi_6): Likewise.
36398         (special_fill_pi_3): Likewise.
36399         (special_fill_2pi_3): Likewise.
36400         (special_fill_e): Likewise.
36401         (special_fill_1_e): Likewise.
36402         (special_fill_e_minus_1): Likewise.
36403         (special_real_inputs): Add more special inputs.
36404         (output_for_one_input_case): Do not require ERANGE on underflow to
36405         zero if round-to-nearest result does not underflow to zero, unless
36406         exact results required.
36407         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36408         atan, atanh, cbrt, cos and cosh.
36409         * math/auto-libm-test-out: Regenerated.
36410         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36411         (acos_tonearest_test_data): Likewise.
36412         (acos_towardzero_test_data): Likewise.
36413         (acos_downward_test_data): Likewise.
36414         (acos_upward_test_data): Likewise.
36415         (acosh_test_data): Likewise.
36416         (asin_test_data): Likewise.
36417         (asin_tonearest_test_data): Likewise.
36418         (asin_towardzero_test_data): Likewise.
36419         (asin_upward_test_data): Likewise.
36420         (asinh_test_data): Likewise.
36421         (atan_test_data): Likewise.
36422         (atanh_test_data): Likewise.
36423         (cbrt_test_data): Likewise.
36424         (cos_test_data): Likewise.
36425         (cos_tonearest_test_data): Likewise.
36426         (cos_towardzero_test_data): Likewise.
36427         (cos_downward_test_data): Likewise.
36428         (cos_upward_test_data): Likewise.
36429         (cosh_test_data): Likewise.
36430         (cosh_tonearest_test_data): Likewise.
36431         (cosh_towardzero_test_data): Likewise.
36432         (cosh_downward_test_data): Likewise.
36433         (cosh_upward_test_data): Likewise.
36434         * sysdeps/i386/fpu/libm-test-ulps: Update.
36435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36437 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36439         [BZ #6787]
36440         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36441         * math/w_exp10f.c (__exp10f): Likewise.
36442         * math/w_exp10l.c (__exp10l): Likewise.
36443         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36444         errno settings in existing tests.
36446         [BZ #14032]
36447         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36448         precision control set to double precision.
36449         * sysdeps/i386/fpu/w_sqrt.c: New file.
36450         * math/auto-libm-test-in: Add more tests.
36451         * math/auto-libm-test-out: Update.
36453         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36454         (sqrt_test_tonearest): New function.
36455         (sqrt_towardzero_test_data): New variable.
36456         (sqrt_test_towardzero): New function.
36457         (sqrt_downward_test_data): New variable.
36458         (sqrt_test_downward): New function.
36459         (sqrt_upward_test_data): New variable.
36460         (sqrt_test_upward): New function.
36461         (main): Call the new functions.
36463         * math/gen-auto-libm-tests.c: New file.
36464         * math/auto-libm-test-in: Likewise.
36465         * math/auto-libm-test-out: New generated file.
36466         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36467         variables.
36468         (%beautify): Add generated representations of zero.
36469         (top level): Set $auto_input and call parse_auto_input.
36470         (beautify): Remove trailing "f" from hex float constants.
36471         (parse_args): Handle XFAIL_TEST.
36472         (convert_condition): New function.
36473         (or_value): Likewise.
36474         (or_cond_value): Likewise.
36475         (generate_testfile): Handle AUTO_TESTS_* lines.
36476         (parse_auto_input): New function.
36477         * math/libm-test.inc (XFAIL_TEST): New macro.
36478         (ERRNO_UNCHANGED): Update value.
36479         (ERRNO_EDOM): Likewise.
36480         (ERRNO_ERANGE): Likewise.
36481         (IGNORE_RESULT): Likewise.
36482         (TEST_COND_flt_32): New macro.
36483         (TEST_COND_dbl_64): Likewise.
36484         (TEST_COND_ldbl_96_intel): Likewise.
36485         (TEST_COND_ldbl_96_m68k): Likewise.
36486         (TEST_COND_ldbl_128): Likewise.
36487         (TEST_COND_ldbl_128ibm): Likewise.
36488         (TEST_COND_long32): Likewise.
36489         (TEST_COND_long64): Likewise.
36490         (TEST_COND_before_rounding): Likewise.
36491         (TEST_COND_after_rounding): Likewise.
36492         (enable_test): Handle XFAIL_TEST flag.
36493         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36494         with finite results.
36495         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36496         auto-libm-test-out.
36498 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36499             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36501         [BZ #16214]
36502         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36503         __tls_get_addr_internal instead of __tls_get_offset in order to
36504         avoid GOT pointer dependency.  Make rtld export
36505         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36506         __tls_get_addr since we are a __tls_get_offset platform.
36507         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36508         GOT pointer being set up before.
36509         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36511 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36513         * manual/math.texi (Errors in Math Functions): Document accuracy
36514         goals.
36516         [BZ #15004]
36517         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36518         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36519         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36520         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36521         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36522         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36523         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36524         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36525         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36526         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36527         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36528         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36529         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36530         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36531         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36532         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36534         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36535         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36536         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36537         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36538         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36539         Likewise.
36540         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36541         Likewise.
36542         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36543         Likewise.
36544         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36545         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36546         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36547         atomic-feupdateenv and flt-rounds.
36548         * sysdeps/powerpc/nofpu/Versions (libc): Add
36549         __atomic_feholdexcept, __atomic_feclearexcept,
36550         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36551         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36552         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36553         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36554         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36555         here.
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36557         Update.
36559         * manual/arith.texi (FP Exceptions): Document that exceptions may
36560         not be raised when matherr is used.
36561         (Math Error Reporting): Document overflow in directed rounding
36562         modes.  Document that errno may not be set when finite values are
36563         returned on overflow.  Document intent to set errno on underflow
36564         only for underflow to zero.
36566         [BZ #16271]
36567         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36568         round-to-nearest then adjust result for other rounding modes.
36569         * include/fenv.h (fegetround): Use libm_hidden_proto.
36570         * math/fegetround.c (fegetround): Use libm_hidden_def.
36571         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36572         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36573         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36575         Likewise.
36576         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36577         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36578         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36579         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36581 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36583         [BZ #16077]
36584         * nss/Versions (libnss_files): Add
36585         _nss_files_gethostbyname3_r.
36586         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36587         New function.
36588         (HOST_DB_LOOKUP): Remove macro.
36589         (_nss_files_gethostbyname_r): Implement function without the
36590         HOST_DB_LOOKUP macro.
36591         (_nss_files_gethostbyname2_r): Likewise.
36593 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36595         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36597 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36599         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36600         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36601         warning.
36603 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36605         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36606         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36607         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36608         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36609         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36610         __fe_nomask_env_priv and attribute_hidden.
36611         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36612         (libc_feupdateenv_test_ppc): Likewise.
36613         (libc_feresetround_ppc): Likewise.
36614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36615         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36616         compat_symbol macro.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36618         (__fe_nomask_env): Likewise.
36619         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36621 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36623         * string/Makefile: Remove ifunc tests.
36624         * string/test-string.h: Define TEST_IFUNC.
36625         * string/test-bcopy-ifunc.c: Remove.
36626         * string/test-bzero-ifunc.c: Likewise.
36627         * string/test-memccpy-ifunc.c: Likewise.
36628         * string/test-memchr-ifunc.c: Likewise.
36629         * string/test-memcmp-ifunc.c: Likewise.
36630         * string/test-memcpy-ifunc.c: Likewise.
36631         * string/test-memmem-ifunc.c: Likewise.
36632         * string/test-memmove-ifunc.c: Likewise.
36633         * string/test-mempcpy-ifunc.c: Likewise.
36634         * string/test-memrchr-ifunc.c: Likewise.
36635         * string/test-memset-ifunc.c: Likewise.
36636         * string/test-rawmemchr-ifunc.c: Likewise.
36637         * string/test-stpcpy-ifunc.c: Likewise.
36638         * string/test-stpncpy-ifunc.c: Likewise.
36639         * string/test-strcasecmp-ifunc.c: Likewise.
36640         * string/test-strcasestr-ifunc.c: Likewise.
36641         * string/test-strcat-ifunc.c: Likewise.
36642         * string/test-strchr-ifunc.c: Likewise.
36643         * string/test-strchrnul-ifunc.c: Likewise.
36644         * string/test-strcmp-ifunc.c: Likewise.
36645         * string/test-strcpy-ifunc.c: Likewise.
36646         * string/test-strcspn-ifunc.c: Likewise.
36647         * string/test-strlen-ifunc.c: Likewise.
36648         * string/test-strncasecmp-ifunc.c: Likewise.
36649         * string/test-strncat-ifunc.c: Likewise.
36650         * string/test-strncmp-ifunc.c: Likewise.
36651         * string/test-strncpy-ifunc.c: Likewise.
36652         * string/test-strnlen-ifunc.c: Likewise.
36653         * string/test-strpbrk-ifunc.c: Likewise.
36654         * string/test-strrchr-ifunc.c: Likewise.
36655         * string/test-strspn-ifunc.c: Likewise.
36656         * string/test-strstr-ifunc.c: Likewise.
36658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36660         * benchtests/Makefile: Remove ifunc tests.
36661         * benchtests/bench-string.h: Define TEST_IFUNC.
36662         * benchtests/bench-bcopy-ifunc.c: Remove.
36663         * benchtests/bench-bzero-ifunc.c: Likewise.
36664         * benchtests/bench-memccpy-ifunc.c: Likewise.
36665         * benchtests/bench-memchr-ifunc.c: Likewise.
36666         * benchtests/bench-memcmp-ifunc.c: Likewise.
36667         * benchtests/bench-memcpy-ifunc.c: Likewise.
36668         * benchtests/bench-memmem-ifunc.c: Likewise.
36669         * benchtests/bench-memmove-ifunc.c: Likewise.
36670         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36671         * benchtests/bench-memrchr-ifunc.c: Likewise.
36672         * benchtests/bench-memset-ifunc.c: Likewise.
36673         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36674         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36675         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36676         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36677         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36678         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36679         * benchtests/bench-strcat-ifunc.c: Likewise.
36680         * benchtests/bench-strchr-ifunc.c: Likewise.
36681         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36682         * benchtests/bench-strcmp-ifunc.c: Likewise.
36683         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36684         * benchtests/bench-strcpy-ifunc.c: Likewise.
36685         * benchtests/bench-strcspn-ifunc.c: Likewise.
36686         * benchtests/bench-strlen-ifunc.c: Likewise.
36687         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36688         * benchtests/bench-strncat-ifunc.c: Likewise.
36689         * benchtests/bench-strncmp-ifunc.c: Likewise.
36690         * benchtests/bench-strncpy-ifunc.c: Likewise.
36691         * benchtests/bench-strnlen-ifunc.c: Likewise.
36692         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36693         * benchtests/bench-strrchr-ifunc.c: Likewise.
36694         * benchtests/bench-strsep-ifunc.c: Likewise.
36695         * benchtests/bench-strspn-ifunc.c: Likewise.
36696         * benchtests/bench-strstr-ifunc.c: Likewise.
36698 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36700         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36702 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36704         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36705         * rt/aio.h: Likewise.
36706         * sysdeps/gnu/bits/utmp.h: Likewise.
36707         * sysdeps/gnu/bits/utmpx.h: Likewise.
36708         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36709         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36710         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36711         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36712         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36713         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36714         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36715         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36716         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36717         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36718         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36719         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36720         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36722         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36723         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36724         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36725         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36726         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36727         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36728         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36729         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36730         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36731         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36732         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36734         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36735         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36736         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36737         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36738         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36739         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36740         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36741         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36742         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36743         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36744         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36745         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36746         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36747         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36748         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36749         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36751 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36753         [BZ #16245]
36754         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36755         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36757 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36759         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36760         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36761         Likewise.
36763 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36765         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36766         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36767         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36768         (__fesetround): Remove define.
36769         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36770         rounding and exceptions handling.
36771         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36772         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36773         (__fe_nomask_env): Likewise.
36774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36775         __fegetround instead of fegetround.
36776         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36777         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36779 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36781         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36782         it's there.
36784         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36786 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36788         [BZ #11157]
36789         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36790         (encrypt_r): Likewise.
36791         * malloc/obstack.h (obstack_free): Likewise.
36792         * posix/unistd.h (encrypt): Likewise.
36794 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36796         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36797         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36798         DL_CALL_DT_FINI() that call the functions directly.
36799         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36800         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36801         * elf/dl-fini.c: Likewise.
36803 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36805         * malloc/hooks.c (memalign_check): Add alignment rounding.
36806         * malloc/malloc.c (_mid_memalign): New function.
36807         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36808         Implement by calling _mid_memalign.
36809         * manual/probes.texi (Memory Allocation Probes): Remove
36810         memory_valloc_retry and memory_pvalloc_retry.
36812 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36814         * locale/programs/locarchive.c (open_archive): Add const
36815         qualifier to ARCHIVEFNAME and copy default fname to
36816         DEFAULT_FNAME.
36818         [BZ #15601]
36819         * libio/tst-widetext.input: Rename Oriya to Odia.
36820         * locale/iso-639.def: Likewise.
36822         * manual/probes.texi (Mathematical Function Probes): Add
36823         documentation for sin, cos, asin and acos probes.
36824         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36825         (__sin32): Add slowasin probe.
36826         (__cos32): Add slowacos probe.
36827         (__mpsin): Add slowsin probe.
36828         (__mpcos): Add slowcos probe.
36830 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36832         [BZ #15483]
36833         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36834         thread-local __sim_exceptions_thread and global
36835         __sim_exceptions_global.
36836         (__sim_disabled_exceptions): Change to thread-local
36837         __sim_disabled_exceptions_thread and global
36838         __sim_disabled_exceptions_global.
36839         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36840         and global __sim_round_mode_global.
36841         (__simulate_exceptions): Use thread-local floating-point state and
36842         set global state from it as needed.
36843         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36844         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36845         __sim_round_mode_thread.
36846         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36847         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36848         and global __sim_exceptions_global.
36849         (__sim_disabled_exceptions): Change to thread-local
36850         __sim_disabled_exceptions_thread and global
36851         __sim_disabled_exceptions_global.
36852         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36853         and global __sim_round_mode_global.
36854         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36855         (SIM_SET_GLOBAL): Likewise.
36856         * sysdeps/powerpc/soft-fp/sfp-machine.h
36857         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36858         __sim_round_mode_thread.
36859         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36860         __sim_disabled_exceptions_thread.
36861         (__sim_exceptions): Change to __sim_exceptions_thread.
36862         (__sim_disabled_exceptions): Change to
36863         __sim_disabled_exceptions_thread.
36864         (__sim_round_mode): Change to __sim_round_mode_thread.
36865         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36866         thread-local floating-point state and set global state from it as
36867         needed.
36868         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36869         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36870         (__sim_disabled_exceptions): Remove extern declaration.
36871         (feenableexcept): Use thread-local floating-point state and set
36872         global state from it as needed.
36873         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36874         extern declaration.
36875         (__sim_disabled_exceptions): Likewise.
36876         (__sim_round_mode): Likewise.
36877         (__fegetenv): Use thread-local floating-point state.
36878         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36879         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36880         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36881         floating-point state and set global state from it as needed.
36882         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36883         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36884         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36885         Likewise.
36886         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36887         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36888         Likewise.
36889         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36890         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36891         Use __sim_round_mode_thread.
36892         * math/test-fenv-tls.c: New file.
36893         * math/Makefile (tests): Add test-fenv-tls.
36894         ($(objpfx)test-fenv-tls): Depend on
36895         $(common-objpfx)nptl/libpthread.so.
36897 2013-11-19  Andreas Schwab  <schwab@suse.de>
36899         * locale/programs/locale.c (show_info): Decode wordarray elements.
36900         * locale/categories.def (LC_MONETARY): Add element for
36901         _NL_MONETARY_CRNCYSTR.
36902         * locale/C-monetary.c (conversion_rate): New variable.
36903         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36904         element.
36906 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36908         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36909         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36911 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36913         * elf/Makefile (tst-auxv): New test.
36914         * elf/tst-auxv.c: New
36915         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36917 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36919         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36920         (hidden_proto): Caller changed.
36921         (hidden_tls_proto): New macro.
36922         (libc_hidden_tls_proto): Likewise.
36923         (rtld_hidden_tls_proto): Likewise.
36924         (libm_hidden_tls_proto): Likewise.
36925         (libresolv_hidden_tls_proto): Likewise.
36926         (librt_hidden_tls_proto): Likewise.
36927         (libdl_hidden_tls_proto): Likewise.
36928         (libnss_files_hidden_tls_proto): Likewise.
36929         (libnsl_hidden_tls_proto): Likewise.
36930         (libnss_nisplus_hidden_tls_proto): Likewise.
36931         (libutil_hidden_tls_proto): Likewise.
36933 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36935         [BZ #10253]
36936         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36937         (decompose_rpath): Defer expansion to fillin_rpath.
36938         (_dl_init_paths): Pass linkmap to fillin_rpath.
36940 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36942         * benchtests/Makefile: Add strsep.
36943         * benchtests/bench-strsep.c: New file: strsep benchtest.
36944         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36946 2013-11-18  Andreas Schwab  <schwab@suse.de>
36948         * locale/programs/locale.c (show_info) [case byte]: Check for
36949         '\377' instead of '\177'.
36950         * locale/C-monetary.c (not_available): Always use "\377".
36951         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36952         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36953         detect unavailable sign_posn locale elements.
36954         * locale/localeconv.c (__localeconv): For grouping and
36955         mon_grouping handle "\177" and "\377" like no grouping.
36956         (INT_ELEM): New macro.  Use it to set all numeric members.
36957         * locale/programs/ld-monetary.c (monetary_read)
36958         <tok_mon_grouping>: Normalize single -1 to the empty string.
36959         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36960         Likewise.
36962 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36964         [BZ #16055]
36965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36966         when we match (nil).
36967         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36969 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36971         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36972         (NO_TEST_INLINE): Update value.
36973         (ERRNO_UNCHANGED): Likewise.
36974         (ERRNO_EDOM): Likewise.
36975         (ERRNO_ERANGE): Likewise.
36976         (IGNORE_RESULT): Likewise.
36977         (check_float_internal): Check signs of NaN results if
36978         TEST_NAN_SIGN used.
36979         (check_complex): Pass TEST_NAN_SIGN flag through to second
36980         check_float_internal call.
36981         (copysign_test_data): Add tests with quiet NaNs as second
36982         argument.  Use TEST_NAN_SIGN.
36983         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36984         TEST_NAN_SIGN.
36985         (signbit_test_data): Add tests of quiet NaN argument.
36986         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36988         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36989         $ignore_result.
36990         (parse_args): Handle function results specified as IGNORE.
36991         * math/libm-test.inc (IGNORE_RESULT): New macro.
36992         (check_float_internal): Do not check numerical result if flag
36993         IGNORE_RESULT set.
36994         (check_complex): Pass through IGNORE_RESULT to second
36995         check_float_internal call.
36996         (check_int): Do not check numerical result if flag IGNORE_RESULT
36997         set.
36998         (check_long): Likewise.
36999         (check_bool): Likewise.
37000         (check_longlong): Likewise.
37001         (lrint_test_data): Add tests of infinite and NaN arguments.
37002         (lrint_tonearest_test_data): Likewise.
37003         (lrint_towardzero_test_data): Likewise.
37004         (lrint_downward_test_data): Likewise.
37005         (lrint_upward_test_data): Likewise.
37006         (llrint_test_data): Likewise.
37007         (llrint_tonearest_test_data): Likewise.
37008         (llrint_towardzero_test_data): Likewise.
37009         (llrint_downward_test_data): Likewise.
37010         (llrint_upward_test_data): Likewise.
37011         (lround_test_data): Likewise.
37012         (llround_test_data): Likewise.
37014         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37015         (ERRNO_UNCHANGED): Update value.
37016         (ERRNO_EDOM): Likewise.
37017         (ERRNO_ERANGE): Likewise.
37018         (NO_TEST_INLINE_FLOAT): New macro.
37019         (NO_TEST_INLINE_DOUBLE): Likewise.
37020         (enable_test): New function.
37021         (RUN_TEST_f_f): Check enable_test before running test.
37022         (RUN_TEST_2_f): Likewise.
37023         (RUN_TEST_fff_f): Likewise.
37024         (RUN_TEST_c_f): Likewise.
37025         (RUN_TEST_f_f1): Likewise.
37026         (RUN_TEST_fF_f1): Likewise.
37027         (RUN_TEST_fI_f1): Likewise.
37028         (RUN_TEST_ffI_f1): Likewise.
37029         (RUN_TEST_c_c): Likewise.
37030         (RUN_TEST_cc_c): Likewise.
37031         (RUN_TEST_f_i): Likewise.
37032         (RUN_TEST_f_i_tg): Likewise.
37033         (RUN_TEST_ff_i_tg): Likewise.
37034         (RUN_TEST_f_b): Likewise.
37035         (RUN_TEST_f_b_tg): Likewise.
37036         (RUN_TEST_f_l): Likewise.
37037         (RUN_TEST_f_L): Likewise.
37038         (RUN_TEST_fFF_11): Likewise.
37039         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37040         conditionals.
37041         (cosh_test_data): Likewise.
37042         (exp_test_data): Likewise.
37043         (expm1_test_data): Likewise.
37044         (hypot_test_data): Likewise.
37045         (pow_test_data): Likewise.
37046         (sinh_test_data): Likewise.
37047         (tanh_test_data): Likewise.
37048         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37049         flags argument.
37051         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37052         tests with quiet NaN input and output.
37053         (acosh_test_data): Likewise.
37054         (asin_test_data): Likewise.
37055         (asinh_test_data): Likewise.
37056         (atan_test_data): Likewise.
37057         (atanh_test_data): Likewise.
37058         (atan2_test_data): Likewise.
37059         (cbrt_test_data): Likewise.
37060         (cos_test_data): Likewise.
37061         (cosh_test_data): Likewise.
37062         (erf_test_data): Likewise.
37063         (erfc_test_data): Likewise.
37064         (exp_test_data): Likewise.
37065         (exp10_test_data): Likewise.
37066         (exp2_test_data): Likewise.
37067         (expm1_test_data): Likewise.
37068         (hypot_test_data): Likewise.
37069         (j0_test_data): Likewise.
37070         (j1_test_data): Likewise.
37071         (jn_test_data): Likewise.
37072         (lgamma_test_data): Likewise.
37073         (log_test_data): Likewise.
37074         (log10_test_data): Likewise.
37075         (log1p_test_data): Likewise.
37076         (log2_test_data): Likewise.
37077         (pow_test_data): Likewise.
37078         (scalb_test_data): Likewise.
37079         (sin_test_data): Likewise.
37080         (sincos_test_data): Likewise.
37081         (sinh_test_data): Likewise.
37082         (tan_test_data): Likewise.
37083         (tanh_test_data): Likewise.
37084         (tgamma_test_data): Likewise.
37085         (y0_test_data): Likewise.
37086         (y1_test_data): Likewise.
37087         (yn_test_data): Likewise.
37089         [BZ #16167]
37090         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37091         argument being NaN and avoid computations with second argument in
37092         that case.
37093         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37094         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37095         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37097 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37099         * locale/iso-639.def: Add Chitwani Tharu (the).
37101 2013-11-14  Andreas Schwab  <schwab@suse.de>
37103         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37104         word instead of empty string.
37106 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37109         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37111         (__fe_nomask_env): Likewise.
37113 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37115         * benchtests/bench-timing.h: Include time.h.
37117 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37119         [BZ #15997]
37120         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37121         to 3.4.0 for x32.
37122         * sysdeps/unix/sysv/linux/configure: Regenerated.
37124 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37126         [BZ #16151]
37127         * stdlib/strtod_l.c (round_and_return): Do not consider
37128         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37129         exponent one less than half the least subnormal exponent.
37130         * stdlib/test-strtod-round-data: Add more tests.
37131         * stdlib/tst-strtod-round.c (tests): Regenerated.
37133 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37135         [BZ #14143]
37136         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37137         (__fe_mask_env): Likewise.
37138         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37139         libm_hidden_proto and add function prototype.
37140         (__fe_mask_env): Add function prototype.
37141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37142         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37144         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37146         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37148 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37150         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37151         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37153 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37155         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37156         of htab_find_slot().
37158 2013-11-11  David S. Miller  <davem@davemloft.net>
37160         [BZ #16150]
37161         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37162         symbol in the non-vis3 case in static builds.
37163         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37164         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37165         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37166         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37168 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37170         [BZ #387]
37171         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37172         it is empty.
37174 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37176         * benchtests/Makefile: Add bench-strtod.
37177         * benchtests/bench-strtod.c: New file: strtod benchtest
37179 2013-11-11  Andreas Schwab  <schwab@suse.de>
37181         [BZ #16153]
37182         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37183         terminating NUL in key length.
37185 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37188         Add artificial ODP entry for vDSO symbol for PPC64.
37189         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37190         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37192 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37194         [BZ #15374]
37195         * nss/getent.c (services_keys): Recognize services starting with digit.
37197 2013-11-06  David S. Miller  <davem@davemloft.net>
37199         [BZ #15985]
37200         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37201         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37203 2013-11-06  Will Newton  <will.newton@linaro.org>
37205         * manual/memory.texi (Malloc Examples): Remove register
37206         keyword from examples.
37208 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37210         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37212 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37214         [BZ #6981]
37215         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37216         depending on [__GCC_IEC_559 > 0].
37217         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37218         depending on [__GCC_IEC_559_COMPLEX > 0].
37220 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37222         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37223         to iso-639.def.
37225 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37227         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37229 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37231         [BZ #16112]
37232         * malloc/malloc (malloc_info): Do not handle first bin as
37233         special case.
37235 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37237         * locale/iso-639.def: Add Central Nahuatl (nhn).
37239 2013-11-01  Bruno Haible  <bruno@clisp.org>
37241         [BZ #7003]
37242         * manual/math.texi (BSD Random): Specify range upper bound as
37243         in POSIX.
37245 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37247         * locale/iso-639.def: Add Meadow Mari (mhr).
37249 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37251         [BZ #14752], [BZ #15763]
37252         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37253         Validate name.
37254         * rt/tst_shm.c: Add test for escaping directory.
37256 2013-10-31  Andreas Schwab  <schwab@suse.de>
37258         [BZ #15917]
37259         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37260         followed by 'x' as part of digit sequence.
37261         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37263 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37265         [BZ #16037]
37266         * configure.ac: allow GNU Make 4.0 and greater.
37267         * configure: Regenerated.
37269 2013-10-30  Will Newton  <will.newton@linaro.org>
37271         [BZ #16038]
37272         * malloc/hooks.c (memalign_check): Limit alignment to the
37273         maximum representable power of two.
37274         * malloc/malloc.c (__libc_memalign): Likewise.
37275         * malloc/tst-memalign.c (do_test): Add test for very
37276         large alignment values.
37277         * malloc/tst-posix_memalign.c (do_test): Likewise.
37279 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37281         [BZ #11087]
37282         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37283         (munmap_chunk): Likewise.
37284         (mremap_chunk): Likewise.
37286 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37288         [BZ #15799]
37289         * stdlib/div.c (div): Remove obsolete code.
37290         * stdlib/ldiv.c (ldiv): Likewise.
37291         * stdlib/lldiv.c (lldiv): Likewise.
37293 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37295         [BZ #16071]
37296         * nss/nss_files/files-XXX.c (get_contents_ret): New
37297         enumerator.
37298         (get_contents): New function.
37299         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37301 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37303         * configure.in: Moved to ...
37304         * configure.ac: ... here. Change reference to configure.in
37305         to configure.ac.
37306         * sysdeps/arm/preconfigure.ac: ... here.
37307         configure.in to configure.ac.
37308         * sysdeps/gnu/configure.in: Moved to ...
37309         * sysdeps/gnu/configure.ac: ... here.
37310         * sysdeps/i386/configure.in: Moved to ...
37311         * sysdeps/i386/configure.ac: ... here.
37312         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37313         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37314         * sysdeps/mach/configure.in: Moved to ...
37315         * sysdeps/mach/configure.ac: ... here.
37316         * sysdeps/mach/hurd/configure.in: Moved to ...
37317         * sysdeps/mach/hurd/configure.ac: ... here.
37318         * sysdeps/powerpc/configure.in: Moved to ...
37319         * sysdeps/powerpc/configure.ac: ... here.
37320         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37321         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37322         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37323         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37324         * sysdeps/s390/s390-32/configure.in: Moved to ...
37325         * sysdeps/s390/s390-32/configure.ac: ... here.
37326         * sysdeps/s390/s390-64/configure.in: Moved to ...
37327         * sysdeps/s390/s390-64/configure.ac: ... here.
37328         * sysdeps/sh/configure.in: Moved to ...
37329         * sysdeps/sh/configure.ac: ... here.
37330         * sysdeps/sparc/configure.in: Moved to ...
37331         * sysdeps/sparc/configure.ac: ... here.
37332         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37333         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37334         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37335         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37336         * sysdeps/x86_64/configure.in: Moved to ...
37337         * sysdeps/x86_64/configure.ac: ... here.
37338         * sysdeps/x86_64/preconfigure.in: Moved to ...
37339         * sysdeps/x86_64/preconfigure.ac: ... here.
37340         * aclocal.m4: Change reference to configure.in to configure.ac.
37341         * config.h.in: Likewise.
37342         * manual/install.texi: Likewise.
37343         * manual/maint.texi: Likewise.
37344         * Makefile: Likewise.
37345         * malloc/Makefile: Likewise.
37346         * nscd/Makefile: Likewise.
37347         * Makeconfig: Change reference to configure.in and
37348         preconfigure.in to configure.ac and preconfigure.ac
37349         respectively.
37350         * INSTALL: Regenerated.
37351         * configure: Likewise.
37352         * sysdeps/gnu/configure: Likewise.
37353         * sysdeps/i386/configure: Likewise.
37354         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37355         * sysdeps/mach/configure: Likewise.
37356         * sysdeps/mach/hurd/configure: Likewise.
37357         * sysdeps/powerpc/configure: Likewise.
37358         * sysdeps/powerpc/powerpc32/configure: Likewise.
37359         * sysdeps/powerpc/powerpc64/configure: Likewise.
37360         * sysdeps/s390/s390-32/configure: Likewise.
37361         * sysdeps/s390/s390-64/configure: Likewise.
37362         * sysdeps/sh/configure: Likewise.
37363         * sysdeps/sparc/configure: Likewise.
37364         * sysdeps/unix/sysv/linux/configure: Likewise.
37365         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37366         * sysdeps/x86_64/configure: Likewise.
37367         * sysdeps/x86_64/preconfigure: Likewise.
37369 2013-10-29  Andreas Schwab  <schwab@suse.de>
37371         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37373 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37375         * benchtests/pow-inputs: Add new inputs.
37377         * benchtests/exp-inputs: Add new inputs.
37379         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37380         conditional check for return value.
37381         (__cos32): Likewise.
37383 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37385         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37386         to provide a boost for large inputs with word alignment.
37387         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37388         implementation based on optimized PPC64 strcpy.
37389         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37390         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37391         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37392         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37394 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37396         [BZ #2801]
37397         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37399 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37401         [BZ #14876]
37402         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37403         * time/tst-strptime.c (day_tests): Add testcase.
37405 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37407         [BZ #14029]
37408         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37410 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37412         [BZ #16074]
37413         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37414         MAP_FAILED on error.
37416 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37418         [BZ #16072]
37419         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37420         heap for large requests.
37422 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37424         [BZ #9954]
37425         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37426         result if the result has no associated interface.
37427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37428         interface for all 127.X.Y.Z addresses.
37430 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37432         * locale/iso-639.def: Add Ligurian (lij)
37434 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37436         [BZ #15825]
37437         * sunrpc/rpc_main.c: Document rpcgen -5.
37439 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37441         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37443 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37445         [BZ #10278]
37446         * posix/glob.c: Match only directories when trailing slash is present.
37447         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37448         (main): Add testcase.
37450 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37452         [BZ #15670]
37453         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37455 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37457         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37458         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37459         AUTH_DES and cindex for FIPS 140-2.
37460         (DES Encryption): Add cindex FIPS 46-3.
37462         * locale/locarchive.h (struct locarhandle): Add fname.
37463         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37464         if an optional argument was specified to --list-archive,
37465         otherwise NULL.
37466         * locale/programs/locarchive.c (show_archive_content): Take new
37467         argument fname and pass it via ah.fname to open_archive.
37468         * locale/programs/localedef.h: Update decl.
37469         (open_archive): If AH->fname is non-null, open that file
37470         rather than the default file name, and don't ignore ENOENT.
37471         (create_archive): Set AH.fname to NULL.
37472         (delete_locales_from_archive): Likewise.
37473         (add_locales_to_archive): Likewise.
37474         * locale/programs/locfile.c (write_all_categories): Likewise.
37476 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37477             Aldy Hernandez  <aldyh@redhat.com>
37479         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37480         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37481         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37482         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37483         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37484         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37485         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37487         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37489         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37490         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37491         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37492         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37493         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37494         Likewise.
37495         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37496         Likewise.
37497         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37498         Likewise.
37499         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37500         Likewise.
37501         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37502         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37503         Likewise.
37504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37505         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37506         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37507         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37508         Likewise.
37509         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37510         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37511         * sysdeps/powerpc/preconfigure: Likewise.
37512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37513         Likewise.
37514         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37515         Replace contents of file by #include of <fenv_libc.h>.
37516         * sysdeps/powerpc/soft-fp/sfp-machine.h
37517         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37518         and <sys/prctl.h>.
37519         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37526         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37527         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37532         Allow copysignl PLT reference to be missing.
37534 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37535             Joseph Myers  <joseph@codesourcery.com
37537         [BZ #15948]
37538         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37539         single character.
37540         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37542 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37544         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37545         * elf/tst-tls1.c: Likewise.
37546         * elf/tst-tls10.h: Likewise.
37547         * elf/tst-tls14.c: Likewise.
37548         * elf/tst-tls2.c: Likewise.
37549         * elf/tst-tls3.c: Likewise.
37550         * elf/tst-tls4.c: Likewise.
37551         * elf/tst-tls5.c: Likewise.
37552         * elf/tst-tls6.c: Likewise.
37553         * elf/tst-tls7.c: Likewise.
37554         * elf/tst-tls8.c: Likewise.
37555         * elf/tst-tls9.c: Likewise.
37556         * elf/tst-tlsmod1.c: Likewise.
37557         * elf/tst-tlsmod13.c: Likewise.
37558         * elf/tst-tlsmod13a.c: Likewise.
37559         * elf/tst-tlsmod14a.c: Likewise.
37560         * elf/tst-tlsmod16a.c: Likewise.
37561         * elf/tst-tlsmod16b.c: Likewise.
37562         * elf/tst-tlsmod2.c: Likewise.
37563         * elf/tst-tlsmod3.c: Likewise.
37564         * elf/tst-tlsmod4.c: Likewise.
37565         * elf/tst-tlsmod5.c: Likewise.
37566         * elf/tst-tlsmod6.c: Likewise.
37568 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37570         [BZ #12486]
37571         * malloc/malloc.c: remove checks for statistics.
37573 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37575         [BZ #15277]
37576         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37577         * inet/tst-network.c: Add testcase.
37579 2013-10-17  Andreas Schwab  <schwab@suse.de>
37581         [BZ #15218]
37582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37583         to determine canonical name.
37585 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37587         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37588         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37589         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37590         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37592         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37593         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37594         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37595         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37596         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37597         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37598         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37599         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37600         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37601         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37602         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37605         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37606         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37610         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37611         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37612         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37613         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37614         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37615         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37616         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37619         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37620         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37621         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37624         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37625         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37627         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37628         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37629         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37631         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37632         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37633         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37634         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37635         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37636         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37637         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37646 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37648         [BZ #16041]
37649         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37650         make result into a quiet NaN.
37652 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37654         * soft-fp/adddf3.c: Fix horizontal whitespace.
37655         * soft-fp/addsf3.c: Likewise.
37656         * soft-fp/addtf3.c: Likewise.
37657         * soft-fp/divdf3.c: Likewise.
37658         * soft-fp/divsf3.c: Likewise.
37659         * soft-fp/divtf3.c: Likewise.
37660         * soft-fp/double.h: Likewise.
37661         * soft-fp/eqdf2.c: Likewise.
37662         * soft-fp/eqsf2.c: Likewise.
37663         * soft-fp/eqtf2.c: Likewise.
37664         * soft-fp/extenddftf2.c: Likewise.
37665         * soft-fp/extended.h: Likewise.
37666         * soft-fp/extendsfdf2.c: Likewise.
37667         * soft-fp/extendsftf2.c: Likewise.
37668         * soft-fp/extendxftf2.c: Likewise.
37669         * soft-fp/fixdfdi.c: Likewise.
37670         * soft-fp/fixdfsi.c: Likewise.
37671         * soft-fp/fixdfti.c: Likewise.
37672         * soft-fp/fixsfdi.c: Likewise.
37673         * soft-fp/fixsfsi.c: Likewise.
37674         * soft-fp/fixsfti.c: Likewise.
37675         * soft-fp/fixtfdi.c: Likewise.
37676         * soft-fp/fixtfsi.c: Likewise.
37677         * soft-fp/fixtfti.c: Likewise.
37678         * soft-fp/fixunsdfdi.c: Likewise.
37679         * soft-fp/fixunsdfsi.c: Likewise.
37680         * soft-fp/fixunsdfti.c: Likewise.
37681         * soft-fp/fixunssfdi.c: Likewise.
37682         * soft-fp/fixunssfsi.c: Likewise.
37683         * soft-fp/fixunssfti.c: Likewise.
37684         * soft-fp/fixunstfdi.c: Likewise.
37685         * soft-fp/fixunstfsi.c: Likewise.
37686         * soft-fp/fixunstfti.c: Likewise.
37687         * soft-fp/floatdidf.c: Likewise.
37688         * soft-fp/floatdisf.c: Likewise.
37689         * soft-fp/floatditf.c: Likewise.
37690         * soft-fp/floatsidf.c: Likewise.
37691         * soft-fp/floatsisf.c: Likewise.
37692         * soft-fp/floatsitf.c: Likewise.
37693         * soft-fp/floattidf.c: Likewise.
37694         * soft-fp/floattisf.c: Likewise.
37695         * soft-fp/floattitf.c: Likewise.
37696         * soft-fp/floatundidf.c: Likewise.
37697         * soft-fp/floatundisf.c: Likewise.
37698         * soft-fp/floatunditf.c: Likewise.
37699         * soft-fp/floatunsidf.c: Likewise.
37700         * soft-fp/floatunsisf.c: Likewise.
37701         * soft-fp/floatunsitf.c: Likewise.
37702         * soft-fp/floatuntidf.c: Likewise.
37703         * soft-fp/floatuntisf.c: Likewise.
37704         * soft-fp/floatuntitf.c: Likewise.
37705         * soft-fp/fmadf4.c: Likewise.
37706         * soft-fp/fmasf4.c: Likewise.
37707         * soft-fp/fmatf4.c: Likewise.
37708         * soft-fp/gedf2.c: Likewise.
37709         * soft-fp/gesf2.c: Likewise.
37710         * soft-fp/getf2.c: Likewise.
37711         * soft-fp/ledf2.c: Likewise.
37712         * soft-fp/lesf2.c: Likewise.
37713         * soft-fp/letf2.c: Likewise.
37714         * soft-fp/muldf3.c: Likewise.
37715         * soft-fp/mulsf3.c: Likewise.
37716         * soft-fp/multf3.c: Likewise.
37717         * soft-fp/negdf2.c: Likewise.
37718         * soft-fp/negsf2.c: Likewise.
37719         * soft-fp/negtf2.c: Likewise.
37720         * soft-fp/op-1.h: Likewise.
37721         * soft-fp/op-2.h: Likewise.
37722         * soft-fp/op-4.h: Likewise.
37723         * soft-fp/op-8.h: Likewise.
37724         * soft-fp/op-common.h: Likewise.
37725         * soft-fp/quad.h: Likewise.
37726         * soft-fp/single.h: Likewise.
37727         * soft-fp/soft-fp.h: Likewise.
37728         * soft-fp/sqrtdf2.c: Likewise.
37729         * soft-fp/sqrtsf2.c: Likewise.
37730         * soft-fp/sqrttf2.c: Likewise.
37731         * soft-fp/subdf3.c: Likewise.
37732         * soft-fp/subsf3.c: Likewise.
37733         * soft-fp/subtf3.c: Likewise.
37734         * soft-fp/truncdfsf2.c: Likewise.
37735         * soft-fp/trunctfdf2.c: Likewise.
37736         * soft-fp/trunctfsf2.c: Likewise.
37737         * soft-fp/trunctfxf2.c: Likewise.
37738         * soft-fp/unorddf2.c: Likewise.
37739         * soft-fp/unordsf2.c: Likewise.
37740         * soft-fp/unordtf2.c: Likewise.
37742 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37744         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37745         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37747 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37749         * elf/dl-libc.c: Clear initfini list after freeing.
37751 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37753         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37754         * soft-fp/addsf3.c: Likewise.
37755         * soft-fp/addtf3.c: Likewise.
37756         * soft-fp/divdf3.c: Likewise.
37757         * soft-fp/divsf3.c: Likewise.
37758         * soft-fp/divtf3.c: Likewise.
37759         * soft-fp/double.h: Likewise.
37760         * soft-fp/eqdf2.c: Likewise.
37761         * soft-fp/eqsf2.c: Likewise.
37762         * soft-fp/eqtf2.c: Likewise.
37763         * soft-fp/extenddftf2.c: Likewise.
37764         * soft-fp/extended.h: Likewise.
37765         * soft-fp/extendsfdf2.c: Likewise.
37766         * soft-fp/extendsftf2.c: Likewise.
37767         * soft-fp/extendxftf2.c: Likewise.
37768         * soft-fp/fixdfdi.c: Likewise.
37769         * soft-fp/fixdfsi.c: Likewise.
37770         * soft-fp/fixdfti.c: Likewise.
37771         * soft-fp/fixsfdi.c: Likewise.
37772         * soft-fp/fixsfsi.c: Likewise.
37773         * soft-fp/fixsfti.c: Likewise.
37774         * soft-fp/fixtfdi.c: Likewise.
37775         * soft-fp/fixtfsi.c: Likewise.
37776         * soft-fp/fixtfti.c: Likewise.
37777         * soft-fp/fixunsdfdi.c: Likewise.
37778         * soft-fp/fixunsdfsi.c: Likewise.
37779         * soft-fp/fixunsdfti.c: Likewise.
37780         * soft-fp/fixunssfdi.c: Likewise.
37781         * soft-fp/fixunssfsi.c: Likewise.
37782         * soft-fp/fixunssfti.c: Likewise.
37783         * soft-fp/fixunstfdi.c: Likewise.
37784         * soft-fp/fixunstfsi.c: Likewise.
37785         * soft-fp/fixunstfti.c: Likewise.
37786         * soft-fp/floatdidf.c: Likewise.
37787         * soft-fp/floatdisf.c: Likewise.
37788         * soft-fp/floatditf.c: Likewise.
37789         * soft-fp/floatsidf.c: Likewise.
37790         * soft-fp/floatsisf.c: Likewise.
37791         * soft-fp/floatsitf.c: Likewise.
37792         * soft-fp/floattidf.c: Likewise.
37793         * soft-fp/floattisf.c: Likewise.
37794         * soft-fp/floattitf.c: Likewise.
37795         * soft-fp/floatundidf.c: Likewise.
37796         * soft-fp/floatundisf.c: Likewise.
37797         * soft-fp/floatunsidf.c: Likewise.
37798         * soft-fp/floatunsisf.c: Likewise.
37799         * soft-fp/floatuntidf.c: Likewise.
37800         * soft-fp/floatuntisf.c: Likewise.
37801         * soft-fp/floatuntitf.c: Likewise.
37802         * soft-fp/fmadf4.c: Likewise.
37803         * soft-fp/fmasf4.c: Likewise.
37804         * soft-fp/fmatf4.c: Likewise.
37805         * soft-fp/gedf2.c: Likewise.
37806         * soft-fp/gesf2.c: Likewise.
37807         * soft-fp/getf2.c: Likewise.
37808         * soft-fp/ledf2.c: Likewise.
37809         * soft-fp/lesf2.c: Likewise.
37810         * soft-fp/letf2.c: Likewise.
37811         * soft-fp/muldf3.c: Likewise.
37812         * soft-fp/mulsf3.c: Likewise.
37813         * soft-fp/multf3.c: Likewise.
37814         * soft-fp/negdf2.c: Likewise.
37815         * soft-fp/negsf2.c: Likewise.
37816         * soft-fp/negtf2.c: Likewise.
37817         * soft-fp/op-1.h: Likewise.
37818         * soft-fp/op-2.h: Likewise.
37819         * soft-fp/op-4.h: Likewise.
37820         * soft-fp/op-8.h: Likewise.
37821         * soft-fp/op-common.h: Likewise.
37822         * soft-fp/quad.h: Likewise.
37823         * soft-fp/single.h: Likewise.
37824         * soft-fp/soft-fp.h: Likewise.
37825         * soft-fp/sqrtdf2.c: Likewise.
37826         * soft-fp/sqrtsf2.c: Likewise.
37827         * soft-fp/sqrttf2.c: Likewise.
37828         * soft-fp/subdf3.c: Likewise.
37829         * soft-fp/subsf3.c: Likewise.
37830         * soft-fp/subtf3.c: Likewise.
37831         * soft-fp/truncdfsf2.c: Likewise.
37832         * soft-fp/trunctfdf2.c: Likewise.
37833         * soft-fp/trunctfsf2.c: Likewise.
37834         * soft-fp/trunctfxf2.c: Likewise.
37835         * soft-fp/unorddf2.c: Likewise.
37836         * soft-fp/unordsf2.c: Likewise.
37837         * soft-fp/unordtf2.c: Likewise.
37839 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37841         [BZ #15672]
37842         * misc/error.c (error_tail): Fix possible buffer overflow.
37844 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37846         [BZ #13028]
37847         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37848         address.
37850 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37852         [BZ #832]
37853         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37854         testing pipefail option.
37856 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37858         * soft-fp/double.h: Indent preprocessor directives inside #if.
37859         * soft-fp/extended.h: Likewise.
37860         * soft-fp/op-2.h: Likewise.
37861         * soft-fp/op-4.h: Likewise.
37862         * soft-fp/op-common.h: Likewise.
37863         * soft-fp/quad.h: Likewise.
37864         * soft-fp/single.h: Likewise.
37865         * soft-fp/soft-fp.h: Likewise.
37867 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37869         * iconv/iconv_prog.c: Fix typos.
37870         * stdio-common/psiginfo-data.h: Likewise.
37872 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37874         [BZ #15764]
37875         * locale/setlocale.c: Fix typo.
37877 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37879         [BZ #16036]
37880         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37881         signaling NaN arguments.
37882         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37883         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37885         [BZ #14910]
37886         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37887         unordered operands.
37888         * soft-fp/gesf2.c (__gesf2): Likewise.
37889         * soft-fp/getf2.c (__getf2): Likewise.
37890         * soft-fp/ledf2.c (__ledf2): Likewise.
37891         * soft-fp/lesf2.c (__lesf2): Likewise.
37892         * soft-fp/letf2.c (__letf2): Likewise.
37894         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37895         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37896         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37897         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37898         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37899         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37900         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37901         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37902         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37903         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37904         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37905         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37906         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37907         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37908         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37909         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37910         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37911         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37912         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37913         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37914         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37915         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37916         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37917         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37918         * soft-fp/floattidf.c (__floattidf): Likewise.
37919         * soft-fp/floattisf.c (__floattisf): Likewise.
37920         * soft-fp/floattitf.c (__floattitf): Likewise.
37921         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37922         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37923         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37924         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37925         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37926         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37927         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37928         * soft-fp/gesf2.c (__gesf2): Likewise.
37929         * soft-fp/getf2.c (__getf2): Likewise.
37930         * soft-fp/ledf2.c (__ledf2): Likewise.
37931         * soft-fp/lesf2.c (__lesf2): Likewise.
37932         * soft-fp/letf2.c (__letf2): Likewise.
37934         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37935         Undefine and redefine.
37936         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37937         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37938         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37939         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37940         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37941         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37942         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37943         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37944         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37945         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37946         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37947         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37948         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37949         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37950         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37952         [BZ #16032]
37953         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37954         without decrementing exponent if mantissa >= that for the
37955         denominator, not >.
37956         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37957         denominator, not >.  Decrement exponent in < case instead of
37958         incrementing in >= case.
37959         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37960         without decrementing exponent if mantissa >= that for the
37961         denominator, not >.
37963         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37964         computing saturated result for unsigned overflow.
37966 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37967             Jeff Law  <law@redhat.com>
37969         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37970         (atan2Mp): Add systemtap probe marker.
37971         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37972         (__ieee754_log): Add systemtap probe marker.
37973         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37974         (atanMp): Add systemtap probe marker.
37975         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37976         (tanMp): Add systemtap probe marker.
37977         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37978         (__slowexp): Add systemtap probe marker.
37979         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37980         (__slowpow): Add systemtap probe marker.
37981         * manual/probes.texi: Document probes.
37983 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37985         [BZ #15362]
37986         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37987         written.
37988         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37989         written.
37990         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37991         written to buffer but not flushed.
37992         * libio/iofwrite_u.c:  Likewise.
37993         * libio/iopadn.c:  Return bytes returned even if EOF was
37994         encountered.
37995         * libio/iowpadn.c:  Likewise.
37996         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37997         if _IO_padn does not write the whole buffer.
37998         [!COMPILE_WPRINTF] (PAD): Likewise.
38000 2013-10-10  David S. Miller  <davem@davemloft.net>
38002         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38003         directory block.
38005 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38007         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38008         instead of FSF address.
38009         * soft-fp/fixdfti.c: Likewise.
38010         * soft-fp/fixsfti.c: Likewise.
38011         * soft-fp/fixtfti.c: Likewise.
38012         * soft-fp/fixunsdfti.c: Likewise.
38013         * soft-fp/fixunssfti.c: Likewise.
38014         * soft-fp/fixunstfti.c: Likewise.
38015         * soft-fp/floattidf.c: Likewise.
38016         * soft-fp/floattisf.c: Likewise.
38017         * soft-fp/floattitf.c: Likewise.
38018         * soft-fp/floatuntidf.c: Likewise.
38019         * soft-fp/floatuntisf.c: Likewise.
38020         * soft-fp/floatuntitf.c: Likewise.
38021         * soft-fp/trunctfxf2.c: Likewise.
38023         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38024         * soft-fp/fixdfti.c: Likewise.
38025         * soft-fp/fixsfti.c: Likewise.
38026         * soft-fp/fixtfti.c: Likewise.
38027         * soft-fp/fixunsdfti.c: Likewise.
38028         * soft-fp/fixunssfti.c: Likewise.
38029         * soft-fp/fixunstfti.c: Likewise.
38030         * soft-fp/floattidf.c: Likewise.
38031         * soft-fp/floattisf.c: Likewise.
38032         * soft-fp/floattitf.c: Likewise.
38033         * soft-fp/floatuntidf.c: Likewise.
38034         * soft-fp/floatuntisf.c: Likewise.
38035         * soft-fp/floatuntitf.c: Likewise.
38036         * soft-fp/trunctfxf2.c: Likewise.
38038 2013-10-10  David S. Miller  <davem@davemloft.net>
38040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38042 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38044         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38045         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38046         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38047         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38048         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38049         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38050         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38053         for NaNs before doing comparisons on argument.
38054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38055         Likewise.
38057 2013-10-10  Will Newton  <will.newton@linaro.org>
38059         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38060         passed to _int_memalign does not overflow.
38062 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38064         * scripts/bench.pl: Add include-sources directive.
38065         * benchtests/README: Update documentation.
38067 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38069         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38070         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38071         instead of FP_INIT_ROUNDMODE.
38072         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38073         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38075         [BZ #16034]
38076         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38077         copy class of input value.
38078         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38079         not handle exceptions.
38080         * soft-fp/negsf2.c (__negsf2): Likewise.
38081         * soft-fp/negtf2.c (__negtf2): Likewise.
38082         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38084 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38086         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38087         semicolon.  From Linux kernel.
38089 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38091         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38093 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38095         [BZ #156]
38096         * manual/socket.texi: Added statement about buffer
38097         for gethostbyname2_r.
38099 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38101         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38102         Use .p2align directive instead, throughout.
38103         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38104         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38105         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38108         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38109         * sysdeps/x86_64/strchr.S: Likewise.
38110         * sysdeps/x86_64/strrchr.S: Likewise.
38112 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38114         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38116         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38118         * sysdeps/generic/math_private.h (__mpsin1): Remove
38119         declaration.
38120         (__mpcos1): Likewise.
38121         (__mpsin): New argument __range_reduce.
38122         (__mpcos): Likewise.
38123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38124         (slow): Use __mpsin and __mpcos.
38125         (slow1): Likewise.
38126         (slow2): Likewise.
38127         (sloww): Likewise.
38128         (sloww1): Likewise.
38129         (sloww2): Likewise.
38130         (bsloww): Likewise.
38131         (bsloww1): Likewise.
38132         (bsloww2): Likewise.
38133         (cslow2): Likewise.
38134         (csloww): Likewise.
38135         (csloww1): Likewise.
38136         (csloww2): Likewise.
38137         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38138         range_reduce.  Merge in __mpsin1.
38139         (__mpcos): Likewise.
38140         (__mpsin1): Remove.
38141         (__mpcos1): Likewise.
38143 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38145         * locale/loadlocale.c (_nl_intern_locale_data): Use
38146         LOCFILE_ALIGNED_P.
38147         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38148         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38149         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38150         obstack data is appropriately aligned.
38151         (obstack_int32_grow_fast): Likewise.
38152         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38153         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38154         (add_locale_uint32_array): Likewise.
38156 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38158         * benchtests/Makefile: Remove ARGLIST and RET variables.
38159         ($(objpfx)bench-%.c): Pass only function name to the script.
38160         * benchtests/README: Update documentation.
38161         * benchtests/acos-inputs: Add new directives.
38162         * benchtests/acosh-inputs: Likewise.
38163         * benchtests/asin-inputs: Likewise.
38164         * benchtests/asinh-inputs: Likewise.
38165         * benchtests/atan-inputs: Likewise.
38166         * benchtests/atanh-inputs: Likewise.
38167         * benchtests/cos-inputs: Likewise.
38168         * benchtests/cosh-inputs: Likewise.
38169         * benchtests/exp-inputs: Likewise.
38170         * benchtests/log-inputs: Likewise.
38171         * benchtests/pow-inputs: Likewise.
38172         * benchtests/rint-inputs: Likewise.
38173         * benchtests/sin-inputs: Likewise.
38174         * benchtests/sinh-inputs: Likewise.
38175         * benchtests/tan-inputs: Likewise.
38176         * benchtests/tanh-inputs: Likewise.
38177         * scripts/bench.pl: Add support for new directives.
38179 2013-10-07  Alan Modra  <amodra@gmail.com>
38181         * README: Fix careless merge.
38183 2013-10-05  Alan Modra  <amodra@gmail.com>
38185         * NEWS: Mention powerpc64le support and bugs fixed.
38186         * README: Both big-endian and little-endian powerpc64 supported.
38188 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38190         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38191         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38192         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38193         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38195 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38197         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38198         match prototype.
38200 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38202         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38203         Move -mhard-float appending from
38204         ports/sysdeps/powerpc/powerpc32/Makefile.
38205         [$(with-fp) = yes] (ASFLAGS): Likewise.
38206         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38207         * sysdeps/powerpc/nofpu: Move directory from
38208         ports/sysdeps/powerpc/nofpu.
38209         * sysdeps/powerpc/soft-fp: Move directory from
38210         ports/sysdeps/powerpc/soft-fp.
38211         * sysdeps/powerpc/powerpc32/405: Move directory from
38212         ports/sysdeps/powerpc/powerpc32/405.
38213         * sysdeps/powerpc/powerpc32/440: Move directory from
38214         ports/sysdeps/powerpc/powerpc32/440.
38215         * sysdeps/powerpc/powerpc32/464: Move directory from
38216         ports/sysdeps/powerpc/powerpc32/464.
38217         * sysdeps/powerpc/powerpc32/476: Move directory from
38218         ports/sysdeps/powerpc/powerpc32/476.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38222         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38224         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38226         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38228         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38229         * README: Update for powerpc-*-linux-gnu software floating point
38230         support in libc.
38232         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38233         case to powerpc/powerpc32*.
38234         * sysdeps/unix/sysv/linux/configure: Regenerated.
38236         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38237         (_FPU_MASK_OM): Define as 0x04.
38238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38240         0x00c10080.
38241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38242         0x0000003c.
38243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38246         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38247         getcontext_e500.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38249         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38250         setcontext_e500.
38251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38252         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38253         and setcontext_e500.
38255 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38257         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38259 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38261         * manual/threads.texi (Default Thread Attributes): Fix typo.
38263 2013-10-04  Will Newton  <will.newton@linaro.org>
38265         * malloc/Makefile: Add tst-memalign.
38266         * malloc/tst-memalign.c: New file.
38268         * malloc/tst-posix_memalign.c: Add comments.
38269         (do_test): Add comments and call free on all potentially
38270         allocated pointers. Add space after cast.
38272         * malloc/tst-pvalloc.c: Add comments.
38273         (do_test): Add comments and call free on all potentially
38274         allocated pointers. Remove duplicate check for NULL pointer.
38275         Add space after cast.
38277         * malloc/tst-valloc.c: Add comments.
38278         (do_test): Add comments and call free on all potentially
38279         allocated pointers. Remove duplicate check for NULL pointer.
38280         Add space after cast.
38282 2013-10-04  Alan Modra  <amodra@gmail.com>
38284         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38285         Use stdint types in rather than __attribute__((mode())).
38286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38288 2013-10-04  Alan Modra  <amodra@gmail.com>
38290         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38291         Correct handling of unaligned relocs for little-endian.
38292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38294 2013-10-04  Alan Modra  <amodra@gmail.com>
38296         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38297         * configure: Regenerate.
38298         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38299         * shlib-versions: Likewise.
38301 2013-10-04  Alan Modra  <amodra@gmail.com>
38303         * string/tester.c (test_memrchr): Increment reported test cycle.
38305 2013-10-04  Alan Modra  <amodra@gmail.com>
38307         * string/test-memcpy.c (do_one_test): When reporting errors, print
38308         string address and don't overrun end of string.
38310 2013-10-04  Alan Modra  <amodra@gmail.com>
38312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38313         insrdi.  Make better use of reg selection to speed exit slightly.
38314         Schedule entry path a little better.  Remove useless "are we done"
38315         checks on entry to main loop.  Handle wrapping around zero address.
38316         Correct main loop count.  Handle single left-over word from main
38317         loop inline rather than by using loop_small.  Remove extra word
38318         case in loop_small caused by wrong loop count.  Add little-endian
38319         support.
38320         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38321         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38322         cache hint.
38323         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38324         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38325         support.  Avoid rlwimi.
38326         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38328 2013-10-04  Alan Modra  <amodra@gmail.com>
38330         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38331         insrdi.  Formatting.
38332         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38333         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38334         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38335         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38336         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38337         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38339 2013-10-04  Alan Modra  <amodra@gmail.com>
38341         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38343         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38344         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38345         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38346         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38348         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38349         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38350         use of regs.  Use power7 mtocrf.  Tidy function tails.
38352 2013-10-04  Alan Modra  <amodra@gmail.com>
38354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38355         Formatting.  Consistently use rXXX register defines or rN defines.
38356         Use early exit labels that avoid restoring unused non-volatile regs.
38357         Make cr field use more consistent with rWORDn compares.  Rename
38358         regs used as shift registers for unaligned loop, using rN defines
38359         for short lifetime/multiple use regs.
38360         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38361         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38362         addi 1,1,64 to pop stack frame.  Simplify return value code.
38363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38365 2013-10-04  Alan Modra  <amodra@gmail.com>
38367         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38368         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38369         rather than rlwimi.
38370         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38371         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38372         little-endian support.  Correct typos.
38373         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38374         rather than rlwimi.
38375         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38376         in loop and entry code to keep "and." results.
38377         (strchr): Add little-endian support.  Comment.  Move cntlzd
38378         earlier in tail.
38379         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38381 2013-10-04  Alan Modra  <amodra@gmail.com>
38383         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38384         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38385         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38386         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38388 2013-10-04  Alan Modra  <amodra@gmail.com>
38390         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38391         (rTMP): Define as r11.
38392         (strcmp): Add little-endian support.  Optimise tail.
38393         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38394         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38395         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38396         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38397         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38399         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38401 2013-10-04  Alan Modra  <amodra@gmail.com>
38403         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38404         little-endian support.  Remove unnecessary "are we done" tests.
38405         Handle "s" wrapping around zero and extremely large "size".
38406         Correct main loop count.  Handle single left-over word from main
38407         loop inline rather than by using small_loop.  Correct comments.
38408         Delete "zero" tail, use "end_max" instead.
38409         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38411 2013-10-04  Alan Modra  <amodra@gmail.com>
38413         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38414         support.  Don't branch over align.
38415         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38416         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38417         support.  Rearrange tmp reg use to suit.  Comment.
38418         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38420 2013-10-04  Alan Modra  <amodra@gmail.com>
38422         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38424 2013-10-04  Alan Modra  <amodra@gmail.com>
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38427         conditional form of branch and link when obtaining pc.
38428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38430 2013-10-04  Alan Modra  <amodra@gmail.com>
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38433         HIWORD/LOWORD.
38434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38437 2013-10-04  Alan Modra  <amodra@gmail.com>
38439         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38440         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38441         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38442         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38443         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38444         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38445         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38446         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38447         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38448         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38450 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38451             Alistair Popple <alistair@ozlabs.au.ibm.com>
38452             Alan Modra <amodra@gmail.com>
38454         [BZ #15723]
38455         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38457         _dl_hwcap access for little-endian.
38458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38459         destroy vmx regs when saving unaligned.
38460         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38462         destroy vmx regs when saving unaligned.
38464 2013-10-04  Alan Modra  <amodra@gmail.com>
38466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38467         Don't use a union to pack hi/low value.
38469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38471         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38472         for little-endian.
38473         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38475         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38476         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38477         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38479 2013-10-04  Alan Modra  <amodra@gmail.com>
38481         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38482         constants to usual value for .cst8 section, and remove redundant
38483         high address load.
38484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38485         constant for 0x1p52.  Load little-endian words of double from
38486         correct stack offsets.
38488 2013-10-04  Alan Modra  <amodra@gmail.com>
38490         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38491         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38492         words of double from correct stack offsets.
38493         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38494         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38495         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38496         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38498         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38499         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38500         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38501         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38502         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38504         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38505         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38506         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38507         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38508         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38509         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38511 2013-10-04  Alan Modra  <amodra@gmail.com>
38513         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38514         64-bit int/double union.
38515         (_FPU_SETCW): Likewise.
38516         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38517         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38519 2013-10-04  Alan Modra  <amodra@gmail.com>
38521         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38522         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38524 2013-10-04  Alan Modra  <amodra@gmail.com>
38526         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38527         use vector int constants.
38528         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38530 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38532         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38533         array with long long.
38534         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38535         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38536         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38537         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38538         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38539         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38540         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38541         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38542         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38543         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38544         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38545         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38546         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38548 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38550         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38551         (__signbit): Likewise.  Correct for little-endian.
38552         (__signbitl): Call __signbit.
38553         (lrint): Correct for little-endian.
38554         (lrintf): Call lrint.
38556 2013-10-04  Alan Modra  <amodra@gmail.com>
38558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38559         union 32-bit int array member with 64-bit int array.
38560         (t515, tm256): Double rather than long double.
38561         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38563 2013-10-04  Alan Modra  <amodra@gmail.com>
38565         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38566         Delete.
38567         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38569         version of math_ldbl.h.
38571 2013-10-04  Alan Modra  <amodra@gmail.com>
38573         [BZ #15734], [BZ #15735]
38574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38575         all uses of ieee875 long double macros and unions.  Simplify test
38576         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38577         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38578         normalize after ldbl_extract_mantissa, and don't add hidden bit
38579         already handled.  Don't treat low word of ieee854 mantissa like
38580         low word of IBM long double and mask off bit when testing for
38581         zero.
38582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38583         all uses of ieee875 long double macros and unions.  Simplify tests
38584         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38585         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38586         two1022, instead use their values.  Recognise that tests for large
38587         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38589         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38590         test for 0.0L and nan.  Correct negation.
38591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38592         ieee875 long double macros and unions.  Correct output for large
38593         magnitude x.  Correct absolute value calculation.
38594         (__erfcl): Likewise.
38595         * math/libm-test.inc: Add tests for errors discovered in IBM long
38596         double versions of fmodl, remainderl, erfl and erfcl.
38598 2013-10-04  Alan Modra  <amodra@gmail.com>
38600         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38601         all uses of ieee854 long double macros and unions.  Simplify tests
38602         for long doubles that are fully specified by the high double.
38603         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38604         Likewise.
38605         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38606         Remove dead code too.
38607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38608         (__ieee754_ynl): Likewise.
38609         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38611         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38612         Remove dead code too.
38613         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38616         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38617         Simplify.
38618         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38619         Simplify.
38620         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38621         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38623         Comment on variable precision.
38624         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38625         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38626         Likewise.
38627         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38628         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38629         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38630         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38631         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38633 2013-10-04  Alan Modra  <amodra@gmail.com>
38635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38637         all uses of ieee854 long double macros and unions.
38638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38639         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38641         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38642         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38643         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38644         Likewise.
38645         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38646         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38647         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38648         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38649         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38651         Simplify sign and nan test too.
38652         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38653         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38654         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38655         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38656         Likewise.
38657         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38658         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38659         Likewise.
38660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38661         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38662         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38663         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38664         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38667 2013-10-04  Alan Modra  <amodra@gmail.com>
38669         * stdio-common/printf_size.c (__printf_size): Don't use
38670         union ieee854_long_double in fpnum union.
38671         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38672         signbit macro to retrieve sign from long double.
38673         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38674         retrieve sign from long double.
38675         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38676         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38677         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38678         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38679         * math/test-misc.c (main): Don't use union ieee854_long_double.
38681 2013-10-04  Alan Modra  <amodra@gmail.com>
38683         [BZ #15680]
38684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38686         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38687         calculation.  Remove unnecessary test for denormal exponent.
38688         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38689         Correct handling of denormals.  Avoid undefined shift behaviour.
38690         Correct normalisation of low mantissa when low double is denormal.
38691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38692         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38693         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38694         Correct normalisation of low mantissa.  Test for overflow of high
38695         mantissa and normalise.
38696         (ldbl_nearbyint): Use more readable constant for two52.
38697         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38698         (__mpn_construct_long_double): Fix test for overflow of high
38699         mantissa and correct normalisation.  Avoid undefined shift.
38701 2013-10-04  Alan Modra  <amodra@gmail.com>
38703         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38704         (union ibm_extended_long_double): Define as an array of ieee754_double.
38705         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38706         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38707         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38708         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38710         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38712         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38713         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38714         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38715         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38717 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38719         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38720         page size instead of calling getpagesize.
38722         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38723         (LOCFILE_ALIGN_MASK): Likewise.
38724         (LOCFILE_ALIGN_UP): Likewise.
38725         (LOCFILE_ALIGNED_P): Likewise.
38726         * locale/programs/ld-collate.c (collate_output): Use the new
38727         macros instead of __alignof__ (int32_t).
38728         * locale/weight.h (findidx): Likewise.
38730 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38732         [BZ #431]
38733         * manual/string.texi: Fix strncat and wcsncat.
38735 2013-10-03  Brooks Moses  <bmoses@google.com>
38737         [BZ #15915]
38738         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38739         * Makerules: ...here, and adjust associated comments.
38741 2013-10-02  Will Newton  <will.newton@linaro.org>
38743         * malloc/Makefile: Add tst-pvalloc.
38744         * malloc/tst-pvalloc.c: New file.
38746 2013-10-02  Will Newton  <will.newton@linaro.org>
38748         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38749         improve test coverage.
38751 2013-10-02  Will Newton  <will.newton@linaro.org>
38753         * malloc/Makefile: Add tst-posix_memalign.
38754         * malloc/tst-posix_memalign.c: New file.
38756 2013-10-01  Eric Blake  <eblake@redhat.com>
38758         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38759         Use __THROWNL rather than __THROW on static functions.
38761 2013-09-30  Petr Machata  <pmachata@redhat.com>
38763         * elf/elf.h (R_AARCH64_ABS16): New macro.
38764         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38765         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38766         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38767         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38768         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38769         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38770         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38771         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38772         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38773         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38774         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38775         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38776         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38777         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38778         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38779         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38780         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38781         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38782         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38783         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38784         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38785         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38786         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38787         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38788         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38789         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38790         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38791         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38792         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38793         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38794         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38795         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38796         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38797         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38798         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38799         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38800         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38801         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38802         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38803         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38804         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38805         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38806         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38807         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38808         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38809         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38810         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38811         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38812         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38813         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38814         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38815         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38816         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38817         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38818         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38819         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38820         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38821         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38822         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38823         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38824         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38825         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38826         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38827         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38828         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38829         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38830         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38831         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38832         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38833         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38834         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38835         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38836         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38837         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38838         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38839         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38840         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38841         (R_AARCH64_TLSDESC_LDR): Likewise.
38842         (R_AARCH64_TLSDESC_ADD): Likewise.
38843         (R_AARCH64_TLSDESC_CALL): Likewise.
38845 2013-09-30  Andreas Schwab  <schwab@suse.de>
38847         [BZ #15048]
38848         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38849         the nss database lookup.
38850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38853 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38855         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38857 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38859         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38860         ${Bash-specific parameter/pattern/string} parameter expansion.
38861         * sysdeps/unix/make-syscalls.sh: Likewise.
38863 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38865         * sysdeps/sh/stackguard-macros.h: New file.
38867 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38871         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38872         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38873         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38874         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38876 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38878         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38879         Fix thread ID register.
38881 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38883         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38884         [POSIX || UNIX98]: Require rather than permitting all symbols from
38885         <time.h>.
38886         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38887         element of struct sched_param.
38888         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38889         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38890         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38891         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38892         constant.
38894 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38896         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38897         argument calculation.
38899 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38901         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38902         Expect macro.
38903         [POSIX] (pthread_attr_t): Do not require type.
38904         [POSIX] (pthread_cond_t): Likewise.
38905         [POSIX] (pthread_condattr_t): Likewise.
38906         [POSIX] (pthread_key_t): Likewise.
38907         [POSIX] (pthread_mutex_t): Likewise.
38908         [POSIX] (pthread_mutexattr_t): Likewise.
38909         [POSIX] (pthread_once_t): Likewise.
38910         [POSIX] (pthread_t): Likewise.
38911         [POSIX-based standards] (pthread_atfork): Expect function.
38913 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38914             Richard Sandiford  <richard@codesourcery.com>
38916         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38917         (swap_endianness_p): New extern variable.
38918         (set_big_endian): New inline function.
38919         (maybe_swap_uint32): Likewise.
38920         (maybe_swap_uint32_array): Likewise.
38921         (maybe_swap_uint32_obstack): Likewise.
38922         * locale/programs/locfile.c: Include <stdbool.h>.
38923         (swap_endianness_p): New variable.
38924         (add_locale_uint32): Call maybe_swap_uint32.
38925         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38926         (write_locale_data): Call maybe_swap_uint32_array.
38927         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38928         maybe_swap_uint32.
38929         (obstack_int32_grow_fast): Likewise.
38930         (output_weightwc): Call maybe_swap_uint32_obstack.
38931         (collate_output): Likewise.
38932         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38933         (OPT_LITTLE_ENDIAN): Likewise.
38934         (options): Add --little-endian and --big-endian options.
38935         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38936         * locale/programs/locarchive.c: Include "locfile.h".
38937         (GET): New macro.
38938         (SET): Likewise.
38939         (INC): Likewise.
38940         (create_archive): Use the new macros to access fields of
38941         structures directly mapped from or written to locale archives.
38942         (oldlocrecentcmp): Likewise.
38943         (enlarge_archive): Likewise.
38944         (insert_name): Likewise.
38945         (add_alias): Likewise.
38946         (add_locale): Likewise.
38947         (delete_locales_from_archive): Likewise.
38948         (show_archive_content): Likewise.
38949         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38950         locale data.
38952 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38954         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38955         http://www.gnu.org/doc/freemanuals.texi.
38956         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38958 2013-09-24  Will Newton  <will.newton@linaro.org>
38960         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38961         macro.
38963 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38965         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38966         unsigned char.
38968 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38970         * manual/threads.texi (POSIX Threads): Fix a typo.
38972 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38974         [BZ #14547]
38975         * string/tst-strcoll-overflow.c: New test case.
38976         * string/Makefile (xtests): Add tst-strcoll-overflow.
38977         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38978         cache if string sizes may cause integer overflow.
38980         [BZ #14547]
38981         * string/strcoll_l.c (coll_seq): New members rule, idx,
38982         save_idx and back_us.
38983         (get_next_seq_nocache): New function.
38984         (do_compare_nocache): New function.
38985         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38986         when malloc fails.
38988 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38990         [BZ #15754]
38991         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38992         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38993         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38995         [BZ #15754]
38996         * elf/Makefile (tests): Add tst-ptrguard1.
38997         (tests-static): Add tst-ptrguard1-static.
38998         (tst-ptrguard1-ARGS): Define.
38999         (tst-ptrguard1-static-ARGS): Define.
39000         * elf/tst-ptrguard1.c: New file.
39001         * elf/tst-ptrguard1-static.c: New file.
39002         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39003         * sysdeps/i386/stackguard-macros.h: Likewise.
39004         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39005         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39006         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39007         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39008         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39009         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39011 2013-09-23  Hector Marco  <hecmargi@upv.es>
39012             Ismael Ripoll  <iripoll@disca.upv.es>
39013             Carlos O'Donell  <carlos@redhat.com>
39015         [BZ #15754]
39016         * sysdeps/generic/stackguard-macros.h: Define
39017         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39018         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39019         Define __pointer_chk_guard_local.
39020         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39021         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39023 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39025         [BZ #15859]
39026         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39028 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39030         * include/string.h (__ffs): Declare as hidden.
39031         * string/ffs.c (__ffs): Define as hidden.
39032         * sysdeps/i386/ffs.c (__ffs): Likewise.
39033         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39034         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39035         * sysdeps/s390/ffs.c (__ffs): Likewise.
39036         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39038 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39040         * NEWS: Mention malloc probes.
39042         * malloc/arena.c (new_heap): New memory_heap_new probe.
39043         (grow_heap): New memory_heap_more probe.
39044         (shrink_heap): New memory_heap_less probe.
39045         (heap_trim): New memory_heap_free probe.
39046         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39047         (systrim): New memory_sbrk_less probe.
39048         * manual/probes.texi: Document them.
39050         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39051         * manual/probes.texi: Document it.
39053         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39054         (__libc_realloc): Add memory_realloc_retry probe.
39055         (__libc_memalign): Add memory_memalign_retry probe.
39056         (__libc_valloc): Add memory_valloc_retry probe.
39057         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39058         (__libc_calloc): Add memory_calloc_retry probe.
39059         * manual/probes.texi: Document them.
39061         * malloc/arena.c (get_free_list): Add probe
39062         memory_arena_reuse_free_list.
39063         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39064         and memory_arena_reuse.
39065         (arena_get2) [!PER_THREAD]: Likewise.
39066         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39067         memory_arena_reuse_realloc.
39068         * manual/probes.texi: Document them.
39070         * malloc/malloc.c (__libc_free): Add
39071         memory_mallopt_free_dyn_thresholds probe.
39072         (__libc_mallopt): Add multiple memory_mallopt probes.
39073         * manual/probes.texi: Document them.
39075         * malloc/malloc.c: Include stap-probe.h.
39076         (__libc_mallopt): Add memory_mallopt probe.
39077         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39078         * manual/probes.texi: New.
39079         * manual/Makefile (chapters): Add probes.
39080         * manual/threads.texi: Set next node.
39082 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39084         [BZ #15963, #13985]
39085         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39086         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39087         Add `Chinese' to `nan' entry name.
39089 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39091         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39092         (POLYNOMIAL): Likewise.
39093         (TAYLOR_SINCOS): Likewise.
39094         (TAYLOR_SLOW): Likewise.
39095         (__sin): Use TAYLOR_SINCOS.
39096         (__cos): Likewise.
39097         (slow): Use TAYLOR_SLOW.
39098         (sloww): Likewise.
39099         (bsloww): Likewise.
39100         (csloww): Likewise.
39102 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39104         * stdlib/strtod_l.c: Fix buffer overrun.
39106 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39108         * benchtests/Makefile (bench): Add sincos.
39109         * benchtests/bench-sincos.c: New file.
39111         * math/libm-test.inc (cos_test_data): New test inputs.
39112         (sin_test_data): Likewise.
39114         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39115         macro.
39116         (__sin): Use it.
39117         (__cos): Likewise.
39118         (slow1): Likewise.
39119         (slow2): Likewise.
39120         (sloww1): Likewise.
39121         (sloww2): Likewise.
39122         (bsloww1): Likewise.
39123         (bsloww2): Likewise.
39124         (cslow2): Likewise.
39125         (csloww1): Likewise.
39126         (csloww2): Likewise.
39128         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39129         function.
39130         (__sin): Use it.
39131         (__cos): Likewise.
39133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39134         gotos.
39135         (__cos): Likewise.
39137 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39139         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39140         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39141         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39142         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39143         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39144         * elf/cache.c (print_entry): Handle the new cache flags.
39146 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39147             Aldy Hernandez  <aldyh@redhat.com>
39149         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39150         Change condition to [_SOFT_FLOAT].
39151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39163         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39166         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39167         declaration.
39169 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39171         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39172         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39173         (__longjmp): Use LOAD_GP to load saved GPRs.
39174         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39175         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39176         (__sigsetjmp): Use SAVE_GP to save GPRs.
39178         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39179         Do not append -msoft-float.
39180         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39182 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39184         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39186 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39188         [BZ #15966]
39189         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39190         (_FPU_GETCW): Use initial "__" on variable and field names but not
39191         on macro parameter name.
39192         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39193         parentheses around reference to macro parameter.
39195 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39197         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39198         prototype.
39199         (ctype_startup): Use uint32_t in cast and sizeof for
39200         ctype->charnames.
39202 2013-09-11  Jia Liu  <proljc@gmail.com>
39204         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39205         __daddr_t_defined.
39206         [__FreeBSD__]: Likewise.
39208 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39211         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39212         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39213         (strchr): Remove __strchr_sse42 ifunc selection.
39214         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39215         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39217 2013-09-11  Will Newton  <will.newton@linaro.org>
39219         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39220         parameter to RES. Remove hardcoded 1000 value.
39221         * benchtests/bench-skeleton.c (main): Pass RES parameter
39222         to TIMING_INIT and multiply result by 1000.
39224 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39228 2013-09-11  Andreas Schwab  <schwab@suse.de>
39230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39231         if not defined.
39232         (O_TMPFILE) [__USE_GNU]: Define.
39233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39234         Define.
39236 2013-09-11  Will Newton  <will.newton@linaro.org>
39238         [BZ #15857]
39239         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39240         does not overflow.
39242 2013-09-11  Will Newton  <will.newton@linaro.org>
39244         [BZ #15856]
39245         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39246         does not overflow.
39248 2013-09-11  Will Newton  <will.newton@linaro.org>
39250         [BZ #15855]
39251         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39252         does not overflow.
39254 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39256         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39257         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39258         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39259         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39260         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39262 2013-09-10  Allan McRae  <allan@archlinux.org>
39264         [BZ #15748]
39265         * manual/arith.texi (Parsing of Floats): Clarify
39266         cross-reference.
39268         [BZ #15849]
39269         * manual/install.texi (Running make install): Mention
39270         --enable-pt-chown.
39271         * INSTALL: Regenerated.
39273 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39275         * csu/init-first.c (_init): Remove the !SHARED condition around
39276         FPU control word initialization.
39277         * elf/dl-support.c (_dl_fpu_control): New variable.
39278         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39279         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39280         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39281         * math/test-fpucw-static.c: New file.
39282         * math/test-fpucw-ieee.c: New file.
39283         * math/test-fpucw-ieee-static.c: New file.
39284         * math/Makefile (tests): Add `test-fpucw-ieee' and
39285         `$(tests-static)'.
39286         (tests-static): New variable.
39287         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39288         dependency to...
39289         [($(build-shared),yes)]
39290         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39291         ... this.
39292         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39293         New dependency.
39295 2013-09-09  Allan McRae  <allan@archlinux.org>
39297         [BZ #15939]
39298         * manual/string.texi (Collation Functions): Fix typo in
39299         strcoll example.
39300         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39302         [BZ #15893]
39303         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39305         [BZ #15892]
39306         * libio/memstream.c (open_memstream): Fix memory leak.
39307         * libio/wmemstream.c (open_wmemstream): Likewise.
39309         [BZ #15895]
39310         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39312 2013-09-09  Will Newton  <will.newton@linaro.org>
39314         * malloc/Makefile: Add tst-realloc to tests.
39315         * malloc/tst-realloc.c: New file.
39317 2013-09-09  Allan McRae  <allan@archlinux.org>
39319         [BZ #15844]
39320         * COPYING: Update from GNU website to fix FSF address.
39321         * COPYING.LIB: Likewise.
39323 2013-09-06  David S. Miller  <davem@davemloft.net>
39325         * po/zh_TW.po: Update Chinese (traditional) translation from
39326         translation project.
39328 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39329             Joseph Myers  <joseph@codesourcery.com>
39331         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39332         "localeinfo.h".
39333         (obstack_chunk_alloc): New macro.
39334         (obstack_chunk_free): Likewise.
39335         (record_offset): New function.
39336         (init_locale_data): Likewise.
39337         (align_locale_data): Likewise.
39338         (add_locale_empty): Likewise.
39339         (add_locale_raw_data): Likewise.
39340         (add_locale_raw_obstack): Likewise.
39341         (add_locale_string): Likewise.
39342         (add_locale_wstring): Likewise.
39343         (add_locale_uint32): Likewise.
39344         (add_locale_uint32_array): Likewise.
39345         (add_locale_char): Likewise.
39346         (start_locale_structure): Likewise.
39347         (end_locale_structure): Likewise.
39348         (start_locale_prelude): Likewise.
39349         (end_locale_prelude): Likewise.
39350         (write_locale_data): Take locale_file structure rather than an
39351         iovec.
39352         * locale/programs/locfile.h: Include "obstack.h".
39353         (struct locale_file): Change to store locale file contents instead
39354         of header.
39355         (init_locale_data): New prototype.
39356         (align_locale_data): Likewise.
39357         (add_locale_empty): Likewise.
39358         (add_locale_raw_data): Likewise.
39359         (add_locale_raw_obstack): Likewise.
39360         (add_locale_string): Likewise.
39361         (add_locale_wstring): Likewise.
39362         (add_locale_uint32): Likewise.
39363         (add_locale_uint32_array): Likewise.
39364         (add_locale_char): Likewise.
39365         (start_locale_structure): Likewise.
39366         (end_locale_structure): Likewise.
39367         (start_locale_prelude): Likewise.
39368         (end_locale_prelude): Likewise.
39369         (write_locale_data): Update prototype.
39370         * locale/programs/3level.h (struct TABLE): Remove result field.
39371         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39372         Use new locale_file interface.
39373         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39374         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39375         * locale/programs/ld-address.c (address_output): Use new
39376         locale_file interface.
39377         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39378         NO_ADD_LOCALE.
39379         (collate_finish): Don't call collseq_table_finalize.
39380         (collate_output): Use new locale_file interface.
39381         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39382         in file.
39383         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39384         (TABLE): Move defines earlier in file.
39385         (ELEMENT): Likewise.
39386         (DEFAULT): Likewise.
39387         (wctrans_table_add): Move macro and inline function earlier in
39388         file.
39389         (struct wctype_table): Move type earlier in file.
39390         (add_locale_wctype_table): New static prototype.
39391         (struct locale_ctype_t): Use logical types instead of struct iovec
39392         pointers for members.
39393         (ctype_output): Use new locale_file interface.
39394         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39395         new locale_file interface.
39396         (allocate_arrays): Update for use of new locale_file interface.
39397         * locale/programs/ld-identification.c (identification_output): Use
39398         new locale_file interface.
39399         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39400         * locale/programs/ld-messages.c (messages_output): Likewise.
39401         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39402         * locale/programs/ld-name.c (name_output): Likewise.
39403         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39404         * locale/programs/ld-paper.c (paper_output): Likewise.
39405         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39406         * locale/programs/ld-time.c (time_output): Likewise.
39408 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39410         * benchtests/Makefile: Add memrchr benchmark.
39411         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39412         benchmark as memrchr.
39413         * benchtests/bench-memrchr-ifunc.c: New file.
39414         * benchtests/bench-memrchr.c: New file.
39416 2013-09-06   Will Newton  <will.newton@linaro.org>
39418         * benchtests/Makefile (string-bench): Add memcpy.
39420 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39421             Cong Wang  <amwang@redhat.com>
39423         [BZ #15850]
39424         * sysdeps/unix/sysv/linux/bits/in.h
39425         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39426         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39427         before __USE_KERNEL_IPV6_DEFS uses.
39428         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39429         IPPROTO_BEETPH.
39430         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39431         sockaddr_in6, or ipv6_mreq.
39433 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39435         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39436         memory access for final bytes in some large inputs.
39437         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39439 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39441         * string/test-memrchr.c: New file.
39442         * string/test-memrchr-ifunc.c: New file.
39443         * string/Makefile: Add new memrchr testcase.
39445 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39447         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39448         fanotify_init returns EPERM.
39450 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39452         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39453         errors.
39454         (top level): Treat second token from macro or constant entries for
39455         allowed headers as allowed.
39456         * include/complex.h: Condition internal declarations on
39457         [!_ISOMAC].
39458         * include/fenv.h: Condition include of <stdbool.h> and internal
39459         declarations on [!_ISOMAC].
39461 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39463         [BZ #15923]
39464         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39466 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39468         * configure.in (--enable-versioning): Remove configure option.
39469         (libc_cv_asm_symver_directive): Remove configure test.
39470         (libc_cv_ld_version_script_option): Likewise.
39471         (VERSIONING): Remove variable and AC_SUBST.
39472         (DO_VERSIONING): Remove AC_DEFINE.
39473         * configure: Regenerated.
39474         * config.h.in (DO_VERSIONING): Remove macro.
39475         * Makerules [$(versioning) = yes]: Change conditionals to
39476         [$(build-shared) = yes].
39477         * config.make.in (versioning): Remove variable.
39478         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39479         [$(build-shared) = yes].
39480         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39481         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39482         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39483         [$(build-shared) = yes].
39484         * extra-lib.mk [$(versioning) = yes]: Likewise.
39485         * hurd/Makefile [$(versioning) = yes]: Likewise.
39486         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39487         [SHARED].
39488         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39489         [SHARED].
39490         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39491         [SHARED && !NO_HIDDEN].
39492         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39493         [SHARED].
39494         [SHARED && DO_VERSIONING]: Likewise..
39495         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39496         [$(build-shared) = yes].
39497         * manual/install.texi (--disable-versioning): Remove
39498         documentation.
39499         * INSTALL: Regenerated.
39500         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39501         to [SHARED].
39502         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39503         [$(build-shared) = yes].
39504         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39505         * sysdeps/i386/i686/multiarch/strstr-c.c
39506         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39507         [SHARED && !NO_HIDDEN].
39508         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39509         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39510         * sysdeps/powerpc/powerpc32/dl-machine.c
39511         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39512         * sysdeps/powerpc/powerpc32/sysdep.h
39513         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39514         to [SHARED && PIC && !NO_HIDDEN].
39515         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39516         conditional to [SHARED].
39518 2013-09-04   Will Newton  <will.newton@linaro.org>
39520         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39521         * benchtests/bench-string.h: Include bench-timing.h instead
39522         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39523         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39524         call to HP_TIMING_DIFF_INIT.
39525         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39526         instead of hp-timing.h macros.
39527         * benchtests/bench-memchr.c: Likewise.
39528         * benchtests/bench-memcmp.c: Likewise.
39529         * benchtests/bench-memcpy.c: Likewise.
39530         * benchtests/bench-memmem.c: Likewise.
39531         * benchtests/bench-memmove.c: Likewise.
39532         * benchtests/bench-memset.c: Likewise.
39533         * benchtests/bench-rawmemchr.c: Likewise.
39534         * benchtests/bench-strcasecmp.c: Likewise.
39535         * benchtests/bench-strcasestr.c: Likewise.
39536         * benchtests/bench-strcat.c: Likewise.
39537         * benchtests/bench-strchr.c: Likewise.
39538         * benchtests/bench-strcmp.c: Likewise.
39539         * benchtests/bench-strcpy.c: Likewise.
39540         * benchtests/bench-strcpy_chk.c: Likewise.
39541         * benchtests/bench-strlen.c: Likewise.
39542         * benchtests/bench-strncasecmp.c: Likewise.
39543         * benchtests/bench-strncat.c: Likewise.
39544         * benchtests/bench-strncmp.c: Likewise.
39545         * benchtests/bench-strncpy.c: Likewise.
39546         * benchtests/bench-strnlen.c: Likewise.
39547         * benchtests/bench-strpbrk.c: Likewise.
39548         * benchtests/bench-strrchr.c: Likewise.
39549         * benchtests/bench-strspn.c: Likewise.
39550         * benchtests/bench-strstr.c: Likewise.
39552 2013-09-04  Will Newton  <will.newton@linaro.org>
39554         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39556 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39558         [BZ #15427]
39559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39560         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39561         * math/libm-test.inc (lgamma_test_data): Add more tests.
39562         * sysdeps/i386/fpu/libm-test-ulps: Update.
39563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39565 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39567         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39569         Add ifunc.
39570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39571         Add strcmp-sse2-unaligned
39572         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39574 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39576         * Versions.def (libc): Add GLIBC_2.19.
39578 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39580         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39581         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39583 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39585         [BZ #14155]
39586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39587         intermediate calculations in recurrence.
39588         (__ieee754_ynf): Likewise.
39589         * math/libm-test.inc (jn_test_data): Do not allow spurious
39590         underflow exception.  Add more tests.
39591         (yn_test_data): Add more tests.
39592         * sysdeps/i386/fpu/libm-test-ulps: Update.
39593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39595 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39599 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39601         * csu/init-first.c: Fix then/than typos.
39602         * locale/programs/ld-collate.c: Likewise.
39603         * locale/programs/linereader.h: Likewise.
39604         * manual/charset.texi: Likewise.
39605         * manual/filesys.texi: Likewise.
39606         * manual/stdio.texi: Likewise.
39607         * manual/string.texi: Likewise.
39608         * stdlib/fmtmsg.c: Likewise.
39609         * sysdeps/i386/stpncpy.S: Likewise.
39610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39611         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39612         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39613         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39615 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39617         * elf/dl-open.c: Fix typos.
39618         * iconvdata/gbbig5.c: Likewise.
39619         * iconvdata/iso-2022-jp.c: Likewise.
39620         * iconv/gconv_int.h: Likewise.
39621         * iconv/loop.c: Likewise.
39622         * nis/rpcsvc/nis.h: Likewise.
39623         * resolv/ns_name.c: Likewise.
39624         * stdio-common/vfscanf.c: Likewise.
39625         * streams/stropts.h: Likewise.
39626         * sunrpc/rpc_thread.c: Likewise.
39627         * sysdeps/i386/strpbrk.S: Likewise.
39628         * sysdeps/ieee754/k_standard.c: Likewise.
39629         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39631         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39632         * sysdeps/mach/hurd/profil.c: Likewise.
39633         * sysdeps/s390/dl-procinfo.h: Likewise.
39634         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39635         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39636         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39637         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39640 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39642         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39645 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39647         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39648         aix specific files.
39649         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39650         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39651         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39652         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39653         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39654         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39655         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39656         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39658 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39659             Roland McGrath  <roland@hack.frob.com>
39661         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39662         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39664 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39666         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39667         __executable_start symbol instead of _start.
39669 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39671         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39672         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39673         Move macros to...
39674         * sysdeps/gnu/ldsodefs.h: ... this new file.
39676         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39677         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39678         instead of ELFOSABI_LINUX.
39680         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39681         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39682         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39683         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39684         Likewise.
39685         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39686         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39687         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39688         Likewise.
39689         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39690         (ibm_extended_long_double): Add ieee_nan member.
39691         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39692         (do_test): New function.
39694         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39695         TEST_TRUNC.
39696         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39697         functions, renamed from truncdfsf_test, trunctfsf_test,
39698         trunctfdf_test.
39699         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39700         functions.
39701         (do_test): Run all these.
39703 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39705         * argp/argp-help.c: Fix typos.
39706         * argp/argp-parse.c: Likewise.
39707         * debug/backtracesyms.c: Likewise.
39708         * elf/elf.h: Likewise.
39709         * malloc/malloc.c: Likewise.
39710         * nis/nis_print.c: Likewise.
39711         * resolv/res_comp.c: Likewise.
39712         * stdlib/stdlib.h: Likewise.
39713         * sunrpc/clnt_tcp.c: Likewise.
39714         * sunrpc/clnt_udp.c: Likewise.
39715         * sunrpc/clnt_unix.c: Likewise.
39716         * sysdeps/unix/bsd/ptsname.c: Likewise.
39717         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39720         Likewise.
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39722         Likewise.
39723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39724         Likewise.
39725         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39727 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39729         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39732 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39734         [BZ #15897]
39735         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39736         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39737         ($(objpfx)bug-dl-leaf): New rule.
39738         ($(objpfx)bug-dl-leaf.so): Likewise.
39739         ($(objpfx)bug-dl-leaf.out): Likewise.
39740         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39741         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39742         * dlfcn/bug-dl-leaf.c: New test.
39743         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39744         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39745         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39746         (dlclose): Likewise.
39747         (dlmopen): Likewise.
39749 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39751         * include/netdb.h [!_ISOMAC]:
39752         Don't include <tls.h>.
39753         (h_errno, __libc_h_errno): Move declaration and macros out of
39754         [_LIBC_REENTRANT].
39756         * include/resolv.h [_RESOLV_H_]:
39757         Don't include <tls.h>.
39758         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39759         * resolv/res_libc.c: Don't include <tls.h>.
39760         (_res): Use __attribute__ ((nocommon)) in place of
39761         __attribute__ ((section (".bss"))).
39763         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39764         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39766         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39768         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39769         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39771         * resolv/res_mkquery.c: Include <sys/time.h>.
39773         * inet/ifreq.c: Moved to ...
39774         * sysdeps/unix/ifreq.c: ... here.
39775         * inet/ifreq.c: New file, true stub version.
39777         * socket/sa_len.c: New file.
39778         * socket/Makefile (aux): Add it.
39779         * sysdeps/unix/sysv/linux/Makefile
39780         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39781         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39782         and #include <socket/sa_len.c>.
39783         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39784         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39786         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39787         * bits/socket.h: ... here.
39789         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39790         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39791         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39793 2013-08-27  Andreas Schwab  <schwab@suse.de>
39795         [BZ #15736]
39796         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39797         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39798         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39799         * string/test-strcasecmp.c (test_main): Run tests in several
39800         locales.
39801         * string/test-strncasecmp.c (test_main): Likewise.
39803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39804         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39805         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39807         (__strncasecmp_ssse3) [PIC]: Likewise.
39809 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39811         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39813         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39814         instead of explicitly declaring xdecrypt.
39815         * nis/nss_nis/nis-publickey.c: Likewise.
39817 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39819         [BZ #15890]
39820         * nscd/aicache.c: Include res_hconf.h.
39821         (addhstaiX): Initialize res_hconf.
39823 2013-08-26  Andreas Schwab  <schwab@suse.de>
39825         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39826         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39828 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39830         * nscd/aicache.c (addhstaiX): Fix indentation.
39832 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39834         * configure.ac: Quote $build_pt_chown test.
39835         * configure: Regenerated.
39837 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39839         [BZ #15532]
39840         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39841         * math/s_cexpf.c (__cexpf): Likewise.
39842         * math/s_cexpl.c (__cexpl): Likewise.
39843         * math/libm-test.inc (cexp_test_data): Correct expected return
39844         value for NaN + i0.  Add another test.
39846 2013-08-22  David S. Miller  <davem@davemloft.net>
39848         * po/ca.po: Update Catalan translation from translation project.
39849         * po/uk.po: Add Ukrainian translations from translation project.
39851 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39853         [BZ #15797]
39854         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39855         is infinite, not alongside NaN test.
39856         * math/s_fdimf.c (__fdimf): Likewise.
39857         * math/s_fdiml.c (__fdiml): Likewise.
39858         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39859         errno is unchanged.
39861 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39863         * argp/argp-help.c: Fix typos.
39864         * crypt/speeds.c: Likewise.
39865         * csu/check_fds.c: Likewise.
39866         * elf/dl-load.c: Likewise.
39867         * elf/dl-open.c: Likewise.
39868         * elf/reldep3.c: Likewise.
39869         * elf/reldep.c: Likewise.
39870         * elf/sprof.c: Likewise.
39871         * iconv/iconv_charmap.c: Likewise.
39872         * iconv/skeleton.c: Likewise.
39873         * iconv/strtab.c: Likewise.
39874         * io/lockf64.c: Likewise.
39875         * libio/libioP.h: Likewise.
39876         * resolv/gai_notify.c: Likewise.
39877         * resolv/ns_name.c: Likewise.
39878         * resolv/ns_samedomain.c: Likewise.
39879         * resolv/res_send.c: Likewise.
39880         * stdlib/random.c: Likewise.
39881         * sunrpc/rpc/xdr.h: Likewise.
39882         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39883         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39884         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39885         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39886         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39887         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39889         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39890         * sysdeps/mach/hurd/check_fds.c: Likewise.
39891         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39894         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39895         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39896         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39897         * sysdeps/pthread/aio_notify.c: Likewise.
39898         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39899         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39900         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39901         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39902         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39904 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39906         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39907         version if bit_Slow_SSE4_2 is set.
39908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39909         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39911 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39913         [BZ #15867]
39914         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39915         trampoline stack frame information.
39916         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39918         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39919         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39920         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39921         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39922         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39923         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39924         sa_flags value.
39925         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39926         interrupting a syscall and set with option SA_SIGINFO.
39928 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39930         [BZ #15531]
39931         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39932         argument is infinite.
39933         * math/s_cprojf.c (__cprojf): Likewise.
39934         * math/s_cprojl.c (__cprojl): Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39936         * math/libm-test.inc (cproj_test_data): Add more tests.
39938         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39940         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39941         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39942         size.  Use __ffs to determine corresponding shift.
39944 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39945             Roland McGrath  <roland@hack.frob.com>
39947         * Makefile (INSTALL): Remove trailing blank lines from output of
39948         makeinfo.
39950 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39952         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39953         Align 32 bit compat elf_greg to 8 bytes.
39955 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39957         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39959 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39961         * string/strcoll_l.c (coll_seq): New structure.
39962         (get_next_seq_cached): New function.
39963         (get_next_seq): New function.
39964         (do_compare): New function.
39965         (STRCOLL): Use GNU style definition.  Simplify implementation
39966         by using get_next_seq, get_next_seq_cached and do_compare.
39968 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39970         [BZ #14699]
39971         CVE-2013-4237
39972         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39973         member.
39974         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39975         member.
39976         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39977         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39978         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39979         conditional.
39980         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39981         GETDENTS_64BIT_ALIGNED.
39982         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39983         * manual/filesys.texi (Reading/Closing Directory): Document
39984         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39985         strongly.
39986         * manual/conf.texi (Limits for Files): Add portability note to
39987         NAME_MAX, PATH_MAX.
39988         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39990 2013-08-13  Andreas Schwab  <schwab@suse.de>
39992         [BZ #15749]
39993         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39994         of fabs.
39995         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39996         LDBL_MAX_EXP >= 16384]: Add tests for it.
39998 2013-08-12  David S. Miller  <davem@davemloft.net>
40000         * version.h (RELEASE): Set to "development".
40001         (VERSION): Set to "2.18.90".
40002         * NEWS: Add 2.19 section.
40004 2013-08-03  David S. Miller  <davem@davemloft.net>
40006         * po/ko.po: Update Korean translation from translation project.
40008 2013-08-01  David S. Miller  <davem@davemloft.net>
40010         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40011         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40012         Bilka.
40014 2013-07-30  David S. Miller  <davem@davemloft.net>
40016         * po/fr.po: Update French translation from translation project.
40018 2013-07-28  David S. Miller  <davem@davemloft.net>
40020         * po/cs.po: Update Czech translation from translation project.
40022         * po/sv.po: Update Swedish translation from translation project.
40024 2013-07-27  David S. Miller  <davem@davemloft.net>
40026         * po/eo.po: Update Esperanto translation from translation project.
40028         * po/vi.po: Update Vietnamese translation from translation project.
40030         * po/de.po: Update German translation from translation project.
40032 2013-07-26  David S. Miller  <davem@davemloft.net>
40034         * po/bg.po: Update Bulgarian translation from translation project.
40036         * po/nl.po: Update Dutch translation from translation project.
40037         * po/pl.po: Update Polish translation from translation project.
40038         * po/ru.po: Update Russian translation from translation project.
40040 2013-07-24  David S. Miller  <davem@davemloft.net>
40042         * po/libc.pot: Update.
40044 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40046         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40047         variable page size.
40048         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40049         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40050         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40052 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40054         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40056 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40057             Andreas Schwab  <schwab@suse.de>
40058             Roland McGrath  <roland@hack.frob.com>
40059             Joseph Myers  <joseph@codesourcery.com>
40060             Carlos O'Donell  <carlos@redhat.com>
40062         [BZ #15755]
40063         * config.h.in: Define HAVE_PT_CHOWN.
40064         * config.make.in (build-pt-chown): New variable.
40065         * configure.in (--enable-pt_chown): New configure option.
40066         * configure: Regenerate.
40067         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40068         build-pt-chown is enabled.
40069         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40070         pt_chown to fix pty ownership.
40071         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40072         CLOSE_ALL_FDS.
40073         * manual/install.texi (Configuring and compiling): Mention
40074         --enable-pt_chown. Add @findex for grantpt.
40075         * INSTALL: Regenerate.
40077 2013-07-20  David S. Miller  <davem@davemloft.net>
40079         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40080         difference between 32-bit and 64-bit.
40082 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40084         [BZ #15711]
40085         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40086         Avoid system header dependency with -ffreestanding.
40087         ($(objpfx)bits/syscall%d): Likewise.
40089 2013-07-13  David S. Miller  <davem@davemloft.net>
40091         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40092         underflows from atanl/atan2l due to bug 15319.
40093         (casinh_test_data): Likewise.
40095 2013-07-07  David S. Miller  <davem@davemloft.net>
40097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40099 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40101         * sysdeps/i386/fpu/libm-test-ulps: Update.
40102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40104 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40106         * configure.in (--enable-lock-elision): Fix message text.
40107         * INSTALL: Regenerate.
40108         * configure: Regenerate.
40110 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40114 2013-07-03  Andreas Jaeger  <aj@suse.de>
40116         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40117         define.
40118         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40119         (ptrace_peeksiginfo_args): Add.
40120         (__ptrace_peeksiginfo_flags): Add.
40121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40125 2013-07-03  Allan McRae  <allan@archlinux.org>
40127         * sysdeps/i386/fpu/libm-test-ulps: Update.
40129 2013-07-02  David S. Miller  <davem@davemloft.net>
40131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40133 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40137 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40139         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40142 2013-07-02  Andi Kleen <ak@linux.intel.com>
40144         * config.h.in (ENABLE_LOCK_ELISION): Add.
40145         * configure.in (--enable-lock-elision): Add option.
40146         * manual/install.texi: Document --enable lock elision.
40147         * configure: Regenerate
40148         * INSTALL: Regenerate.
40150 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40152         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40153         SSE4.2 strcasecmp for libc.a.
40154         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40156 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40158         [BZ #13304]
40159         * soft-fp/op-common.h (_FP_FMA): New macro.
40160         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40161         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40162         (_FP_MUL_MEAT_1_imm): ... here.
40163         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40164         (_FP_MUL_MEAT_1_wide): ... here.
40165         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40166         (_FP_MUL_MEAT_1_hard): ... here.
40167         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40168         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40169         (_FP_MUL_MEAT_2_wide): ... here.
40170         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40171         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40172         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40173         (_FP_MUL_MEAT_2_gmp): ... here.
40174         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40175         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40176         (_FP_MUL_MEAT_4_wide): ... here.
40177         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40178         (_FP_MUL_MEAT_4_gmp): ... here.
40179         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40180         (_FP_WFRACBITS_DW_S): Likewise.
40181         (_FP_WFRACXBITS_DW_S): Likewise.
40182         (_FP_HIGHBIT_DW_S): Likewise.
40183         (FP_FMA_S): Likewise.
40184         (_FP_FRAC_HIGH_DW_S): Likewise.
40185         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40186         (_FP_WFRACBITS_DW_D): Likewise.
40187         (_FP_WFRACXBITS_DW_D): Likewise.
40188         (_FP_HIGHBIT_DW_D): Likewise.
40189         (FP_FMA_D): Likewise.
40190         (_FP_FRAC_HIGH_DW_D): Likewise.
40191         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40192         (_FP_WFRACBITS_DW_E): Likewise.
40193         (_FP_WFRACXBITS_DW_E): Likewise.
40194         (_FP_HIGHBIT_DW_E): Likewise.
40195         (FP_FMA_E): Likewise.
40196         (_FP_FRAC_HIGH_DW_E): Likewise.
40197         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40198         (_FP_WFRACBITS_DW_Q): Likewise.
40199         (_FP_WFRACXBITS_DW_Q): Likewise.
40200         (_FP_HIGHBIT_DW_Q): Likewise.
40201         (FP_FMA_Q): Likewise.
40202         (_FP_FRAC_HIGH_DW_Q): Likewise.
40203         * soft-fp/fmasf4.c: New file.
40204         * soft-fp/fmadf4.c: Likewise.
40205         * soft-fp/fmatf4.c: Likewise.
40207 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40210         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40211         Silvermont.
40212         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40213         macro.
40214         (index_Slow_SSE4_2): Likewise.
40215         (index_Prefer_PMINUB_for_stringop): Likewise.
40216         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40217         bit_Slow_SSE4_2 is set.
40218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40219         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40221 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40223         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40224         rtld_global._dl_hwcap2.
40225         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40226         POWER8.
40227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40228         POWER8 feature descriptions defined in _dl_hwcap2.
40229         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40230         string handling for POWER8 feature bits.
40231         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40232         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40233         _dl_powerpc_cap_flags.
40234         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40235         * sysdeps/powerpc/rtld-global-offsets.sym
40236         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40237         _dl_hwcap2 in the rtld_global_ro structure.
40239 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40241         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40242         hardware capabilities in support of AT_HWCAP2.
40243         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40244         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40245         GLRO(dl_hwcap2).
40246         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40247         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40248         explicitly the unknown a_type display mechanism is used.
40249         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40250         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40251         struct member.
40252         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40253         to macro prototype for AT_HWCAP2 support.
40254         * sysdeps/i386/dl-procinfo.h: Likewise.
40255         * sysdeps/s390/dl-procinfo.h: Likewise.
40256         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40257         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40258         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40259         return -1 for unknown a_type display fallback.
40260         * sysdeps/sparc/dl-procinfo.h: Likewise.
40261         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40262         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40264 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40266         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40267         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40269 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40271         [BZ #12492]
40272         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40273         mprotect making __stack_prot writable.
40275 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40276             Joseph Myers  <joseph@codesourcery.com>
40278         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40279         as being properly aligned.
40281 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40283         * dlfcn/modstatic5.c: New file.
40284         * dlfcn/tststatic5.c: New file.
40285         * dlfcn/Makefile (tests): Add tststatic5.
40286         (tests-static): Likewise.
40287         (modules-names): Add modstatic5.
40288         (tststatic5-ENV): New variable.
40289         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40291         [BZ #15022]
40292         * elf/dl-support.c (_dl_main_map): New variable.
40293         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40294         (_dl_nns, _dl_load_adds): Set to 1.
40295         (_dl_initial_searchlist): Refer to _dl_main_map.
40296         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40297         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40298         call to _dl_get_origin.
40299         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40300         around call_map.
40301         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40302         * dlfcn/modstatic3.c: New file.
40303         * dlfcn/tststatic3.c: New file.
40304         * dlfcn/tststatic4.c: New file.
40305         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40306         (tests-static): Likewise.
40307         (modules-names): Add modstatic3.
40308         (tststatic3-ENV, tststatic4-ENV): New variables.
40309         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40310         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40312 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40314         * configure.in (CC): Require GCC version 4.4 or later.
40315         * configure: Regenerated.
40316         * manual/install.texi (Tools for Compilation): Update GCC version
40317         requirement.
40318         * INSTALL: Regenerated.
40320 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40322         [BZ #15674]
40323         * string/test-memcmp.c (check2): New.
40324         (main): Call check2.
40326         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40328 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40330         [BZ #15022]
40331         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40332         over to...
40333         (dl_open_worker) [!SHARED]: ... here.
40335 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40337         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40339 2013-06-25  Richard Henderson  <rth@redhat.com>
40341         * locale/programs/locarchive.c: Include <libc-internal.h>
40343 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40345         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40346         trailing whitespace removed.
40348 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40350         [BZ #10283]
40351         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40352         * locale/programs/locarchive.c: Include libc-mmap.h.
40353         (prepare_address_space): Take two new outputs (the mmap base and len).
40354         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40355         values.
40356         (create_archive): Declare new mmap base and len values for
40357         prepare_address_space, and store the result in ah.
40358         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40359         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40360         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40361         Declare new mmap base and len values for
40362         prepare_address_space, and store the result in new_ah.
40363         (open_archive): Declare new mmap base and len values for
40364         prepare_address_space, and store the result in ah.
40365         (close_archive): If ah->mmap_base is not NULL, use that and
40366         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40367         * sysdeps/generic/libc-mmap.h: New file.
40369 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40371         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40372         (ALIGN_UP): Likewise.
40373         (PTR_ALIGN_DOWN): Likewise.
40374         (PTR_ALIGN_UP): Likewise.
40376 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40378         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40379         entry mapped to PPC_PLATFORM_POWER8.
40380         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40381         POWER8.
40382         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40383         (_dl_string_platform): Add case for exporting platform position for
40384         POWER8.
40385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40386         search path to sysdeps/powerpc/powerpc32/power8 directory.
40387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40388         search path to sysdeps/powerpc/powerpc64/power8 directory.
40389         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40390         power7 directories.
40391         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40392         power7 directories.
40394 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40396         * INSTALL: Regenerate.
40398         * nscd/connections.c (nscd_init): Fix comment.
40400 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40402         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40404         [BZ #15667]
40405         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40406         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40408 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40410         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40411         DL_DST_REQ_STATIC.
40412         (DL_DST_REQ_STATIC): Remove macro.
40414 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40416         [BZ #7006]
40417         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40418         with a shift of 0 bits.
40420 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40422         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40423         $(tststatic-ENV).
40425 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40427         [BZ #15655]
40428         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40430 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40432         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40433         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40434         accepts -fno-tree-loop-distribute-patterns.
40435         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40436         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40437         recursive call.
40438         * string/memset.c (memset): Likewise.
40439         * string/test-memmove.c (simple_memmove): Disable loop transformation
40440         to library calls.
40441         * string/test-memset.c (simple_memset): Likewise.
40442         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40443         * benchtests/bench-memset.c (simple_memset): Likewise.
40444         * configure: Regenerated.
40446 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40448         * math/test-misc.c (main): Ignore fesetround failure when failures
40449         of subsequent rounding tests would be ignored.
40451         [BZ #15654]
40452         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40453         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40454         * math/fegetenv.c (__fegetenv): Return 0.
40455         * math/fegetexcept.c (fegetexcept): Return 0.
40456         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40457         FE_TONEAREST.
40458         * math/feholdexcpt.c (feholdexcept): Return 0.
40459         * math/fesetenv.c (__fesetenv): Return 0.
40460         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40461         argument FE_TONEAREST.
40462         * math/feupdateenv.c (__feupdateenv): Return 0.
40463         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40465 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40467         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40468         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40469         ($(objpfx)rtld-%.os rules): Use them.
40471 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40473         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40474         fields.
40476 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40478         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40479         length of target pattern, then descending length of dependency pattern.
40480         * configure.in (AWK): Require gawk 3.1.2 or newer.
40481         * manual/install.texi (Tools for Compilation): Say that we do.
40482         * configure: Regenerated.
40484         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40485         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40486         * scripts/sysd-rules.awk: ... this new script.
40487         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40488         than a glob-style pattern.
40490 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40492         * math/test-misc.c (main): Do not treat incorrectly rounded
40493         conversions as failure unless ROUNDING_TESTS passes.
40495 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40497         [BZ #15631]
40498         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40499         restore exception state around main square root computation, then
40500         check for inexactness explicitly.
40502         * math/libm-test.inc (fma_test_data): Add another test.
40504 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40506         * manual/threads.texi (Non-POSIX Extensions): New document
40507         node.  Document pthread_getattr_default_np and
40508         pthread_setattr_default_np.
40510         * Versions.def (libpthread): Add GLIBC_2.18.
40511         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40513         Likewise.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40515         Likewise.
40516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40517         Likewise.
40518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40519         Likewise.
40520         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40521         Likewise.
40522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40523         Likewise.
40524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40525         Likewise.
40526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40527         Likewise.
40528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40529         Likewise.
40531 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40534         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40536 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40537             H.J. Lu  <hjl.tools@gmail.com>
40539         [BZ #15627]
40540         * sysdeps/x86_64/rtld-memset.c: Remove file.
40541         * sysdeps/x86_64/rtld-memset.S: New file.
40543 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40545         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40546         (test_in_one_mode): Take arguments for whether the rounding mode
40547         is supported for each floating-point type.
40548         (do_test): Pass new arguments to test_in_one_mode using
40549         ROUNDING_TESTS.
40551 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40553         * posix/tst-waitid.c (do_test): Distinguish different instances of
40554         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40555         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40556         before entering the kernel for waitpid.
40558 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40560         * NEWS: Fix note on clock function precision.  Text by Roland
40561         McGrath.
40563 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40565         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40566         it into place only when and if the sanity check passes.
40568 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40570         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40571         output for whether conversion result is exact.  Take argument
40572         indicating whether type is IBM long double.
40573         (round_for_all): Change need_exact field to ibm_ld.
40574         * stdlib/tst-strtod-round.c (struct exactness): New type.
40575         (struct test): Change bool ld_ok field to struct exactness exact.
40576         (TEST): Update all definitions for change to field.
40577         (tests): Regenerate array contents.
40578         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40579         field value.  Check for IBM long double here.
40580         (do_test): Update calls to test_in_one_mode.
40582 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40584         [BZ #12515]
40585         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40586         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40588 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40590         [BZ #15605]
40591         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40592         generated by the compiler on loop optimizations.
40593         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40594         general definitions.
40596 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40598         * math/bug-nextafter.c: Include <math-tests.h>.
40599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40600         the relevant type.
40601         * math/bug-nexttoward.c: Include <math-tests.h>.
40602         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40603         the relevant type.
40604         * math/test-misc.c: Include <math-tests.h>.
40605         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40606         the relevant type.
40608 2013-06-12  Andreas Jaeger  <aj@suse.de>
40610         * po/ia.po: Update Interlingua translation from translation
40611         project.
40613 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         * include/fenv.h: Include stdbool.h.
40616         (struct rm_ctx): New structure.
40617         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40618         Define macro.
40619         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40620         (SET_RESTORE_ROUNDF): Likewise.
40621         (SET_RESTORE_ROUNDL): Likewise.
40622         (SET_RESTORE_ROUND_NOEX): Likewise.
40623         (SET_RESTORE_ROUND_NOEXF): Likewise.
40624         (SET_RESTORE_ROUND_NOEXL): Likewise.
40625         (SET_RESTORE_ROUND_53BIT): Likewise.
40626         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40627         (libc_feresetround_noexf_ctx): Likewise.
40628         (libc_feresetround_noexl_ctx): Likewise.
40629         (libc_feholdsetround_53bit_ctx): Likewise.
40630         (libc_feresetround_53bit_ctx): Likewise.
40631         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40632         (libc_feholdexcept_setround_sse_ctx): New function.
40633         (libc_fesetenv_sse_ctx): Likewise.
40634         (libc_feupdateenv_sse_ctx): Likewise.
40635         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40636         (libc_feholdexcept_setround_387_ctx): Likewise.
40637         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40638         (libc_feholdsetround_387_prec_ctx): Likewise.
40639         (libc_feholdsetround_387_ctx): Likewise.
40640         (libc_feholdsetround_387_53bit_ctx): Likewise.
40641         (libc_feholdsetround_sse_ctx): Likewise.
40642         (libc_feresetround_sse_ctx): Likewise.
40643         (libc_feresetround_387_ctx): Likewise.
40644         (libc_feupdateenv_387_ctx): Likewise.
40645         (libc_feholdexcept_setroundf_ctx): Define macro.
40646         (libc_fesetenvf_ctx): Likewise.
40647         (libc_feupdateenvf_ctx): Likewise.
40648         (libc_feholdsetroundf_ctx): Likewise.
40649         (libc_feresetroundf_ctx): Likewise.
40650         (libc_feholdexcept_setround_ctx): Likewise.
40651         (libc_fesetenv_ctx): Likewise.
40652         (libc_feupdateenv_ctx): Likewise.
40653         (libc_feholdsetround_ctx): Likewise.
40654         (libc_feresetround_ctx): Likewise.
40655         (libc_feholdexcept_setroundl_ctx): Likewise.
40656         (libc_feupdateenvl_ctx): Likewise.
40657         (libc_feholdsetroundl_ctx): Likewise.
40658         (libc_feresetroundl_ctx): Likewise.
40659         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40660         (libc_feresetround_53bit_ctx): Likewise.
40662 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40664         * locale/iso-639.def: Convert to UTF-8.
40666 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40668         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40669         (EXCEPTION_TESTS_double): Likewise.
40670         (EXCEPTION_TESTS_long_double): Likewise.
40671         (EXCEPTION_TESTS): Likewise.
40672         * math/libm-test.inc (test_exceptions): Only test exceptions if
40673         EXCEPTION_TESTS (FLOAT).
40675 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40677         * benchtests/Makefile (string-bench): Add strcpy_chk and
40678         stpcpy_chk.
40679         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40680         * benchtests/bench-stpcpy_chk.c: New file.
40681         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40682         * benchtests/bench-strcpy_chk.c: New file.
40683         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40684         code.
40685         (do_test): Likewise.
40687 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40689         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40690         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40691         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40692         with tabs where appropriate.
40693         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40694         dl-procinfo.h.
40695         [PPC_PLATFORM_PPC440]: Likewise.
40696         [PPC_PLATFORM_PPC464]: Likewise.
40697         [PPC_PLATFORM_PPC476]: Likewise.
40698         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40699         ppc464, and ppc476 platform strings merging from ports/
40700         dl-procinfo.h.
40702 2013-06-11  Andreas Schwab  <schwab@suse.de>
40704         [BZ #14991]
40705         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40706         (from_ucs4_idx): Regenerate.
40707         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40708         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40709         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40710         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40711         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40712         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40713         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40714         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40715         from FROM_LOOP and TO_LOOP specific macros.
40716         (BODY): Handle combining characters.
40717         * iconvdata/BIG5HKSCS.irreversible: Update.
40718         * iconvdata/BIG5HKSCS.precomposed: New file.
40719         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40720         characters.
40721         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40723 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40725         * include/sys/time.h: Fix indentation and add copyright header.
40727         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40728         (do_test): Likewise.
40729         * string/test-memchr.c (do_one_test): Likewise.
40730         (do_test): Likewise.
40731         * string/test-memcmp.c (do_one_test): Likewise.
40732         (do_test): Likewise.
40733         * string/test-memcpy.c (do_one_test): Likewise.
40734         (do_test): Likewise.
40735         * string/test-memmem.c (do_one_test): Likewise.
40736         (do_test): Likewise.
40737         (do_random_tests): Likewise.
40738         * string/test-memmove.c (do_one_test): Likewise.
40739         (do_test): Likewise.
40740         * string/test-memset.c (do_one_test): Likewise.
40741         (do_test): Likewise.
40742         * string/test-rawmemchr.c (do_one_test): Likewise.
40743         (do_test): Likewise.
40744         * string/test-strcasecmp.c (do_one_test): Likewise.
40745         (do_test): Likewise.
40746         * string/test-strcasestr.c (do_one_test): Likewise.
40747         (do_test): Likewise.
40748         * string/test-strcat.c (do_one_test): Likewise.
40749         (do_test): Likewise.
40750         * string/test-strchr.c (do_one_test): Likewise.
40751         (do_test): Likewise.
40752         * string/test-strcmp.c (do_one_test): Likewise.
40753         (do_test): Likewise.
40754         * string/test-strcpy.c (do_one_test): Likewise.
40755         (do_test): Likewise.
40756         * string/test-string.h: Likewise.
40757         (test_init): Likewise.
40758         * string/test-strlen.c (do_one_test): Likewise.
40759         (do_test): Likewise.
40760         * string/test-strncasecmp.c (do_one_test): Likewise.
40761         (do_test): Likewise.
40762         * string/test-strncat.c (do_one_test): Likewise.
40763         (do_test): Likewise.
40764         * string/test-strncmp.c (do_one_test): Likewise.
40765         (do_test_limit): Likewise.
40766         (do_test): Likewise.
40767         * string/test-strncpy.c (do_one_test): Likewise.
40768         (do_test): Likewise.
40769         * string/test-strnlen.c (do_one_test): Likewise.
40770         (do_test): Likewise.
40771         * string/test-strpbrk.c (do_one_test): Likewise.
40772         (do_test): Likewise.
40773         * string/test-strrchr.c (do_one_test): Likewise.
40774         (do_test): Likewise.
40775         * string/test-strspn.c (do_one_test): Likewise.
40776         (do_test): Likewise.
40777         * string/test-strstr.c (do_one_test): Likewise.
40778         (do_test): Likewise.
40780         * benchtests/Makefile (string-bench): Add string benchmarks.
40781         * benchtests/bench-bcopy-ifunc.c: New file.
40782         * benchtests/bench-bcopy.c: New file.
40783         * benchtests/bench-bzero-ifunc.c: New file.
40784         * benchtests/bench-bzero.c: New file.
40785         * benchtests/bench-memccpy-ifunc.c: New file.
40786         * benchtests/bench-memccpy.c: New file.
40787         * benchtests/bench-memchr-ifunc.c: New file.
40788         * benchtests/bench-memchr.c: New file.
40789         * benchtests/bench-memcmp-ifunc.c: New file.
40790         * benchtests/bench-memcmp.c: New file.
40791         * benchtests/bench-memmem-ifunc.c: New file.
40792         * benchtests/bench-memmem.c: New file.
40793         * benchtests/bench-memmove-ifunc.c: New file.
40794         * benchtests/bench-memmove.c: New file.
40795         * benchtests/bench-mempcpy-ifunc.c: New file.
40796         * benchtests/bench-mempcpy.c: New file.
40797         * benchtests/bench-memset-ifunc.c: New file.
40798         * benchtests/bench-memset.c: New file.
40799         * benchtests/bench-rawmemchr-ifunc.c: New file.
40800         * benchtests/bench-rawmemchr.c: New file.
40801         * benchtests/bench-stpcpy-ifunc.c: New file.
40802         * benchtests/bench-stpcpy.c: New file.
40803         * benchtests/bench-stpncpy-ifunc.c: New file.
40804         * benchtests/bench-stpncpy.c: New file.
40805         * benchtests/bench-strcasecmp-ifunc.c: New file.
40806         * benchtests/bench-strcasecmp.c: New file.
40807         * benchtests/bench-strcasestr-ifunc.c: New file.
40808         * benchtests/bench-strcasestr.c: New file.
40809         * benchtests/bench-strcat-ifunc.c: New file.
40810         * benchtests/bench-strcat.c: New file.
40811         * benchtests/bench-strchr-ifunc.c: New file.
40812         * benchtests/bench-strchr.c: New file.
40813         * benchtests/bench-strchrnul-ifunc.c: New file.
40814         * benchtests/bench-strchrnul.c: New file.
40815         * benchtests/bench-strcmp-ifunc.c: New file.
40816         * benchtests/bench-strcmp.c: New file.
40817         * benchtests/bench-strcpy-ifunc.c: New file.
40818         * benchtests/bench-strcpy.c: New file.
40819         * benchtests/bench-strcspn-ifunc.c: New file.
40820         * benchtests/bench-strcspn.c: New file.
40821         * benchtests/bench-strlen-ifunc.c: New file.
40822         * benchtests/bench-strlen.c: New file.
40823         * benchtests/bench-strncasecmp-ifunc.c: New file.
40824         * benchtests/bench-strncasecmp.c: New file.
40825         * benchtests/bench-strncat-ifunc.c: New file.
40826         * benchtests/bench-strncat.c: New file.
40827         * benchtests/bench-strncmp-ifunc.c: New file.
40828         * benchtests/bench-strncmp.c: New file.
40829         * benchtests/bench-strncpy-ifunc.c: New file.
40830         * benchtests/bench-strncpy.c: New file.
40831         * benchtests/bench-strnlen-ifunc.c: New file.
40832         * benchtests/bench-strnlen.c: New file.
40833         * benchtests/bench-strpbrk-ifunc.c: New file.
40834         * benchtests/bench-strpbrk.c: New file.
40835         * benchtests/bench-strrchr-ifunc.c: New file.
40836         * benchtests/bench-strrchr.c: New file.
40837         * benchtests/bench-strspn-ifunc.c: New file.
40838         * benchtests/bench-strspn.c: New file.
40839         * benchtests/bench-strstr-ifunc.c: New file.
40840         * benchtests/bench-strstr.c: New file.
40842         * benchtests/Makefile: Disable parallel execution of targets.
40843         (string-bench): Add memcpy.
40844         (benchset): New variable to store a list of benchmark sets.
40845         (bench-func): Renamed from bench.
40846         (bench-set): New target.
40847         (bench): Depend on bench-func and bench-set.
40848         * benchtests/README: Add section on benchmark sets.
40849         * benchtests/bench-memcpy-ifunc.c: New file.
40850         * benchtests/bench-memcpy.c: New file.
40851         * benchtests/bench-string.h: New file.
40853 2013-06-11  Andreas Schwab  <schwab@suse.de>
40855         [BZ #15577]
40856         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40857         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40858         values in the triple.
40859         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40860         terminator in the group key.
40862 2013-06-11  Andreas Jaeger  <aj@suse.de>
40864         * po/zh_TW.po: Update Chinese (traditional) translation from
40865         translation project.
40867 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40869         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40870         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40871         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40873         (clock_getcpuclockid): Likewise.
40874         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40875         Add weak_alias and libc_hidden_def.
40876         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40877         * rt/clock_gettime.c (clock_gettime): Rename to
40878         __clock_gettime.  Add weak_alias and libc_hidden_def.
40879         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40880         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40881         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40882         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40883         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40884         Likewise.
40885         * rt/clock_settime.c (clock_settime): Rename to
40886         __clock_settime.  Add weak_alias and libc_hidden_def.
40887         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40889 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40891         * mach/err_boot.sub: Remove trailing whitespace.
40892         * mach/err_ipc.sub: Likewise.
40893         * mach/err_mach.sub: Likewise.
40895         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40896         (ROUNDING_TESTS_double): Likewise.
40897         (ROUNDING_TESTS_long_double): Likewise.
40898         (ROUNDING_TESTS): Likewise.
40899         * math/libm-test.inc: Include <math-tests.h>.
40900         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40901         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40902         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40903         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40905 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40907         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40908         of assigning.
40910 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40912         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40913         otherwise empty TRANS lines.
40914         * sysdeps/gnu/errlist.c: Regenerated.
40916         * catgets/gencat.c (error_print): Use (void) in function
40917         definition.
40918         * crypt/crypt_util.c (__init_des): Likewise.
40919         * crypt/speeds.c (Stop): Likewise.
40920         (main): Likewise.
40921         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40922         * inet/ruserpass.c (token): Likewise.
40923         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40924         * intl/localealias.c (extend_alias_table): Likewise.
40925         * intl/plural-exp.c (init_germanic_plural): Likewise.
40926         * libio/fcloseall.c (__fcloseall): Likewise.
40927         * libio/genops.c (_IO_flush_all): Likewise.
40928         (_IO_flush_all_linebuffered): Likewise.
40929         (_IO_cleanup): Likewise.
40930         (_IO_iter_begin): Likewise.
40931         (_IO_iter_end): Likewise.
40932         (_IO_list_lock): Likewise.
40933         (_IO_list_unlock): Likewise.
40934         (_IO_list_resetlock): Likewise.
40935         * libio/getchar.c (getchar): Likewise.
40936         * libio/getchar_u.c (getchar_unlocked): Likewise.
40937         * libio/getwchar.c (getwchar): Likewise.
40938         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40939         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40940         * login/getpt.c (__getpt): Likewise.
40941         * login/tst-utmp.c (main): Likewise.
40942         * malloc/hooks.c (__malloc_check_init): Likewise.
40943         * malloc/malloc.c (__malloc_stats): Likewise.
40944         * malloc/mtrace.c (tr_break): Likewise.
40945         (mtrace): Likewise.
40946         (muntrace): Likewise.
40947         * misc/fstab.c (endfsent): Likewise.
40948         * misc/getclktck.c (__getclktck): Likewise.
40949         * misc/getdtsz.c (__getdtablesize): Likewise.
40950         * misc/gethostid.c (gethostid): Likewise.
40951         * misc/getpagesize.c (__getpagesize): Likewise.
40952         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40953         (__get_nprocs): Likewise.
40954         (__get_phys_pages): Likewise.
40955         (__get_avphys_pages): Likewise.
40956         * misc/getttyent.c (getttyent): Likewise.
40957         (setttyent): Likewise.
40958         (endttyent): Likewise.
40959         * misc/getusershell.c (getusershell): Likewise.
40960         (endusershell): Likewise.
40961         (setusershell): Likewise.
40962         (initshells): Likewise.
40963         * misc/hsearch.c (__hdestroy): Likewise.
40964         * misc/sync.c (sync): Likewise.
40965         * misc/syslog.c (closelog_internal): Likewise.
40966         (closelog): Likewise.
40967         * misc/ttyslot.c (ttyslot): Likewise.
40968         * misc/vhangup.c (vhangup): Likewise.
40969         * posix/fork.c (__fork): Likewise.
40970         * posix/getegid.c (__getegid): Likewise.
40971         * posix/geteuid.c (__geteuid): Likewise.
40972         * posix/getgid.c (__getgid): Likewise.
40973         * posix/getpid.c (__getpid): Likewise.
40974         * posix/getppid.c (__getppid): Likewise.
40975         * posix/getuid.c (__getuid): Likewise.
40976         * posix/pause.c (pause): Likewise.
40977         * posix/setpgrp.c (setpgrp): Likewise.
40978         * posix/setsid.c (__setsid): Likewise.
40979         * posix/test-vfork.c (noop): Likewise.
40980         * resolv/gethnamaddr.c (_endhtent): Likewise.
40981         (_gethtent): Likewise.
40982         (ht_endhostent): Likewise.
40983         (gethostent): Likewise.
40984         (dns_service): Likewise.
40985         * stdlib/drand48.c (drand48): Likewise.
40986         * stdlib/lrand48.c (lrand48): Likewise.
40987         * stdlib/mrand48.c (mrand48): Likewise.
40988         * stdlib/rand.c (rand): Likewise.
40989         * stdlib/random.c (__random): Likewise.
40990         * stdlib/setenv.c (clearenv): Likewise.
40991         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40992         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40993         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40994         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40995         (__get_nprocs): Likewise.
40996         (__get_phys_pages): Likewise.
40997         (__get_avphys_pages): Likewise.
40998         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40999         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41000         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41001         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41002         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41003         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41004         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41005         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41006         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41007         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41008         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41009         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41010         * sysdeps/posix/clock.c (clock): Likewise.
41011         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41012         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41013         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41014         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41015         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41016         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41017         (__get_nprocs_conf): Likewise.
41018         (__get_phys_pages): Likewise.
41019         (__get_avphys_pages): Likewise.
41020         * time/clock.c (clock): Likewise.
41021         * time/tzset.c (__tzname_max): Likewise.
41023 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41025         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41026         (__bswap_32): Do not use "register".
41027         * crypt/crypt.c (_ufc_doit_r): Likewise.
41028         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41029         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41030         * gmon/gmon.c (__monstartup): Likewise.
41031         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41032         * hurd/hurdmalloc.c (more_memory): Likewise.
41033         (malloc): Likewise.
41034         (free): Likewise.
41035         (realloc): Likewise.
41036         (malloc_fork_prepare): Likewise.
41037         (malloc_fork_parent): Likewise.
41038         (malloc_fork_child): Likewise.
41039         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41040         (_svcauth_des): Likewise.
41041         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41042         * inet/inet_net.c (inet_network): Likewise.
41043         * inet/inet_netof.c (inet_netof): Likewise.
41044         * inet/rcmd.c (__validuser2_sa): Likewise.
41045         * io/fts.c (fts_open): Likewise.
41046         (fts_load): Likewise.
41047         (fts_close): Likewise.
41048         (fts_read): Likewise.
41049         (fts_children): Likewise.
41050         (fts_build): Likewise.
41051         (fts_stat): Likewise.
41052         (fts_sort): Likewise.
41053         (fts_alloc): Likewise.
41054         (fts_lfree): Likewise.
41055         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41056         (_IO_file_xsgetn): Likewise.
41057         (_IO_file_xsgetn_mmap): Likewise.
41058         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41059         (_IO_cookie_write): Likewise.
41060         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41061         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41062         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41063         * malloc/obstack.c (_obstack_begin): Likewise.
41064         (_obstack_begin_1): Likewise.
41065         (_obstack_newchunk): Likewise.
41066         (_obstack_allocated_p): Likewise.
41067         (obstack_free): Likewise.
41068         (_obstack_memory_used): Likewise.
41069         * misc/getttyent.c (getttynam): Likewise.
41070         (getttyent): Likewise.
41071         (skip): Likewise.
41072         (value): Likewise.
41073         * misc/getusershell.c (initshells): Likewise.
41074         * misc/syslog.c (__vsyslog_chk): Likewise.
41075         * misc/ttyslot.c (ttyslot): Likewise.
41076         * nis/nis_hash.c (__nis_hash): Likewise.
41077         * posix/fnmatch_loop.c (FCT): Likewise.
41078         * posix/getconf.c (print_all): Likewise.
41079         (main): Likewise.
41080         * posix/getopt.c (exchange): Likewise.
41081         * posix/glob.c (globfree): Likewise.
41082         (prefix_array): Likewise.
41083         (__glob_pattern_type): Likewise.
41084         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41085         (NS_GET32): Likewise.
41086         (NS_PUT16): Likewise.
41087         (NS_PUT32): Likewise.
41088         * resolv/gethnamaddr.c (getanswer): Likewise.
41089         (gethostbyname2): Likewise.
41090         (gethostbyaddr): Likewise.
41091         (_gethtent): Likewise.
41092         (_gethtbyname2): Likewise.
41093         (_gethtbyaddr): Likewise.
41094         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41095         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41096         * resolv/res_init.c (__res_vinit): Likewise.
41097         (net_mask): Likewise.
41098         * resolv/res_mkquery.c (outchar): Likewise.
41099         (PRINT): Likewise.
41100         * stdio-common/printf_fp.c (outchar): Likewise.
41101         (PRINT): Likewise.
41102         * stdio-common/printf_fphex.c (outchar): Likewise.
41103         (PRINT): Likewise.
41104         * stdio-common/printf_size.c (outchar): Likewise.
41105         (PRINT): Likewise.
41106         * stdio-common/test_rdwr.c (main): Likewise.
41107         * stdio-common/tfformat.c (matches): Likewise.
41108         * stdio-common/vfprintf.c (outchar): Likewise.
41109         (printf_unknown): Likewise.
41110         (buffered_vfprintf): Likewise.
41111         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41112         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41113         (ReadFile): Likewise.
41114         * stdlib/qsort.c (SWAP): Likewise.
41115         (_quicksort): Likewise.
41116         * stdlib/setenv.c (__add_to_environ): Likewise.
41117         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41118         * stdlib/strtol_l.c (__strtol_l): Likewise.
41119         * stdlib/tst-strtod.c (main): Likewise.
41120         * stdlib/tst-strtol.c (main): Likewise.
41121         * stdlib/tst-strtoll.c (main): Likewise.
41122         * string/bits/string2.h (__strcmp_cc): Likewise.
41123         (__strcmp_cg): Likewise.
41124         (__strcspn_c1): Likewise.
41125         (__strcspn_c2): Likewise.
41126         (__strcspn_c3): Likewise.
41127         (__strspn_c1): Likewise.
41128         (__strspn_c2): Likewise.
41129         (__strspn_c3): Likewise.
41130         (__strsep_1c): Likewise.
41131         (__strsep_2c): Likewise.
41132         (__strsep_3c): Likewise.
41133         * string/memccpy.c (__memccpy): Likewise.
41134         * string/stpcpy.c (__stpcpy): Likewise.
41135         * string/strcmp.c (strcmp): Likewise.
41136         * string/strrchr.c (strrchr): Likewise.
41137         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41138         Likewise.
41139         * sysdeps/mach/hurd/getcwd.c
41140         (_hurd_canonicalize_directory_name_internal): Likewise.
41141         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41142         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41143         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41144         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41145         Likewise, in both definitions.
41146         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41147         definitions.
41148         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41149         64] (__bswap_64): Likewise.
41150         * time/test_time.c (main): Likewise.
41151         * time/tzfile.c (__tzfile_read): Likewise.
41152         (__tzfile_compute): Likewise.
41153         * time/tzset.c (__tzset_parse_tz): Likewise.
41154         (tzset_internal): Likewise.
41155         (compute_change): Likewise.
41156         * wcsmbs/wcscat.c (__wcscat): Likewise.
41157         * wcsmbs/wcschr.c (wcschr): Likewise.
41158         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41159         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41160         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41161         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41162         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41163         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41164         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41165         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41166         * wcsmbs/wmemset.c (wmemset): Likewise.
41168 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41170         * scripts/config.guess: Update to version 2013-05-16.
41171         * scripts/config.sub: Update to version 2013-04-24.
41172         * scripts/install-sh: Update to version 2011-11-20.07.
41173         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41174         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41176 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41178         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41179         * elf/sln.c: Likewise.
41180         * hurd/hurd/ioctl.h: Likewise.
41181         * hurd/hurdmalloc.c: Likewise.
41182         * hurd/xattr.c: Likewise.
41183         * include/shlib-compat.h: Likewise.
41184         * inet/ruserpass.c: Likewise.
41185         * libio/iofgets_u.c: Likewise.
41186         * libio/iofgetws_u.c: Likewise.
41187         * locale/programs/ld-identification.c: Likewise.
41188         * locale/programs/ld-time.c: Likewise.
41189         * mach/msg-destroy.c: Likewise.
41190         * nss/nss_files/files-netgrp.c: Likewise.
41191         * resolv/res_data.c: Likewise.
41192         * soft-fp/op-1.h: Likewise.
41193         * soft-fp/op-2.h: Likewise.
41194         * soft-fp/op-4.h: Likewise.
41195         * soft-fp/op-common.h: Likewise.
41196         * stdio-common/printf_fphex.c: Likewise.
41197         * stdlib/strtod_l.c: Likewise.
41198         * sunrpc/rpc/clnt.h: Likewise.
41199         * sysdeps/generic/framestate.c: Likewise.
41200         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41201         * sysdeps/i386/bsd-setjmp.S: Likewise.
41202         * sysdeps/i386/__longjmp.S: Likewise.
41203         * sysdeps/i386/setjmp.S: Likewise.
41204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41205         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41222         * sysdeps/ieee754/support.c: Likewise.
41223         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41224         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41225         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41226         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41227         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41228         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41229         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41230         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41231         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41232         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41233         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41234         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41235         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41236         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41237         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41238         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41239         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41242 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41244         * posix/transbug.c: Remove executable mode.
41246 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41248         * crypt/speeds.c: Remove trailing whitespace.
41249         * dlfcn/default.c: Likewise.
41250         * elf/ifuncdep2.c: Likewise.
41251         * elf/ifuncmain1.c: Likewise.
41252         * elf/ifuncmain1vis.c: Likewise.
41253         * elf/testobj.h: Likewise.
41254         * elf/tst-stackguard1.c: Likewise.
41255         * gmon/sys/gmon.h: Likewise.
41256         * hurd/hurdmsg.c: Likewise.
41257         * hurd/new-fd.c: Likewise.
41258         * hurd/ports-get.c: Likewise.
41259         * iconvdata/ibm1008_420.c: Likewise.
41260         * inet/tst-getni1.c: Likewise.
41261         * inet/tst-getni2.c: Likewise.
41262         * libio/ioungetc.c: Likewise.
41263         * libio/wfiledoalloc.c: Likewise.
41264         * manual/libm-err-tab.pl: Likewise.
41265         * math/w_dremf.c: Likewise.
41266         * misc/ftruncate.c: Likewise.
41267         * posix/bug-glob2.c: Likewise.
41268         * posix/tst-pcre.c: Likewise.
41269         * posix/wait4.c: Likewise.
41270         * resolv/README: Likewise.
41271         * resolv/res_debug.h: Likewise.
41272         * resolv/tst-inet_ntop.c: Likewise.
41273         * setjmp/bug269-setjmp.c: Likewise.
41274         * soft-fp/extended.h: Likewise.
41275         * soft-fp/op-1.h: Likewise.
41276         * soft-fp/op-2.h: Likewise.
41277         * soft-fp/op-4.h: Likewise.
41278         * soft-fp/op-8.h: Likewise.
41279         * soft-fp/testit.c: Likewise.
41280         * stdio-common/bug16.c: Likewise.
41281         * stdlib/random.c: Likewise.
41282         * sunrpc/rpcsvc/rquota.x: Likewise.
41283         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41284         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41285         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41286         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41287         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41288         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41289         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41290         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41292         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41293         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41301         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41302         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41304         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41310         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41312         * sysdeps/ieee754/s_lib_version.c: Likewise.
41313         * sysdeps/mach/hurd/check_fds.c: Likewise.
41314         * sysdeps/mach/hurd/getsockname.c: Likewise.
41315         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41316         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41317         * sysdeps/powerpc/bits/link.h: Likewise.
41318         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41319         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41320         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41321         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41322         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41323         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41324         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41325         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41326         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41327         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41328         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41329         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41330         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41331         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41332         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41333         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41334         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41335         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41337         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41338         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41339         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41340         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41341         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41342         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41343         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41344         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41345         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41346         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41352         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41353         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41354         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41355         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41356         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41357         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41358         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41359         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41360         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41361         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41362         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41363         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41364         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41365         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41366         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41367         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41370         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41371         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41372         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41373         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41374         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41376         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41377         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41378         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41380         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41382         * sysdeps/powerpc/sysdep.h: Likewise.
41383         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41384         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41385         * sysdeps/sh/dl-trampoline.S: Likewise.
41386         * sysdeps/sh/memset.S: Likewise.
41387         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41388         * sysdeps/sh/strlen.S: Likewise.
41389         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41390         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41391         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41392         * sysdeps/sparc/sparc32/rem.S: Likewise.
41393         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41394         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41395         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41396         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41397         * sysdeps/sparc/sparc32/urem.S: Likewise.
41398         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41399         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41400         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41401         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41403         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41404         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41405         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41406         * sysdeps/unix/bsd/times.c: Likewise.
41407         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41408         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41412         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41413         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41414         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41416         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41418         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41419         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41420         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41421         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41422         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41423         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41424         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41425         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41426         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41427         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41428         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41429         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41430         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41431         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41432         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41433         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41434         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41435         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41436         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41437         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41438         * sysdeps/x86_64/strcspn.S: Likewise.
41440 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41442         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41443         generated file.  Regenerate properly from gen-translit.pl.
41444         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41445         locale/C-translit.h.
41447 2013-06-05  Andreas Schwab  <schwab@suse.de>
41449         [BZ #15100]
41450         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41451         week as 6 instead of -1.
41452         * time/tst-strptime.c (day_tests): Add test case.
41454 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41456         * sysdeps/generic/math_private.h
41457         (libc_feholdexcept_setround_53bit): Replace with
41458         libc_feholdsetround_53bit.
41459         (libc_feupdateenv_53bit): Replace with
41460         libc_feresetround_53bit.
41461         (SET_RESTORE_ROUND_53BIT): Adjust.
41463 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41465         * string/test-strchrnul.c: Add copyright header.
41467         * posix/tst-getaddrinfo4.c: Increase test timeout.
41469 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41471         [BZ #15536]
41472         * math/libm-test.inc (MAX_EXP): Remove
41473         (MIN_EXP): Define.
41474         (ulp): Use MIN_EXP - MANT_DIG.
41475         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41477 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41479         * po/be.po: Revert last change.
41480         * po/zh_CN.po: Likewise.
41481         * po/header.pot: Likewise.
41483 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41485         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41486         link-libc-deps to empty as target-specific variable.
41487         * Makerules (link-libc-args): New variable.
41488         (libc-for-link): Likewise.
41489         (link-libc-deps): Likewise.
41490         (lib%.so): Depend on $(link-libc-deps).  Link with
41491         $(link-libc-args).
41492         (build-module): Link with $(link-libc-args).
41493         (build-module-asneeded): Likewise.
41494         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41495         list of objects.
41496         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41497         target-specific variable.
41498         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41499         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41500         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41501         libc.
41502         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41503         libc and ld.so.
41504         ($(objpfx)libpcprofile.so): Likewise.
41505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41506         libc_nonshared.a.
41507         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41508         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41509         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41510         $(link-libc-deps).
41511         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41512         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41513         * login/Makefile ($(objpfx)libutil.so): Likewise.
41514         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41515         * math/Makefile ($(objpfx)libm.so): Likewise.
41516         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41517         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41518         variable instead of depending directly on libc.
41519         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41520         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41521         $(link-libc-deps).
41522         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41523         libc.
41524         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41525         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41526         ($(objpfx)libanl.so): Likewise.
41527         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41528         ld.so.
41529         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41530         $(link-libc-deps).
41531         * sysdeps/i386/fpu/Makefile: Remove file.
41532         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41533         ($(objpfx)libm.so): Remove dependency on ld.so.
41535 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41537         [BZ # 15553]
41538         * nis/yp_xdr.c (XDRMAXNAME): Define.
41539         (XDRMAXRECORD): Define.
41540         (xdr_domainname): Use XDRMAXNAME.
41541         (xdr_mapname): Likewise.
41542         (xdr_peername): Likewise.
41543         (xdr_keydat): Use XDRMAXRECORD.
41544         (xdr_valdat): Likewise.
41546 2013-05-30  Jeff Law  <law@redhat.com>
41548         [BZ #14256]
41549         * manual/errno.texi (ESTALE): Update to account for more than
41550         just NFS file systems.
41551         * sysdeps/gnu/errlist.c: Regenerated.
41553 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41555         [BZ #15465]
41556         * elf/Makefile (tests): Add tst-null-argv.
41557         (modules-names):  Add tst-null-argv-lib.
41558         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41559         (tst-null-argv-ENV): Set environment for tst-null-argv.
41560         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41561         (RTLD_PROGNAME): New macro.
41562         * elf/tst-null-argv.c: New test case.
41563         * elf/tst-null-argv-lib.c: Library for test case.
41564         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41565         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41566         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41567         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41568         * elf/dl-init.c (call_init): Likewise.
41569         (_dl_init): Likewise.
41570         * elf/dl-load.c (print_search_path): Likewise.
41571         (_dl_map_object): Likewise.
41572         * elf/dl-lookup.c (do_lookup_x): Likewise.
41573         (add_dependency): Likewise.
41574         (_dl_lookup_symbol_x): Likewise.
41575         (_dl_debug_bindings): Likewise.
41576         * elf/dl-open.c (_dl_show_scope): Likewise.
41577         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41578         * elf/dl-version.c (match_symbol): Likewise.
41579         (_dl_check_map_versions): Likewise.
41580         * elf/rtld.c (dl_main): Likewise.
41581         (print_unresolved): Use RTLD_PROGNAME.
41582         (print_missing_version): Likewise.
41583         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41584         (elf_machine_rela): Likewise.
41585         * sysdeps/powerpc/powerpc32/dl-machine.c
41586         (__process_machine_rela): Likewise.
41587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41588         Likewise.
41589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41590         Likewise.
41591         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41592         Likewise.
41593         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41595         Likewise.
41596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41597         Likewise.
41598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41600 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41602         * po/be.po: Add descriptive title.
41603         * po/zh_CN.po: Likewise.
41604         * po/header.pot: Likewise.
41606 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41608         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41609         error message.
41610         (enlarge_archive): Likewise.
41612 2013-05-28  Ben North  <ben@redfrontdoor.org>
41614         * manual/arith.texi (frexp): It is the magnitude of the return
41615         value which lies in [0.5, 1), not the return value itself.
41617 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41621 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41623         * stdio-common/bug26.c (main): Correct fscanf template.
41625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41626         declare _dl_skip_args.
41628         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41629         Don't declare.
41631         * manual/platform.texi: Add missing @end deftypefun.
41633 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41635         [BZ #15529]
41636         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41637         bit of mantissa of 2^16382.
41638         * math/libm-test.inc (hypot_test_data): Add more tests.
41640         * math/libm-test.inc: Add drem and pow10 to list of tested
41641         functions.
41642         (pow10_test): New function.
41643         (drem_test): Likewise.
41644         (drem_test_tonearest): Likewise.
41645         (drem_test_towardzero): Likewise.
41646         (drem_test_downward): Likewise.
41647         (drem_test_upward): Likewise.
41648         (main): Call the new functions.
41650         * math/libm-test.inc (finite_test_data): Remove.
41651         (finite_test): Run tests from isfinite_test_data.
41652         (gamma_test_data): Remove.
41653         (gamma_test): Run tests from lgamma_test_data.
41654         * sysdeps/i386/fpu/libm-test-ulps: Update.
41655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41657 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41659         * manual/platform.texi: Add PowerPC PPR function set documentation.
41660         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41661         implementation.
41663 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41665         * math/libm-test.inc (MAX_EXP): Define.
41666         (ULPDIFF): Define.
41667         (ulp): New function.
41668         (check_float_internal): Use ULPDIFF.
41669         (cpow_test): Disable failing test.
41670         (check_ulp): Test ulp() implemetnation.
41671         (main): Call check_ulp before starting tests.
41673 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41675         * math/gen-libm-test.pl (generate_testfile): Do not handle
41676         START_DATA and END_DATA.
41677         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41678         END_DATA.
41679         (acos_tonearest_test_data): Likewise.
41680         (acos_towardzero_test_data): Likewise.
41681         (acos_downward_test_data): Likewise.
41682         (acos_upward_test_data): Likewise.
41683         (acosh_test_data): Likewise.
41684         (asin_test_data): Likewise.
41685         (asin_tonearest_test_data): Likewise.
41686         (asin_towardzero_test_data): Likewise.
41687         (asin_downward_test_data): Likewise.
41688         (asin_upward_test_data): Likewise.
41689         (asinh_test_data): Likewise.
41690         (atan_test_data): Likewise.
41691         (atanh_test_data): Likewise.
41692         (atan2_test_data): Likewise.
41693         (cabs_test_data): Likewise.
41694         (cacos_test_data): Likewise.
41695         (cacosh_test_data): Likewise.
41696         (carg_test_data): Likewise.
41697         (casin_test_data): Likewise.
41698         (casinh_test_data): Likewise.
41699         (catan_test_data): Likewise.
41700         (catanh_test_data): Likewise.
41701         (cbrt_test_data): Likewise.
41702         (ccos_test_data): Likewise.
41703         (ccosh_test_data): Likewise.
41704         (ceil_test_data): Likewise.
41705         (cexp_test_data): Likewise.
41706         (cimag_test_data): Likewise.
41707         (clog_test_data): Likewise.
41708         (clog10_test_data): Likewise.
41709         (conj_test_data): Likewise.
41710         (copysign_test_data): Likewise.
41711         (cos_test_data): Likewise.
41712         (cos_tonearest_test_data): Likewise.
41713         (cos_towardzero_test_data): Likewise.
41714         (cos_downward_test_data): Likewise.
41715         (cos_upward_test_data): Likewise.
41716         (cosh_test_data): Likewise.
41717         (cosh_tonearest_test_data): Likewise.
41718         (cosh_towardzero_test_data): Likewise.
41719         (cosh_downward_test_data): Likewise.
41720         (cosh_upward_test_data): Likewise.
41721         (cpow_test_data): Likewise.
41722         (cproj_test_data): Likewise.
41723         (creal_test_data): Likewise.
41724         (csin_test_data): Likewise.
41725         (csinh_test_data): Likewise.
41726         (csqrt_test_data): Likewise.
41727         (ctan_test_data): Likewise.
41728         (ctan_tonearest_test_data): Likewise.
41729         (ctan_towardzero_test_data): Likewise.
41730         (ctan_downward_test_data): Likewise.
41731         (ctan_upward_test_data): Likewise.
41732         (ctanh_test_data): Likewise.
41733         (ctanh_tonearest_test_data): Likewise.
41734         (ctanh_towardzero_test_data): Likewise.
41735         (ctanh_downward_test_data): Likewise.
41736         (ctanh_upward_test_data): Likewise.
41737         (erf_test_data): Likewise.
41738         (erfc_test_data): Likewise.
41739         (exp_test_data): Likewise.
41740         (exp_tonearest_test_data): Likewise.
41741         (exp_towardzero_test_data): Likewise.
41742         (exp_downward_test_data): Likewise.
41743         (exp_upward_test_data): Likewise.
41744         (exp10_test_data): Likewise.
41745         (exp2_test_data): Likewise.
41746         (expm1_test_data): Likewise.
41747         (fabs_test_data): Likewise.
41748         (fdim_test_data): Likewise.
41749         (finite_test_data): Likewise.
41750         (floor_test_data): Likewise.
41751         (fma_test_data): Likewise.
41752         (fma_towardzero_test_data): Likewise.
41753         (fma_downward_test_data): Likewise.
41754         (fma_upward_test_data): Likewise.
41755         (fmax_test_data): Likewise.
41756         (fmin_test_data): Likewise.
41757         (fmod_test_data): Likewise.
41758         (fpclassify_test_data): Likewise.
41759         (frexp_test_data): Likewise.
41760         (gamma_test_data): Likewise.
41761         (hypot_test_data): Likewise.
41762         (ilogb_test_data): Likewise.
41763         (isfinite_test_data): Likewise.
41764         (isgreater_test_data): Likewise.
41765         (isgreaterequal_test_data): Likewise.
41766         (isinf_test_data): Likewise.
41767         (isless_test_data): Likewise.
41768         (islessequal_test_data): Likewise.
41769         (islessgreater_test_data): Likewise.
41770         (isnan_test_data): Likewise.
41771         (isnormal_test_data): Likewise.
41772         (issignaling_test_data): Likewise.
41773         (isunordered_test_data): Likewise.
41774         (j0_test_data): Likewise.
41775         (j1_test_data): Likewise.
41776         (jn_test_data): Likewise.
41777         (ldexp_test_data): Likewise.
41778         (lgamma_test_data): Likewise.
41779         (lrint_test_data): Likewise.
41780         (lrint_tonearest_test_data): Likewise.
41781         (lrint_towardzero_test_data): Likewise.
41782         (lrint_downward_test_data): Likewise.
41783         (lrint_upward_test_data): Likewise.
41784         (llrint_test_data): Likewise.
41785         (llrint_tonearest_test_data): Likewise.
41786         (llrint_towardzero_test_data): Likewise.
41787         (llrint_downward_test_data): Likewise.
41788         (llrint_upward_test_data): Likewise.
41789         (log_test_data): Likewise.
41790         (log10_test_data): Likewise.
41791         (log1p_test_data): Likewise.
41792         (log2_test_data): Likewise.
41793         (logb_test_data): Likewise.
41794         (logb_downward_test_data): Likewise.
41795         (lround_test_data): Likewise.
41796         (llround_test_data): Likewise.
41797         (modf_test_data): Likewise.
41798         (nearbyint_test_data): Likewise.
41799         (nextafter_test_data): Likewise.
41800         (nexttoward_test_data): Likewise.
41801         (pow_test_data): Likewise.
41802         (pow_tonearest_test_data): Likewise.
41803         (pow_towardzero_test_data): Likewise.
41804         (pow_downward_test_data): Likewise.
41805         (pow_upward_test_data): Likewise.
41806         (remainder_test_data): Likewise.
41807         (remainder_tonearest_test_data): Likewise.
41808         (remainder_towardzero_test_data): Likewise.
41809         (remainder_downward_test_data): Likewise.
41810         (remainder_upward_test_data): Likewise.
41811         (remquo_test_data): Likewise.
41812         (rint_test_data): Likewise.
41813         (rint_tonearest_test_data): Likewise.
41814         (rint_towardzero_test_data): Likewise.
41815         (rint_downward_test_data): Likewise.
41816         (rint_upward_test_data): Likewise.
41817         (round_test_data): Likewise.
41818         (scalb_test_data): Likewise.
41819         (scalbn_test_data): Likewise.
41820         (scalbln_test_data): Likewise.
41821         (signbit_test_data): Likewise.
41822         (sin_test_data): Likewise.
41823         (sin_tonearest_test_data): Likewise.
41824         (sin_towardzero_test_data): Likewise.
41825         (sin_downward_test_data): Likewise.
41826         (sin_upward_test_data): Likewise.
41827         (sincos_test_data): Likewise.
41828         (sinh_test_data): Likewise.
41829         (sinh_tonearest_test_data): Likewise.
41830         (sinh_towardzero_test_data): Likewise.
41831         (sinh_downward_test_data): Likewise.
41832         (sinh_upward_test_data): Likewise.
41833         (sqrt_test_data): Likewise.
41834         (tan_test_data): Likewise.
41835         (tan_tonearest_test_data): Likewise.
41836         (tan_towardzero_test_data): Likewise.
41837         (tan_downward_test_data): Likewise.
41838         (tan_upward_test_data): Likewise.
41839         (tanh_test_data): Likewise.
41840         (tgamma_test_data): Likewise.
41841         (trunc_test_data): Likewise.
41842         (y0_test_data): Likewise.
41843         (y1_test_data): Likewise.
41844         (yn_test_data): Likewise.
41845         (significand_test_data): Likewise.
41847         * math/gen-libm-test.pl (@functions): Remove variable.
41848         (generate_testfile): Don't handle START and END lines.
41849         * math/libm-test.inc (START): New macro.
41850         (END): Likewise.
41851         (END_COMPLEX): Likewise.
41852         (acos_test): Use END macro without arguments.
41853         (acos_test_tonearest): Likewise.
41854         (acos_test_towardzero): Likewise.
41855         (acos_test_downward): Likewise.
41856         (acos_test_upward): Likewise.
41857         (acosh_test): Likewise.
41858         (asin_test): Likewise.
41859         (asin_test_tonearest): Likewise.
41860         (asin_test_towardzero): Likewise.
41861         (asin_test_downward): Likewise.
41862         (asin_test_upward): Likewise.
41863         (asinh_test): Likewise.
41864         (atan_test): Likewise.
41865         (atanh_test): Likewise.
41866         (atan2_test): Likewise.
41867         (cabs_test): Likewise.
41868         (cacos_test): Use END_COMPLEX macro without arguments.
41869         (cacosh_test): Likewise.
41870         (carg_test): Use END macro without arguments.
41871         (casin_test): Use END_COMPLEX macro without arguments.
41872         (casinh_test): Likewise.
41873         (catan_test): Likewise.
41874         (catanh_test): Likewise.
41875         (cbrt_test): Use END macro without arguments.
41876         (ccos_test): Use END_COMPLEX macro without arguments.
41877         (ccosh_test): Likewise.
41878         (ceil_test): Use END macro without arguments.
41879         (cexp_test): Use END_COMPLEX macro without arguments.
41880         (cimag_test): Use END macro without arguments.
41881         (clog_test): Use END_COMPLEX macro without arguments.
41882         (clog10_test): Likewise.
41883         (conj_test): Likewise.
41884         (copysign_test): Use END macro without arguments.
41885         (cos_test): Likewise.
41886         (cos_test_tonearest): Likewise.
41887         (cos_test_towardzero): Likewise.
41888         (cos_test_downward): Likewise.
41889         (cos_test_upward): Likewise.
41890         (cosh_test): Likewise.
41891         (cosh_test_tonearest): Likewise.
41892         (cosh_test_towardzero): Likewise.
41893         (cosh_test_downward): Likewise.
41894         (cosh_test_upward): Likewise.
41895         (cpow_test): Use END_COMPLEX macro without arguments.
41896         (cproj_test): Likewise.
41897         (creal_test): Use END macro without arguments.
41898         (csin_test): Use END_COMPLEX macro without arguments.
41899         (csinh_test): Likewise.
41900         (csqrt_test): Likewise.
41901         (ctan_test): Likewise.
41902         (ctan_test_tonearest): Likewise.
41903         (ctan_test_towardzero): Likewise.
41904         (ctan_test_downward): Likewise.
41905         (ctan_test_upward): Likewise.
41906         (ctanh_test): Likewise.
41907         (ctanh_test_tonearest): Likewise.
41908         (ctanh_test_towardzero): Likewise.
41909         (ctanh_test_downward): Likewise.
41910         (ctanh_test_upward): Likewise.
41911         (erf_test): Use END macro without arguments.
41912         (erfc_test): Likewise.
41913         (exp_test): Likewise.
41914         (exp_test_tonearest): Likewise.
41915         (exp_test_towardzero): Likewise.
41916         (exp_test_downward): Likewise.
41917         (exp_test_upward): Likewise.
41918         (exp10_test): Likewise.
41919         (exp2_test): Likewise.
41920         (expm1_test): Likewise.
41921         (fabs_test): Likewise.
41922         (fdim_test): Likewise.
41923         (finite_test): Likewise.
41924         (floor_test): Likewise.
41925         (fma_test): Likewise.
41926         (fma_test_towardzero): Likewise.
41927         (fma_test_downward): Likewise.
41928         (fma_test_upward): Likewise.
41929         (fmax_test): Likewise.
41930         (fmin_test): Likewise.
41931         (fmod_test): Likewise.
41932         (fpclassify_test): Likewise.
41933         (frexp_test): Likewise.
41934         (gamma_test): Likewise.
41935         (hypot_test): Likewise.
41936         (ilogb_test): Likewise.
41937         (isfinite_test): Likewise.
41938         (isgreater_test): Likewise.
41939         (isgreaterequal_test): Likewise.
41940         (isinf_test): Likewise.
41941         (isless_test): Likewise.
41942         (islessequal_test): Likewise.
41943         (islessgreater_test): Likewise.
41944         (isnan_test): Likewise.
41945         (isnormal_test): Likewise.
41946         (issignaling_test): Likewise.
41947         (isunordered_test): Likewise.
41948         (j0_test): Likewise.
41949         (j1_test): Likewise.
41950         (jn_test): Likewise.
41951         (ldexp_test): Likewise.
41952         (lgamma_test): Likewise.
41953         (lrint_test): Likewise.
41954         (lrint_test_tonearest): Likewise.
41955         (lrint_test_towardzero): Likewise.
41956         (lrint_test_downward): Likewise.
41957         (lrint_test_upward): Likewise.
41958         (llrint_test): Likewise.
41959         (llrint_test_tonearest): Likewise.
41960         (llrint_test_towardzero): Likewise.
41961         (llrint_test_downward): Likewise.
41962         (llrint_test_upward): Likewise.
41963         (log_test): Likewise.
41964         (log10_test): Likewise.
41965         (log1p_test): Likewise.
41966         (log2_test): Likewise.
41967         (logb_test): Likewise.
41968         (logb_test_downward): Likewise.
41969         (lround_test): Likewise.
41970         (llround_test): Likewise.
41971         (modf_test): Likewise.
41972         (nearbyint_test): Likewise.
41973         (nextafter_test): Likewise.
41974         (nexttoward_test): Likewise.
41975         (pow_test): Likewise.
41976         (pow_test_tonearest): Likewise.
41977         (pow_test_towardzero): Likewise.
41978         (pow_test_downward): Likewise.
41979         (pow_test_upward): Likewise.
41980         (remainder_test): Likewise.
41981         (remainder_test_tonearest): Likewise.
41982         (remainder_test_towardzero): Likewise.
41983         (remainder_test_downward): Likewise.
41984         (remainder_test_upward): Likewise.
41985         (remquo_test): Likewise.
41986         (rint_test): Likewise.
41987         (rint_test_tonearest): Likewise.
41988         (rint_test_towardzero): Likewise.
41989         (rint_test_downward): Likewise.
41990         (rint_test_upward): Likewise.
41991         (round_test): Likewise.
41992         (scalb_test): Likewise.
41993         (scalbn_test): Likewise.
41994         (scalbln_test): Likewise.
41995         (signbit_test): Likewise.
41996         (sin_test): Likewise.
41997         (sin_test_tonearest): Likewise.
41998         (sin_test_towardzero): Likewise.
41999         (sin_test_downward): Likewise.
42000         (sin_test_upward): Likewise.
42001         (sincos_test): Likewise.
42002         (sinh_test): Likewise.
42003         (sinh_test_tonearest): Likewise.
42004         (sinh_test_towardzero): Likewise.
42005         (sinh_test_downward): Likewise.
42006         (sinh_test_upward): Likewise.
42007         (sqrt_test): Likewise.
42008         (tan_test): Likewise.
42009         (tan_test_tonearest): Likewise.
42010         (tan_test_towardzero): Likewise.
42011         (tan_test_downward): Likewise.
42012         (tan_test_upward): Likewise.
42013         (tanh_test): Likewise.
42014         (tgamma_test): Likewise.
42015         (trunc_test): Likewise.
42016         (y0_test): Likewise.
42017         (y1_test): Likewise.
42018         (yn_test): Likewise.
42019         (significand_test): Likewise.
42021 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42023         [BZ #15381]
42024         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42026 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42028         [BZ #14894]
42029         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42030         __ppc_mdoio and __ppc_mdoom.
42031         * manual/platform.texi: Document new functions __ppc_yield,
42032         __ppc_mdoio and __ppc_mdoom.
42034 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42036         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42037         (main): Mention "tls" pseudo-hwcap is legacy.
42038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42040 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42042         * math/gen-libm-test.pl (parse_args): Output only string of
42043         arguments as text for test name, not full call or descriptions of
42044         tests for extra outputs.
42045         (generate_testfile): Do not pass function name to parse_args.
42046         Generate this_func variable from START.
42047         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42048         field to arg_str.
42049         (struct test_ff_f_data): Likewise.
42050         (test_ff_f_data_nexttoward): Likewise.
42051         (struct test_fi_f_data): Likewise.
42052         (struct test_fl_f_data): Likewise.
42053         (struct test_if_f_data): Likewise.
42054         (struct test_fff_f_data): Likewise.
42055         (struct test_c_f_data): Likewise.
42056         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42057         (struct test_fF_f1_data): Likewise.
42058         (struct test_ffI_f1_data): Likewise.
42059         (struct test_c_c_data): Rename test_name field to arg_str.
42060         (struct test_cc_c_data): Likewise.
42061         (struct test_f_i_data): Likewise.
42062         (struct test_ff_i_data): Likewise.
42063         (struct test_f_l_data): Likewise.
42064         (struct test_f_L_data): Likewise.
42065         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42066         and extra2_name.
42067         (COMMON_TEST_SETUP): New macro.
42068         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42069         (COMMON_TEST_CLEANUP): Likewise.
42070         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42071         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42072         macros.
42073         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42074         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42075         macros.
42076         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42077         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42078         cleanup macros.
42079         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42080         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42081         macros.
42082         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42083         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42084         macros.
42085         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42086         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42087         cleanup macros.
42088         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42089         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42090         cleanup macros.
42091         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42092         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42093         cleanup macros.
42094         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42095         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42096         macros.
42097         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42098         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42099         macros.
42100         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42101         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42102         macros.
42103         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42104         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42105         cleanup macros.
42106         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42107         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42108         cleanup macros.
42109         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42110         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42111         macros.
42112         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42113         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42114         cleanup macros.
42115         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42116         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42117         macros.
42118         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42119         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42120         macros.
42121         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42122         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42123         cleanup macros.
42124         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42126 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42128         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42129         to _sifields.sigfault.
42130         (si_addr_lsb): Define new macro.
42131         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42135 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42137         [BZ #15441]
42138         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42139         returns -1.
42140         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42141         null return -1.
42142         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42143         loading the domain.
42145 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42147         * math/gen-libm-test.pl (parse_args): Do not include expected
42148         result in test name.
42149         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42151         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42152         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42153         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42156 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42158         * benchtests/Makefile: Sort function entries.
42160         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42161         tanh, asinh, acosh, atanh.
42162         * benchtests/acos-inputs: New file.
42163         * benchtests/acosh-inputs: New file.
42164         * benchtests/asin-inputs: New file.
42165         * benchtests/asinh-inputs: New file.
42166         * benchtests/atanh-inputs: New file.
42167         * benchtests/cosh-inputs: New file.
42168         * benchtests/log-inputs: New file.
42169         * benchtests/sinh-inputs: New file.
42170         * benchtests/tanh-inputs: New file.
42172 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42174         [BZ #15339]
42175         * posix/tst-getaddrinfo4.c: New test.
42176         * posix/Makefile (tests): Add it.
42178 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42180         [BZ #15339]
42181         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42182         when no services were used.
42183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42184         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42186 2013-05-21  Andreas Schwab  <schwab@suse.de>
42188         [BZ #15014]
42189         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42190         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42191         successful.
42192         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42193         redundant variable declarations and reallocation of buffer when
42194         parsing as IPv6 address.  Always set NSS status when called from
42195         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42196         buffer too small.  Correct computation of needed size.
42197         * nss/Makefile (tests): Add test-digits-dots.
42198         * nss/test-digits-dots.c: New test.
42200 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42202         * benchtests/Makefile: Remove instructions for adding
42203         benchmark tests.
42204         * benchtests/README: New file to explain how to execute and
42205         enhance the benchmark tests.
42207 2013-05-21  Andreas Schwab  <schwab@suse.de>
42209         [BZ #15493]
42210         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42211         * setjmp/tst-sigsetjmp.c: New test.
42213 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42215         * sysdeps/x86_64/memset.S (memset): New implementation.
42216         (__bzero): Likewise.
42217         (__memset_tail): New function.
42219 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42221         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42223         __memcpy_sse2_unaligned ifunc selection.
42224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42225         Add memcpy-sse2-unaligned.S.
42226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42227         Add: __memcpy_sse2_unaligned.
42229 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42231         [BZ #15490]
42232         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42233         math_force_eval before restoring floating-point envrionment.
42234         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42235         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42236         Likewise.
42237         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42238         <math_private.h>.
42239         (__nearbyintl): Use math_force_eval before restoring
42240         floating-point environment.
42241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42243         * math/gen-libm-test.pl (special_functions): Remove.
42244         (parse_args): Don't handle TEST_extra.  Handle functions with no
42245         return value.
42246         * math/libm-test.inc (struct test_sincos_data): Replace with
42247         struct test_fFF_11_data.
42248         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42249         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42250         (sincos_test_data): Change element type to struct
42251         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42252         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42253         RUN_TEST_LOOP_sincos.
42254         * math/README.libm-test: Don't mention special handling of
42255         individual functions.
42256         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42257         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42258         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42260         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42263         * math/gen-libm-test.pl (get_variable): Remove function.
42264         (parse_args): Don't show pointer parameters to call in test
42265         names.  Use "extra output N" in test names for extra outputs
42266         rather than naming variables.
42268 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42270         [BZ #15488]
42271         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42272         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42273         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42274         double tests.
42275         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42276         disable.
42277         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42278         check_long_double.
42280         * math/gen-libm-test.pl (@tests): Remove variable.
42281         ($count): Likewise.
42282         (new_test): Remove function.
42283         (show_exceptions): New function.
42284         (special_functions): Use show_exceptions instead of new_test.
42285         (parse_args): Likewise.
42286         (generate_testfile): Pass only function name in generated call to
42287         print_max_error or print_complex_max_error.
42288         (get_ulps): Do not handle complex tests specially.
42289         (output_test): Rename to ...
42290         (get_all_ulps_for_test): ... this.  Return a string rather than
42291         printing to a file.  Require ulps to be present.
42292         (output_ulps): Generate arrays rather than #defines.
42293         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42294         (struct ulp_data): New type.
42295         (BUILD_COMPLEX_ULP): Remove macro.
42296         (compare_ulp_data): New function.
42297         (find_ulps): Likewise.
42298         (find_test_ulps): Likewise.
42299         (find_function_ulps): Likewise.
42300         (find_complex_function_ulps): Likewise.
42301         (print_max_error): Determine allowed ulps using
42302         find_function_ulps.
42303         (print_complex_max_error): Determine allowed ulps using
42304         find_complex_function_ulps.
42305         (check_float_internal): Determine max ulps using find_test_ulps.
42306         (check_float): Do not take max_ulp parameter.  Update call to
42307         check_float_internal.
42308         (check_complex): Likewise.
42309         (check_int): Do not take max_ulp parameter.
42310         (check_long): Likewise.
42311         (check_bool): Likewise.
42312         (check_longlong): Likewise.
42313         (struct test_f_f_data): Remove max_ulp field.
42314         (struct test_ff_f_data): Likewise.
42315         (struct test_ff_f_data_nexttoward): Likewise.
42316         (struct test_fi_f_data): Likewise.
42317         (struct test_fl_f_data): Likewise.
42318         (struct test_if_f_data): Likewise.
42319         (struct test_fff_f_data): Likewise.
42320         (struct test_c_f_data): Likewise.
42321         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42322         (struct test_fF_f1_data): Likewise.
42323         (struct test_ffI_f1_data): Likewise.
42324         (struct test_c_c_data): Remove max_ulp field.
42325         (struct test_cc_c_data): Likewise.
42326         (struct test_f_i_data): Likewise.
42327         (struct test_ff_i_data): Likewise.
42328         (struct test_f_l_data): Likewise.
42329         (struct test_f_L_data): Likewise.
42330         (struct test_sincos_data): Likewise.
42331         (RUN_TEST_f_f): Do not handle ulps.
42332         (RUN_TEST_LOOP_f_f): Likewise.
42333         (RUN_TEST_2_f): Likewise.
42334         (RUN_TEST_LOOP_2_f): Likewise.
42335         (RUN_TEST_fff_f): Likewise.
42336         (RUN_TEST_LOOP_fff_f): Likewise.
42337         (RUN_TEST_c_f): Likewise.
42338         (RUN_TEST_LOOP_c_f): Likewise.
42339         (RUN_TEST_f_f1): Likewise.
42340         (RUN_TEST_LOOP_f_f1): Likewise.
42341         (RUN_TEST_fF_f1): Likewise.
42342         (RUN_TEST_LOOP_fF_f1): Likewise.
42343         (RUN_TEST_fI_f1): Likewise.
42344         (RUN_TEST_LOOP_fI_f1): Likewise.
42345         (RUN_TEST_ffI_f1): Likewise.
42346         (RUN_TEST_LOOP_ffI_f1): Likewise.
42347         (RUN_TEST_c_c): Likewise.
42348         (RUN_TEST_LOOP_c_c): Likewise.
42349         (RUN_TEST_cc_c): Likewise.
42350         (RUN_TEST_LOOP_cc_c): Likewise.
42351         (RUN_TEST_f_i): Likewise.
42352         (RUN_TEST_LOOP_f_i): Likewise.
42353         (RUN_TEST_f_i_tg): Likewise.
42354         (RUN_TEST_LOOP_f_i_tg): Likewise.
42355         (RUN_TEST_ff_i_tg): Likewise.
42356         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42357         (RUN_TEST_f_b): Likewise.
42358         (RUN_TEST_LOOP_f_b): Likewise.
42359         (RUN_TEST_f_b_tg): Likewise.
42360         (RUN_TEST_LOOP_f_b_tg): Likewise.
42361         (RUN_TEST_f_l): Likewise.
42362         (RUN_TEST_LOOP_f_l): Likewise.
42363         (RUN_TEST_f_L): Likewise.
42364         (RUN_TEST_LOOP_f_L): Likewise.
42365         (RUN_TEST_sincos): Likewise.
42366         (RUN_TEST_LOOP_sincos): Likewise.
42368 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42370         [BZ #15480]
42371         [BZ #15485]
42372         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42373         main case of finite arguments, set rounding mode to FE_TONEAREST
42374         and discard exceptions.
42375         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42376         exceptions.
42377         (remainder_tonearest_test_data): New variable.
42378         (remainder_test_tonearest): New function.
42379         (remainder_towardzero_test_data): New variable.
42380         (remainder_test_towardzero): New function.
42381         (remainder_downward_test_data): New variable.
42382         (remainder_test_downward): New function.
42383         (remainder_upward_test_data): New variable.
42384         (remainder_test_upward): New function.
42385         (main): Call the new test functions.
42387         * math/libm-test.inc (struct test_f_f1_data): Remove field
42388         extra_init.
42389         (struct test_fF_f1_data): Likewise.
42390         (struct test_ffI_f1_data): Likewise.
42391         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42392         based on value of EXTRA_EXPECTED.
42393         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42394         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42395         EXTRA_VAR based on value of EXTRA_EXPECTED.
42396         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42397         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42398         EXTRA_VAR based on value of EXTRA_EXPECTED.
42399         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42400         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42401         EXTRA_VAR based on value of EXTRA_EXPECTED.
42402         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42403         * math/gen-libm-test.pl (parse_args): Don't output initializers
42404         for extra output values.
42406         * math/libm-test.inc (check_int): Expect result to be exactly
42407         equal to expected value and do not handle ulps.
42408         (check_long): Likewise.
42409         (check_longlong): Likewise.
42411         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42412         exceptions.
42413         (cimag_test_data): Likewise.
42414         (conj_test_data): Likewise.
42415         (copysign_test_data): Likewise.
42416         (cproj_test_data): Likewise.
42417         (creal_test_data): Likewise.
42418         (fabs_test_data): Likewise.
42419         (fdim_test_data): Likewise.
42420         (finite_test_data): Likewise.
42421         (floor_test_data): Likewise.
42422         (fmax_test_data): Likewise.
42423         (fmin_test_data): Likewise.
42424         (fmod_test_data): Likewise.
42425         (fpclassify_test_data): Likewise.
42426         (frexp_test_data): Likewise.
42427         (ilogb_test_data): Likewise.
42428         (isfinite_test_data): Likewise.
42429         (isgreater_test_data): Likewise.
42430         (isgreaterequal_test_data): Likewise.
42431         (isinf_test_data): Likewise.
42432         (isless_test_data): Likewise.
42433         (islessequal_test_data): Likewise.
42434         (islessgreater_test_data): Likewise.
42435         (isnan_test_data): Likewise.
42436         (isnormal_test_data): Likewise.
42437         (issignaling_test_data): Likewise.
42438         (isunordered_test_data): Likewise.
42439         (ldexp_test_data): Likewise.
42440         (lrint_test_data): Likewise.
42441         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42442         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42443         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42444         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42445         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42446         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42447         test input.
42448         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42449         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42450         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42451         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42452         that test input.
42453         (lrint_downward_test_data): Test for "inexact" exceptions.
42454         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42455         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42456         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42457         test input.
42458         (lrint_upward_test_data): Test for "inexact" exceptions.
42459         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42460         test input.
42461         (llrint_test_data): Test for "inexact" exceptions.
42462         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42463         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42464         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42465         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42466         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42467         (llrint_downward_test_data): Test for "inexact" exceptions.
42468         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42469         (llrint_upward_test_data): Test for "inexact" exceptions.
42470         (logb_test_data): Likewise.
42471         (logb_downward_test_data): Likewise.
42472         (nextafter_test_data): Likewise.
42473         (nexttoward_test_data): Likewise.
42474         (remainder_test_data): Likewise.
42475         (remquo_test_data): Likewise.
42476         (scalbn_test_data): Likewise.
42477         (scalbln_test_data): Likewise.
42478         (signbit_test_data): Likewise.
42479         (sqrt_test_data): Likewise.
42480         (significand_test_data): Likewise.
42482 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42484         [BZ #15424]
42485         * benchtests/bench-modf.c (struct args): Mark arg0 as
42486         volatile.
42487         * scripts/bench.pl: Mark members of struct args as volatile.
42489 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42491         [BZ # 15497]
42492         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42493         negative infinity on POWER6 or lower.
42494         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42496 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42498         [BZ #15442]
42499         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42500         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42501         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42502         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42503         (_FP_SETQNAN): New macro.
42504         (_FP_SETQNAN_SEMIRAW): Likewise.
42505         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42506         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42507         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42508         (FP_EXTEND): Use _FP_FRAC_SNANP.
42509         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42510         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42511         into account.
42512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42513         New macro.
42514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42515         Likewise.
42517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42519         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42520         with DIVIDE_BY_ZERO_EXCEPTION.
42521         (gamma_test_data): Likewise.
42522         (lgamma_test_data): Likewise.
42523         (log_test_data): Likewise.
42524         (log10_test_data): Likewise.
42525         (log2_test_data): Likewise.
42526         (tgamma_test_data): Likewise.
42528         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42529         (acos_test_tonearest): Likewise.
42530         (acos_test_towardzero): Likewise.
42531         (acos_test_downward): Likewise.
42532         (acos_test_upward): Likewise.
42533         (acosh_test): Likewise.
42534         (asin_test): Likewise.
42535         (asin_test_tonearest): Likewise.
42536         (asin_test_towardzero): Likewise.
42537         (asin_test_downward): Likewise.
42538         (asin_test_upward): Likewise.
42539         (asinh_test): Likewise.
42540         (atan_test): Likewise.
42541         (atanh_test): Likewise.
42542         (atan2_test): Likewise.
42543         (cabs_test): Likewise.
42544         (cacos_test): Likewise.
42545         (cacosh_test): Likewise.
42546         (casin_test): Likewise.
42547         (casinh_test): Likewise.
42548         (catan_test): Likewise.
42549         (catanh_test): Likewise.
42550         (cbrt_test): Likewise.
42551         (ccos_test): Likewise.
42552         (ccosh_test): Likewise.
42553         (cexp_test): Likewise.
42554         (clog_test): Likewise.
42555         (clog10_test): Likewise.
42556         (cos_test): Likewise.
42557         (cos_test_tonearest): Likewise.
42558         (cos_test_towardzero): Likewise.
42559         (cos_test_downward): Likewise.
42560         (cos_test_upward): Likewise.
42561         (cosh_test): Likewise.
42562         (cosh_test_tonearest): Likewise.
42563         (cosh_test_towardzero): Likewise.
42564         (cosh_test_downward): Likewise.
42565         (cosh_test_upward): Likewise.
42566         (cpow_test): Likewise.
42567         (csin_test): Likewise.
42568         (csinh_test): Likewise.
42569         (csqrt_test): Likewise.
42570         (ctan_test): Likewise.
42571         (ctan_test_tonearest): Likewise.
42572         (ctan_test_towardzero): Likewise.
42573         (ctan_test_downward): Likewise.
42574         (ctan_test_upward): Likewise.
42575         (ctanh_test): Likewise.
42576         (ctanh_test_tonearest): Likewise.
42577         (ctanh_test_towardzero): Likewise.
42578         (ctanh_test_downward): Likewise.
42579         (ctanh_test_upward): Likewise.
42580         (erf_test): Likewise.
42581         (erfc_test): Likewise.
42582         (exp_test): Likewise.
42583         (exp_test_tonearest): Likewise.
42584         (exp_test_towardzero): Likewise.
42585         (exp_test_downward): Likewise.
42586         (exp_test_upward): Likewise.
42587         (exp10_test): Likewise.
42588         (exp2_test): Likewise.
42589         (expm1_test): Likewise.
42590         (fmod_test): Likewise.
42591         (gamma_test): Likewise.
42592         (hypot_test): Likewise.
42593         (j0_test): Likewise.
42594         (j1_test): Likewise.
42595         (jn_test): Likewise.
42596         (lgamma_test): Likewise.
42597         (log_test): Likewise.
42598         (log10_test): Likewise.
42599         (log1p_test): Likewise.
42600         (log2_test): Likewise.
42601         (logb_test_downward): Likewise.
42602         (pow_test): Likewise.
42603         (pow_test_tonearest): Likewise.
42604         (pow_test_towardzero): Likewise.
42605         (pow_test_downward): Likewise.
42606         (pow_test_upward): Likewise.
42607         (remainder_test): Likewise.
42608         (remquo_test): Likewise.
42609         (sin_test): Likewise.
42610         (sin_test_tonearest): Likewise.
42611         (sin_test_towardzero): Likewise.
42612         (sin_test_downward): Likewise.
42613         (sin_test_upward): Likewise.
42614         (sincos_test): Likewise.
42615         (sinh_test): Likewise.
42616         (sinh_test_tonearest): Likewise.
42617         (sinh_test_towardzero): Likewise.
42618         (sinh_test_downward): Likewise.
42619         (sinh_test_upward): Likewise.
42620         (sqrt_test): Likewise.
42621         (tan_test): Likewise.
42622         (tan_test_tonearest): Likewise.
42623         (tan_test_towardzero): Likewise.
42624         (tan_test_downward): Likewise.
42625         (tan_test_upward): Likewise.
42626         (tanh_test): Likewise.
42627         (tgamma_test): Likewise.
42628         (y0_test): Likewise.
42629         (y1_test): Likewise.
42630         (yn_test): Likewise.
42632         * math/gen-libm-test.pl (adjust_arg): Remove function.
42633         (special_function): Remove argument $in_func.  Only handle
42634         generating output for tables of tests, not inside functions.
42635         (parse_args): Likewise.
42636         (generate_testfile): Remove variable $in_func.  Update call to
42637         parse_args.
42638         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42639         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42640         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42641         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42642         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42643         (MAX_VALUE_INIT): Rename macro to max_value.
42644         (MIN_VALUE_INIT): Rename macro to min_value.
42645         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42646         (plus_zero): Remove variable.
42647         (minus_zero): Likewise.
42648         (plus_infty): Likewise.
42649         (minus_infty): Likewise.
42650         (qnan_value): Likewise.
42651         (max_value): Likewise.
42652         (min_value): Likewise.
42653         (min_subnorm_value): Likewise.
42655 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42657         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42658         uint64_t or uint32_t usage.
42659         * crypt/sha256-block.c: Likewise.
42660         * crypt/sha256-crypt.c: Likewise.
42661         * crypt/sha256.c: Likewise.
42662         * crypt/sha512-block.c: Likewise.
42663         * crypt/sha512-crypt.c: Likewise.
42664         * crypt/sha512.c: Likewise.
42665         * debug/backtrace-tst.c: Likewise.
42666         * debug/pcprofiledump.c: Likewise.
42667         * elf/cache.c: Likewise.
42668         * elf/dl-cache.c: Likewise.
42669         * elf/dl-misc.c: Likewise.
42670         * elf/dl-profile.c: Likewise.
42671         * elf/dl-support.c: Likewise.
42672         * elf/ldconfig.c: Likewise.
42673         * elf/sprof.c: Likewise.
42674         * iconv/dummy-repertoire.c: Likewise.
42675         * iconv/iconv_charmap.c: Likewise.
42676         * iconv/skeleton.c: Likewise.
42677         * iconvdata/8bit-generic.c: Likewise.
42678         * iconvdata/cp737.h: Likewise.
42679         * iconvdata/cp775.h: Likewise.
42680         * iconvdata/ibm1008.h: Likewise.
42681         * iconvdata/ibm1025.h: Likewise.
42682         * iconvdata/ibm1046.h: Likewise.
42683         * iconvdata/ibm1097.h: Likewise.
42684         * iconvdata/ibm1112.h: Likewise.
42685         * iconvdata/ibm1122.h: Likewise.
42686         * iconvdata/ibm1123.h: Likewise.
42687         * iconvdata/ibm1124.h: Likewise.
42688         * iconvdata/ibm1129.h: Likewise.
42689         * iconvdata/ibm1130.h: Likewise.
42690         * iconvdata/ibm1132.h: Likewise.
42691         * iconvdata/ibm1133.h: Likewise.
42692         * iconvdata/ibm1137.h: Likewise.
42693         * iconvdata/ibm1140.h: Likewise.
42694         * iconvdata/ibm1141.h: Likewise.
42695         * iconvdata/ibm1142.h: Likewise.
42696         * iconvdata/ibm1143.h: Likewise.
42697         * iconvdata/ibm1144.h: Likewise.
42698         * iconvdata/ibm1145.h: Likewise.
42699         * iconvdata/ibm1146.h: Likewise.
42700         * iconvdata/ibm1147.h: Likewise.
42701         * iconvdata/ibm1148.h: Likewise.
42702         * iconvdata/ibm1149.h: Likewise.
42703         * iconvdata/ibm1153.h: Likewise.
42704         * iconvdata/ibm1154.h: Likewise.
42705         * iconvdata/ibm1155.h: Likewise.
42706         * iconvdata/ibm1156.h: Likewise.
42707         * iconvdata/ibm1157.h: Likewise.
42708         * iconvdata/ibm1158.h: Likewise.
42709         * iconvdata/ibm1160.h: Likewise.
42710         * iconvdata/ibm1161.h: Likewise.
42711         * iconvdata/ibm1162.h: Likewise.
42712         * iconvdata/ibm1163.h: Likewise.
42713         * iconvdata/ibm1164.h: Likewise.
42714         * iconvdata/ibm1166.h: Likewise.
42715         * iconvdata/ibm1167.h: Likewise.
42716         * iconvdata/ibm12712.h: Likewise.
42717         * iconvdata/ibm1390.h: Likewise.
42718         * iconvdata/ibm1399.h: Likewise.
42719         * iconvdata/ibm16804.h: Likewise.
42720         * iconvdata/ibm4517.h: Likewise.
42721         * iconvdata/ibm4899.h: Likewise.
42722         * iconvdata/ibm4909.h: Likewise.
42723         * iconvdata/ibm4971.h: Likewise.
42724         * iconvdata/ibm5347.h: Likewise.
42725         * iconvdata/ibm803.h: Likewise.
42726         * iconvdata/ibm856.h: Likewise.
42727         * iconvdata/ibm901.h: Likewise.
42728         * iconvdata/ibm902.h: Likewise.
42729         * iconvdata/ibm9030.h: Likewise.
42730         * iconvdata/ibm9066.h: Likewise.
42731         * iconvdata/ibm921.h: Likewise.
42732         * iconvdata/ibm922.h: Likewise.
42733         * iconvdata/ibm9448.h: Likewise.
42734         * iconvdata/isiri-3342.h: Likewise.
42735         * iconvdata/jis0201.h: Likewise.
42736         * include/link.h: Likewise.
42737         * include/netdb.h: Likewise.
42738         * inet/check_native.c: Likewise.
42739         * inet/check_pf.c: Likewise.
42740         * inet/getipv4sourcefilter.c: Likewise.
42741         * inet/getnameinfo.c: Likewise.
42742         * inet/getsourcefilter.c: Likewise.
42743         * inet/htonl.c: Likewise.
42744         * inet/setipv4sourcefilter.c: Likewise.
42745         * inet/setsourcefilter.c: Likewise.
42746         * inet/test-inet6_opt.c: Likewise.
42747         * inet/tst-network.c: Likewise.
42748         * locale/C-collate.c: Likewise.
42749         * locale/C-ctype.c: Likewise.
42750         * locale/C-time.c: Likewise.
42751         * locale/C-translit.h: Likewise.
42752         * locale/loadarchive.c: Likewise.
42753         * locale/programs/3level.h: Likewise.
42754         * locale/programs/charmap.c: Likewise.
42755         * locale/programs/charmap.h: Likewise.
42756         * locale/programs/ld-address.c: Likewise.
42757         * locale/programs/ld-collate.c: Likewise.
42758         * locale/programs/ld-ctype.c: Likewise.
42759         * locale/programs/ld-identification.c: Likewise.
42760         * locale/programs/ld-measurement.c: Likewise.
42761         * locale/programs/ld-messages.c: Likewise.
42762         * locale/programs/ld-monetary.c: Likewise.
42763         * locale/programs/ld-name.c: Likewise.
42764         * locale/programs/ld-numeric.c: Likewise.
42765         * locale/programs/ld-paper.c: Likewise.
42766         * locale/programs/ld-telephone.c: Likewise.
42767         * locale/programs/ld-time.c: Likewise.
42768         * locale/programs/linereader.c: Likewise.
42769         * locale/programs/locale.c: Likewise.
42770         * locale/programs/locarchive.c: Likewise.
42771         * locale/programs/locfile.h: Likewise.
42772         * locale/programs/repertoire.c: Likewise.
42773         * locale/programs/simple-hash.c: Likewise.
42774         * locale/programs/simple-hash.h: Likewise.
42775         * malloc/memusage.c: Likewise.
42776         * malloc/memusagestat.c: Likewise.
42777         * nis/nis_defaults.c: Likewise.
42778         * nis/nis_hash.c: Likewise.
42779         * nis/nis_print.c: Likewise.
42780         * nis/nis_xdr.c: Likewise.
42781         * nscd/connections.c: Likewise.
42782         * nscd/hstcache.c: Likewise.
42783         * nscd/nscd_gethst_r.c: Likewise.
42784         * nscd/nscd_getserv_r.c: Likewise.
42785         * nscd/nscd_helper.c: Likewise.
42786         * nscd/servicescache.c: Likewise.
42787         * nss/makedb.c: Likewise.
42788         * nss/nss_db/db-XXX.c: Likewise.
42789         * nss/nss_db/db-initgroups.c: Likewise.
42790         * nss/nss_db/db-netgrp.c: Likewise.
42791         * nss/nss_files/files-network.c: Likewise.
42792         * nss/nss_files/files-parse.c: Likewise.
42793         * posix/bug-regex5.c: Likewise.
42794         * posix/fnmatch_loop.c: Likewise.
42795         * posix/regcomp.c: Likewise.
42796         * posix/regexec.c: Likewise.
42797         * posix/tst-rfc3484-2.c: Likewise.
42798         * posix/tst-rfc3484-3.c: Likewise.
42799         * posix/tst-rfc3484.c: Likewise.
42800         * resolv/nss_dns/dns-canon.c: Likewise.
42801         * resolv/nss_dns/dns-network.c: Likewise.
42802         * resolv/res_init.c: Likewise.
42803         * resolv/res_mkquery.c: Likewise.
42804         * resolv/tst-aton.c: Likewise.
42805         * stdlib/cxa_atexit.c: Likewise.
42806         * stdlib/cxa_finalize.c: Likewise.
42807         * stdlib/gen-fpioconst.c: Likewise.
42808         * stdlib/strtol_l.c: Likewise.
42809         * string/tst-endian.c: Likewise.
42810         * sunrpc/auth_des.c: Likewise.
42811         * sunrpc/clnt_udp.c: Likewise.
42812         * sunrpc/rtime.c: Likewise.
42813         * sunrpc/svcauth_des.c: Likewise.
42814         * sunrpc/xdr.c: Likewise.
42815         * sunrpc/xdr_intXX_t.c: Likewise.
42816         * sunrpc/xdr_rec.c: Likewise.
42817         * sysdeps/generic/ldconfig.h: Likewise.
42818         * sysdeps/generic/ldsodefs.h: Likewise.
42819         * sysdeps/generic/memusage.h: Likewise.
42820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42821         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42822         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42824         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42826         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42827         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42828         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42830         * sysdeps/posix/getaddrinfo.c: Likewise.
42831         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42833         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42834         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42835         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42836         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42837         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42838         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42839         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42840         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42841         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42842         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42843         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42844         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42846         * sysdeps/x86_64/dl-tls.h: Likewise.
42847         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42848         * time/alt_digit.c: Likewise.
42849         * time/era.c: Likewise.
42850         * wcsmbs/tst-c16c32-1.c: Likewise.
42852 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42854         * math/libm-test.inc (struct test_sincos_data): New type.
42855         (RUN_TEST_LOOP_sincos): New macro.
42856         (sincos_test_data): New variable.
42857         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42859 2013-05-16  Richard Henderson  <rth@redhat.com>
42861         * math/atest-exp2.c (LIMB64): New macro.
42862         (CONSTSZ): New macro.
42863         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42864         (hexdig): Move ...
42865         (print_mpn_fp): ... to function scope.
42866         (read_mpn_hex): Remove.
42867         (get_log2): Remove.
42868         (exp2_mpn): Use mp_log2.
42869         (main): Use mp_exp1.
42871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42873         * math/libm-test.inc: Remove comment about not testing "inexact"
42874         exceptions.
42875         (INEXACT_EXCEPTION): New macro.
42876         (NO_INEXACT_EXCEPTION): Likewise.
42877         (INVALID_EXCEPTION_OK): Update value.
42878         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42879         (OVERFLOW_EXCEPTION_OK): Likewise.
42880         (UNDERFLOW_EXCEPTION_OK): Likewise.
42881         (IGNORE_ZERO_INF_SIGN): Likewise.
42882         (ERRNO_UNCHANGED): Likewise.
42883         (ERRNO_EDOM): Likewise.
42884         (ERRNO_ERANGE): Likewise.
42885         (test_exceptions): Handle testing "inexact" exceptions.
42886         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42887         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42888         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42889         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42890         INEXACT_EXCEPTION.
42891         (rint_towardzero_test_data): Likewise.
42892         (rint_downward_test_data): Likewise.
42893         (rint_upward_test_data): Likewise.
42895         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42896         with OVERFLOW_EXCEPTION.
42897         (exp10_test_data): Likewise.
42898         (exp2_test_data): Likewise.
42899         (expm1_test_data): Likewise.
42900         (lgamma_test_data): Likewise.
42901         (pow_test_data): Likewise.
42902         (tgamma_test_data): Likewise.
42903         (yn_test_data): Remove duplicate test of overflow.
42905         * math/libm-test.inc (struct test_cc_c_data): New type.
42906         (RUN_TEST_LOOP_cc_c): New macro.
42907         (cpow_test_data): New variable.
42908         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42910         * math/libm-test.inc (struct test_f_L_data): New type.
42911         (RUN_TEST_LOOP_f_L): New macro.
42912         (llrint_test_data): New variable.
42913         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42914         (llrint_tonearest_test_data): New variable.
42915         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42916         (llrint_towardzero_test_data): New variable.
42917         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42918         (llrint_downward_test_data): New variable.
42919         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42920         (llrint_upward_test_data): New variable.
42921         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42922         (llround_test_data): New variable.
42923         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42925 2013-05-13  Peter Collingbourne  <pcc@google.com>
42927         * math/atest-exp2.c (get_log2): Remove const attribute.
42929 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42931         * math/libm-test.inc (struct test_f_l_data): New type.
42932         (RUN_TEST_LOOP_f_l): New macro.
42933         (lrint_test_data): New variable.
42934         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42935         (lrint_tonearest_test_data): New variable.
42936         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42937         (lrint_towardzero_test_data): New variable.
42938         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42939         (lrint_downward_test_data): New variable.
42940         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42941         (lrint_upward_test_data): New variable.
42942         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42943         (lround_test_data): New variable.
42944         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42946 2013-05-15  Peter Collingbourne  <pcc@google.com>
42948         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42949         (EXTRACT_WORDS64) Use where appropriate.
42950         (INSERT_WORDS64) Likewise.
42952         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42953         constraints with x constraints.
42954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42956         * malloc/obstack.c (_obstack_compat): Add initializer.
42958 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42960         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42961         si_trapno and add si_addr_lsb to _sifields.sigfault.
42962         (si_trapno): Remove macro.
42963         (si_addr_lsb): Define new macro.
42964         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42966 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42968         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42969         instead of TEST_f_l.
42970         (llrint_test_tonearest): Likewise.
42971         (llrint_test_towardzero): Likewise.
42972         (llrint_test_downward): Likewise.
42973         (llrint_test_upward): Likewise.
42974         (llround_test): Likewise.
42976         * math/libm-test.inc (struct test_f_i_data): Add comment.
42977         (RUN_TEST_LOOP_f_b): New macro.
42978         (RUN_TEST_LOOP_f_b_tg): Likewise.
42979         (finite_test_data): New variable.
42980         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42981         (isfinite_test_data): New variable.
42982         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42983         (isinf_test_data): New variable.
42984         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42985         (isnan_test_data): New variable.
42986         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42987         (isnormal_test_data): New variable.
42988         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42989         (issignaling_test_data): New variable.
42990         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42991         (signbit_test_data): New variable.
42992         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42994         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42995         with INVALID_EXCEPTION.
42996         (acosh_test_data): Likewise.
42997         (asin_test_data): Likewise.
42998         (atanh_test_data): Likewise.
42999         (fmod_test_data): Likewise.
43000         (log_test_data): Likewise.
43001         (log10_test_data): Likewise.
43002         (log2_test_data): Likewise.
43003         (pow_test_data): Likewise.
43004         (sqrt_test_data): Likewise.
43005         (y0_test_data): Likewise.
43006         (y1_test_data): Likewise.
43007         (yn_test_data): Likewise.
43009         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43010         function contents.
43012         * math/libm-test.inc (struct test_ff_i_data): New type.
43013         (RUN_TEST_LOOP_ff_i_tg): New macro.
43014         (isgreater_test_data): New variable.
43015         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43016         (isgreaterequal_test_data): New variable.
43017         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43018         (isless_test_data): New variable.
43019         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43020         (islessequal_test_data): New variable.
43021         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43022         (islessgreater_test_data): New variable.
43023         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43024         (isunordered_test_data): New variable.
43025         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43027 2013-05-14  David S. Miller  <davem@davemloft.net>
43029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43031 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43033         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43035         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43036         extra_test to int.
43037         (struct test_f_i_data): Change type of max_ulp to int.
43039         * math/libm-test.inc (test_ffI_f1_data): New type.
43040         (RUN_TEST_LOOP_ffI_f1): New macro.
43041         (remquo_test_data): New variable.
43042         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43044         * setjmp/tst-setjmp-fp.c: New file.
43045         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43046         (link-libm): New variable.
43047         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43049         * math/libm-test.inc (struct test_f_i_data): New type.
43050         (RUN_TEST_LOOP_f_i): New macro.
43051         (RUN_TEST_LOOP_f_i_tg): Likewise.
43052         (fpclassify_test_data): New variable.
43053         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43054         (ilogb_test_data): New variable.
43055         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43057         * math/libm-test.inc (scalbln_test): Correct function name in END
43058         call.
43060         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43061         (RUN_TEST_LOOP_fI_f1): New macro.
43062         (frexp_test_data): New variable.
43063         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43065         * math/libm-test.inc (struct test_fF_f1_data): New type.
43066         (RUN_TEST_LOOP_fF_f1): New macro.
43067         (modf_test_data): New variable.
43068         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43070         * math/libm-test.inc (struct test_f_f1_data): New type.
43071         (RUN_TEST_LOOP_f_f1): New macro.
43072         (gamma_test_data): New variable.
43073         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43074         (lgamma_test_data): New variable.
43075         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43077 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43080         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43081         (main): Comment "tls" pseudo-hwcap.
43083 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43085         * math/libm-test.inc (struct test_fl_f_data): New type.
43086         (RUN_TEST_LOOP_fl_f): New variable.
43087         (scalbln_test_data): New variable.
43088         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43090         * math/libm-test.inc (struct test_fi_f_data): New type.
43091         (RUN_TEST_LOOP_fi_f): New macro.
43092         (ldexp_test_data): New variable.
43093         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43094         (scalbn_test_data): New variable.
43095         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43097         * math/libm-test.inc (struct test_c_f_data): New type.
43098         (RUN_TEST_LOOP_c_f): New macro.
43099         (cabs_test_data): New variable.
43100         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43101         (carg_test_data): New variable.
43102         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43103         (cimag_test_data): New variable.
43104         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43105         (creal_test_data): New variable.
43106         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43108         * math/libm-test.inc (struct test_if_f_data): New type.
43109         (RUN_TEST_LOOP_if_f): New macro.
43110         (jn_test_data): New variable.
43111         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43112         (yn_test_data): New variable.
43113         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43115         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43117 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43119         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43120         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43122 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43124         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43125         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43126         (bench-deps): Add bench-timing.h.
43127         * benchtests-bench-skeleton.c: Include bench-timing.h.
43128         (main): Use TIMING_* macros instead of clock_gettime.
43129         * benchtests/bench-timing.h: New file.
43131         [BZ #14582]
43132         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43133         Renamed from _LIB_VERSION.
43134         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43136 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43138         * math/libm-test.inc (struct test_fff_f_data): New type.
43139         (RUN_TEST_LOOP_fff_f): New macro.
43140         (fma_test_data): New variable.
43141         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43142         (fma_towardzero_test_data): New variable.
43143         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43144         (fma_downward_test_data): New variable.
43145         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43146         (fma_upward_test_data): New variable.
43147         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43149         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43150         (struct test_c_c_data): New type.
43151         (RUN_TEST_LOOP_c_c): New macro.
43152         (cacos_test_data): New variable.
43153         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43154         (cacosh_test_data): New variable.
43155         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43156         (casin_test_data): New variable.
43157         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43158         (casinh_test_data): New variable.
43159         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43160         (catan_test_data): New variable.
43161         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43162         (catanh_test_data): New variable.
43163         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43164         (ccos_test_data): New variable.
43165         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43166         (ccosh_test_data): New variable.
43167         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43168         (cexp_test_data): New variable.
43169         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43170         (clog_test_data): New variable.
43171         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43172         (clog10_test_data): New variable.
43173         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43174         (conj_test_data): New variable.
43175         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43176         (cproj_test_data): New variable.
43177         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43178         (csin_test_data): New variable.
43179         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43180         (csinh_test_data): New variable.
43181         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43182         (csqrt_test_data): New variable.
43183         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43184         (ctan_test_data): New variable.
43185         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43186         (ctan_tonearest_test_data): New variable.
43187         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43188         (ctan_towardzero_test_data): New variable.
43189         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43190         (ctan_downward_test_data): New variable.
43191         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43192         (ctan_upward_test_data): New variable.
43193         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43194         (ctanh_test_data): New variable.
43195         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43196         (ctanh_tonearest_test_data): New variable.
43197         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43198         (ctanh_towardzero_test_data): New variable.
43199         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43200         (ctanh_downward_test_data): New variable.
43201         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43202         (ctanh_upward_test_data): New variable.
43203         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43204         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43205         of BUILD_COMPLEX.
43207         * math/libm-test.inc (struct test_ff_f_data): New type.
43208         (struct test_ff_f_data_nexttoward): Likewise.
43209         (RUN_TEST_LOOP_2_f): New macro.
43210         (RUN_TEST_LOOP_ff_f): Likewise.
43211         (atan2_test_data): New variable.
43212         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43213         (copysign_test_data): New variable.
43214         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43215         (fdim_test_data): New variable.
43216         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43217         (fmax_test_data): New variable.
43218         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43219         (fmin_test_data): New variable.
43220         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43221         (fmod_test_data): New variable.
43222         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43223         (hypot_test_data): New variable.
43224         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43225         (nextafter_test_data): New variable.
43226         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43227         (nexttoward_test_data): New variable.
43228         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43229         (pow_test_data): New variable.
43230         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43231         (pow_tonearest_test_data): New variable.
43232         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43233         (pow_towardzero_test_data): New variable.
43234         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43235         (pow_downward_test_data): New variable.
43236         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43237         (pow_upward_test_data): New variable.
43238         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43239         (remainder_test_data): New variable.
43240         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43241         (scalb_test_data): New variable.
43242         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43243         * sysdeps/i386/fpu/libm-test-ulps: Update.
43245 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43247         * math/libm-test.inc (fma_test): Use max_value instead of local
43248         variable fltmax.
43249         (nextafter_test): Likewise.
43251         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43252         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43253         (acos_downward_test_data): New variable.
43254         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43255         (acos_upward_test_data): New variable.
43256         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43257         (acosh_test_data): New variable.
43258         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43259         (asin_test_data): New variable.
43260         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43261         (asin_tonearest_test_data): New variable.
43262         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43263         (asin_towardzero_test_data): New variable.
43264         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43265         (asin_downward_test_data): New variable.
43266         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43267         (asin_upward_test_data): New variable.
43268         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43269         (asinh_test_data): New variable.
43270         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43271         (atan_test_data): New variable.
43272         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43273         (atanh_test_data): New variable.
43274         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43275         (cbrt_test_data): New variable.
43276         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43277         (ceil_test_data): New variable.
43278         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43279         (cos_test_data): New variable.
43280         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43281         (cos_tonearest_test_data): New variable.
43282         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43283         (cos_towardzero_test_data): New variable.
43284         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43285         (cos_downward_test_data): New variable.
43286         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43287         (cos_upward_test_data): New variable.
43288         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43289         (cosh_test_data): New variable.
43290         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43291         (cosh_tonearest_test_data): New variable.
43292         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43293         (cosh_towardzero_test_data): New variable.
43294         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43295         (cosh_downward_test_data): New variable.
43296         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43297         (cosh_upward_test_data): New variable.
43298         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43299         (erf_test_data): New variable.
43300         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43301         (erfc_test_data): New variable.
43302         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43303         (exp_test_data): New variable.
43304         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43305         (exp_tonearest_test_data): New variable.
43306         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43307         (exp_towardzero_test_data): New variable.
43308         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43309         (exp_downward_test_data): New variable.
43310         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43311         (exp_upward_test_data): New variable.
43312         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43313         (exp10_test_data): New variable.
43314         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43315         (exp2_test_data): New variable.
43316         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43317         (expm1_test_data): New variable.
43318         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43319         (fabs_test_data): New variable.
43320         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43321         (floor_test_data): New variable.
43322         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43323         (j0_test_data): New variable.
43324         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43325         (j1_test_data): New variable.
43326         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43327         (log_test_data): New variable.
43328         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43329         (log10_test_data): New variable.
43330         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43331         (log1p_test_data): New variable.
43332         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43333         (log2_test_data): New variable.
43334         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43335         (logb_test_data): New variable.
43336         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43337         (logb_downward_test_data): New variable.
43338         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43339         (nearbyint_test_data): New variable.
43340         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43341         (rint_test_data): New variable.
43342         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43343         (rint_tonearest_test_data): New variable.
43344         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43345         (rint_towardzero_test_data): New variable.
43346         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43347         (rint_downward_test_data): New variable.
43348         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43349         (rint_upward_test_data): New variable.
43350         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43351         (round_test_data): New variable.
43352         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43353         (sin_test_data): New variable.
43354         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43355         (sin_tonearest_test_data): New variable.
43356         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43357         (sin_towardzero_test_data): New variable.
43358         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43359         (sin_downward_test_data): New variable.
43360         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43361         (sin_upward_test_data): New variable.
43362         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43363         (sinh_test_data): New variable.
43364         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43365         (sinh_tonearest_test_data): New variable.
43366         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43367         (sinh_towardzero_test_data): New variable.
43368         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43369         (sinh_downward_test_data): New variable.
43370         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43371         (sinh_upward_test_data): New variable.
43372         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43373         (sqrt_test_data): New variable.
43374         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43375         (tan_test_data): New variable.
43376         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43377         (tan_tonearest_test_data): New variable.
43378         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43379         (tan_towardzero_test_data): New variable.
43380         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43381         (tan_downward_test_data): New variable.
43382         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43383         (tan_upward_test_data): New variable.
43384         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43385         (tanh_test_data): New variable.
43386         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43387         (tgamma_test_data): New variable.
43388         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43389         (trunc_test_data): New variable.
43390         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43391         (y0_test_data): New variable.
43392         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43393         (y1_test_data): New variable.
43394         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43395         (significand_test_data): New variable.
43396         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43398 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43400         [BZ #12387]
43401         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43403 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43405         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43407 2013-05-10  Andreas Jaeger  <aj@suse.de>
43409         [BZ #15448]
43410         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43411         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43413 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43415         * math/gen-libm-test.pl (adjust_arg): New function.
43416         (special_functions): Handle generating output in both functions
43417         and arrays.
43418         (parse_args): Likewise.
43419         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43420         $in_func argument to parse_args.
43421         * math/libm-test.inc (struct test_f_f_data): New type.
43422         (IF_ROUND_INIT_): New macro.
43423         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43424         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43425         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43426         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43427         (ROUND_RESTORE_): Likewise.
43428         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43429         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43430         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43431         (ROUND_RESTORE_FE_UPWARD): Likewise.
43432         (RUN_TEST_LOOP_f_f): New macro.
43433         (acos_test_data): New variable.
43434         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43435         (acos_tonearest_test_data): New variable.
43436         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43438 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43440         * benchtests/bench-skeleton.c (startup): Fix coding style.
43442 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43444         [BZ #6809]
43445         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43446         negative infinity argument.
43447         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43448         negative infinity argument.
43449         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43450         negative infinity argument.
43451         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43452         domain errors.
43454 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43456         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43457         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43458         * iconv/iconv_prog.c (main): Likewise.
43459         * locale/programs/charmap-dir.c (charmap_readdir)
43460         (fopen_uncompressed): Likewise.
43461         * locale/programs/locfile.c (siblings_uncached)
43462         (write_locale_data): Use lstat64 instead of lstat.
43463         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43464         stat.
43466 2013-05-10  Andreas Jaeger  <aj@suse.de>
43468         [BZ #15395]
43469         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43470         localization.
43471         Include <locale.h>.
43473 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43475         * elf/dl-close.c (_dl_close_worker): Add comments.
43477 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43479         [BZ #15359]
43480         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43481         high part of pi/2.
43482         (__ieee754_rem_pio2l): Update comments.
43484         [BZ #15429]
43485         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43486         high part of pi/2.
43487         (__ieee754_rem_pio2l): Update comments.
43489         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43490         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43492         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43493         M_PI_4l.
43495         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43496         (M_PI_34_LOG10El): Likewise.
43497         (M_PI2_LOG10El): Likewise.
43498         (M_PI4_LOG10El): Likewise.
43499         (M_PI_LOG10El): Likewise.
43501 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43505 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43507         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43508         (MINUS_ZERO_INIT): Likewise.
43509         (PLUS_INFTY_INIT): Likewise.
43510         (MINUS_INFTY_INIT): Likewise.
43511         (QNAN_VALUE_INIT): Likewise.
43512         (MAX_VALUE_INIT): Likewise.
43513         (MIN_VALUE_INIT): Likewise.
43514         (MIN_SUBNORM_VALUE_INIT): Likewise.
43515         (plus_zero): Initialize with PLUS_ZERO_INIT.
43516         (minus_zero): Initialize with MINUS_ZERO_INIT.
43517         (plus_infty): Initialize with PLUS_INFTY_INIT.
43518         (minus_infty): Initialize with MINUS_INFTY_INIT.
43519         (qnan_value): Initialize with QNAN_VALUE_INIT.
43520         (max_value): Initialize with MAX_VALUE_INIT.
43521         (min_value): Initialize with MIN_VALUE_INIT.
43522         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43524         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43525         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43526         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43527         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43529         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43530         (RUN_TEST_2_f): Likewise.
43531         (RUN_TEST_ff_f): Likewise.
43532         (RUN_TEST_fi_f): Likewise.
43533         (RUN_TEST_fl_f): Likewise.
43534         (RUN_TEST_fff_f): Likewise.
43535         (RUN_TEST_c_f): Likewise.
43536         (RUN_TEST_f_f1): Likewise.
43537         (RUN_TEST_fF_f1): Likewise.
43538         (RUN_TEST_fI_f1): Likewise.
43539         (RUN_TEST_ffI_f1): Likewise.
43540         (RUN_TEST_c_c): Likewise.
43541         (RUN_TEST_cc_c): Likewise.
43542         (RUN_TEST_f_i): Likewise.
43543         (RUN_TEST_f_i_tg): Likewise.
43544         (RUN_TEST_ff_i_tg): Likewise.
43545         (RUN_TEST_f_b): Likewise.
43546         (RUN_TEST_f_b_tg): Likewise.
43547         (RUN_TEST_f_l): Likewise.
43548         (RUN_TEST_f_L): Likewise.
43549         (RUN_TEST_sincos): Likewise.
43550         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43551         whether to show exceptions.  Do not include ");\n" in return
43552         value.
43553         (special_functions): Output call to RUN_TEST_sincos instead of
43554         check_float calls.  Update calls to new_test.
43555         (parse_args): Output call to single RUN_TEST_* macro instead of
43556         check_* calls and other assignments.  Update calls to new_test.
43558         [BZ #2546]
43559         [BZ #2560]
43560         [BZ #5159]
43561         [BZ #15426]
43562         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43563         input to result for tgamma overflow.
43564         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43565         (gamma_coeff): New variable.
43566         (NCOEFF): New macro.
43567         (gamma_positive): New function.
43568         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43569         underflow here.  Use gamma_positive instead of exp (lgamma) for
43570         other arguments.
43571         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43572         (gamma_coeff): New variable.
43573         (NCOEFF): New macro.
43574         (gammaf_positive): New function.
43575         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43576         underflow here.  Use gamma_positive instead of exp (lgamma) for
43577         other arguments.
43578         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43579         (gamma_coeff): New variable.
43580         (NCOEFF): New macro.
43581         (gammal_positive): New function.
43582         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43583         underflow here.  Use gamma_positive instead of exp (lgamma) for
43584         other arguments.
43585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43586         (gamma_coeff): New variable.
43587         (NCOEFF): New macro.
43588         (gammal_positive): New function.
43589         (__ieee754_gammal_r): Handle positive infinity, overflow and
43590         underflow here.  Handle NaN the same as positive infinity.  Remove
43591         check x < 0xffffffff for negative integers.  Use gamma_positive
43592         instead of exp (lgamma) for other arguments.
43593         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43594         (gamma_coeff): New variable.
43595         (NCOEFF): New macro.
43596         (gammal_positive): New function.
43597         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43598         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43599         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43600         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43601         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43602         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43603         * sysdeps/generic/math_private.h (__gamma_productf): New
43604         prototype.
43605         (__gamma_product): Likewise.
43606         (__gamma_productl): Likewise.
43607         * math/Makefile (libm-calls): Add gamma_product.
43608         * math/libm-test.inc (tgamma_test): Add more tests.
43609         * sysdeps/i386/fpu/libm-test-ulps: Update.
43610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43612 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43614         * benchtests/bench-skeleton.c (main): Preheat CPU.
43616 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43618         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43620 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43622         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43623         and _dl_skip_args_internal.
43625 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43627         * manual/message.texi (Message Translation): Talk about users.
43628         Message to key mapping impacts design.
43630 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43632         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43634         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43636         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43637         * sysdeps/wordsize-64/glob64.c: ... here.
43639         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43640         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43641         New macros.
43643         * debug/getlogin_r_chk.c: Moved to ...
43644         * login/getlogin_r_chk.c: ... here.
43645         * debug/Makefile (routines): Move getlogin_r_chk to ...
43646         * login/Makefile (routines): ... here.
43647         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43648         * login/Versions (libc: GLIBC_2.4): ... here.
43650         * io/poll.c (__poll): Renamed from poll.
43651         Add libc_hidden_def.
43652         (poll): Define as weak alias.
43654         * debug/ptsname_r_chk.c: Moved to ...
43655         * login/ptsname_r_chk.c: ... here.
43656         * debug/Makefile (routines): Move ptsname_r_chk to ...
43657         * login/Makefile (routines): ... here.
43658         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43659         * login/Versions (libc: GLIBC_2.4): ... here.
43661         * posix/getlogin.c: Moved to ...
43662         * login/getlogin.c: ... here.
43663         * posix/getlogin_r.c: Moved to ...
43664         * login/getlogin_r.c: ... here.
43665         * posix/getlogin_r.c: Moved to ...
43666         * login/getlogin_r.c: ... here.
43667         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43668         * login/Makefile (routines): ... here.
43669         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43670         * login/Versions (libc: GLIBC_2.0): ... here.
43672         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43673         (setrlimit): Define as weak alias.
43675         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43676         Call __ names for open, ftruncate, and close.
43677         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43678         (truncate): Define as weak alias.
43680 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43682         * math/gen-libm-test.pl (parse_args): Initialize x before each
43683         test of frexp, modf and remquo.
43685         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43686         test signgam value.
43688 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43690         [BZ #15418]
43691         [BZ #15419]
43692         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43693         internal tests.
43694         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43696 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43698         * elf/dl-writev.h: New file.
43699         * elf/dl-misc.c: Include it.
43700         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43701         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43703 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43705         * math/libm-test.inc (noXFails): Remove variable.
43706         (noXPasses): Likewise.
43707         (BUILD_COMPLEX_INT): Remove macro.
43708         (print_screen): Remove xfail argument.
43709         (print_screen_max_error): Likewise.
43710         (update_stats): Likewise.
43711         (print_max_error): Likewise.  Update calls to other affected
43712         functions.
43713         (print_complex_max_error): Likewise.
43714         (test_single_exception): Update calls to print_screen.
43715         (test_single_errno): Likewise.
43716         (check_float_internal): Remove xfail argument.  Update calls to
43717         other affected functions.
43718         (check_float): Likewise.
43719         (check_complex): Likewise.
43720         (check_int): Likewise.
43721         (check_long): Likewise.
43722         (check_bool): Likewise.
43723         (check_longlong): Likewise.
43724         (main): Don't print noXFails and noXPasses.
43725         * math/gen-libm-test.pl (top level): Don't mention expected
43726         failure handling in comment.
43727         (new_test): Don't handle expected failures.
43728         (parse_args): Don't mention expected failure handling in comment.
43729         (generate_testfile): Don't handle expected failures.
43730         (parse_ulps): Likewise.
43731         (print_ulps_file): Likewise.
43732         (get_failure): Remove function.
43733         (output_test): Don't handle expected failures.
43734         * make/README.libm-test: Don't mention expected failure handling.
43736         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43737         (minus_zero): Likewise.
43738         (plus_infty): Likewise.
43739         (minus_infty): Likewise.
43740         (qnan_value): Likewise.
43741         (max_value): Likewise.
43742         (min_value): Likewise.
43743         (min_subnorm_value): Likewise.
43744         (initialize): Do not initialize those variables dynamically.
43746 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43748         * io/open.c (__open_2): Moved to ...
43749         * io/open_2.c: ... this new file.
43750         * io/open64.c (__open64_2): Moved to ...
43751         * io/open64_2.c: ... this new file.
43752         * io/openat.c (__openat_2): Moved to ...
43753         * io/openat_2.c: ... this new file.
43754         * io/openat64.c (__openat64_2): Moved to ...
43755         * io/openat64_2.c: ... this new file.
43756         * io/Makefile (routines): Add them.
43757         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43758         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43759         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43760         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43761         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43762         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43763         (__openat64): Add hidden_ver.
43764         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43765         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43767         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43768         Separately conditionalize setting of GLRO(dl_sysinfo) so
43769         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43770         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43772 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43774         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43776         definition.
43777         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43778         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43779         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43780         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43781         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43783 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43785         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43786         test signgam value.
43788         * math/libm-test.inc (hypot_test): Do not use
43789         IGNORE_ZERO_INF_SIGN.
43791 2013-05-03  Andreas Jaeger  <aj@suse.de>
43793         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43794         Linux 3.9.
43795         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43796         (PF_MAX): Adjust for VSOCK change.
43798 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43802 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43804         [BZ #15264]
43805         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43806         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43807         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43809 2013-05-02  David S. Miller  <davem@davemloft.net>
43811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43813 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43815         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43817 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43819         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43821 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43823         [BZ #14952]
43824         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43825         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43826         Use __attribute__ ((__gnu_inline__)).
43827         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43828         Don't use __attribute__ ((__gnu_inline__)).
43830 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43832         [BZ #15423]
43833         * math/s_catan.c (__catan): Handle small real or imaginary part of
43834         input specially to avoid spurious underflow.
43835         * math/s_catanf.c (__catanf): Likewise.
43836         * math/s_catanh.c (__catanh): Likewise.
43837         * math/s_catanhf.c (__catanhf): Likewise.
43838         * math/s_catanhl.c (__catanhl): Likewise.
43839         * math/s_catanl.c (__catanl): Likewise.
43840         * math/libm-test.inc (catan_test): Add more tests.
43841         (catanh_test): Likewise.
43842         * sysdeps/i386/fpu/libm-test-ulps: Update.
43843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43845 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43849 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43851         [BZ #15416]
43852         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43853         accurately for denominator in atan2.
43854         * math/s_catanf.c (__catanf): Likewise.
43855         * math/s_catanh.c (__catanh): Likewise.
43856         * math/s_catanhf.c (__catanhf): Likewise.
43857         * math/s_catanhl.c (__catanhl): Likewise.
43858         * math/s_catanl.c (__catanl): Likewise.
43859         * math/libm-test.inc (catan_test): Add more tests.
43860         (catanh_test): Likewise.
43861         * sysdeps/i386/fpu/libm-test-ulps: Update.
43862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43864 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43866         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43868         * benchtests/Makefile (bench): Remove slow benchmarks.
43869         * benchtests/atan-inputs: Add slow benchmark inputs.
43870         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43871         (BENCH_FUNC): Accept variant offset.
43872         (VARIANT): Define.
43873         * benchtests/bench-skeleton.c (main): Run benchmark for each
43874         variant.
43875         * benchtests/cos-inputs: Add slow benchmark inputs.
43876         * benchtests/exp-inputs: Likewise.
43877         * benchtests/pow-inputs: Likewise.
43878         * benchtests/sin-inputs: Likewise.
43879         * benchtests/slowatan-inputs: Remove.
43880         * benchtests/slowatan.c: Remove.
43881         * benchtests/slowcos-inputs: Remove.
43882         * benchtests/slowcos.c: Remove.
43883         * benchtests/slowexp-inputs: Remove.
43884         * benchtests/slowexp.c: Remove.
43885         * benchtests/slowpow-inputs: Remove.
43886         * benchtests/slowpow.c: Remove.
43887         * benchtests/slowsin-inputs: Remove.
43888         * benchtests/slowsin.c: Remove.
43889         * benchtests/slowtan-inputs: Remove.
43890         * benchtests/slowtan.c: Remove.
43891         * benchtests/tan-inputs: Add slow benchmark inputs.
43892         * scripts/bench.pl: Parse comments and directives.
43894         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43895         in CPPFLAGS.
43896         ($(objpfx)bench-%.c): Remove *-ITER.
43897         * benchtests/bench-modf.c: Remove definition of ITER.
43898         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43899         (main): Loop for DURATION seconds instead of fixed number of
43900         iterations.
43901         * scripts/bench.pl: Don't expect iterations in parameters.
43903 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43905         * io/fchdir.c (__fchdir): Renamed from fchdir.
43906         (fchdir): Define as weak alias.
43908 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43910         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43911         (ERRNO_EDOM): Likewise.
43912         (ERRNO_ERANGE): Likewise.
43913         (noErrnoTests): New variable.
43914         (init_max_error): Set errno to 0.
43915         (test_single_errno): New function.
43916         (test_errno): Likewise.
43917         (check_float_internal): Call test_errno.  Set errno to 0.
43918         (check_complex): Refer to errno tests in comment.
43919         (check_int): Call test_errno.  Set errno to 0.
43920         (check_long): Likewise.
43921         (check_bool): Likewise.
43922         (check_longlong): Likewise.
43923         (cos_test): Use ERRNO_* flags for errno tests instead of
43924         check_int.
43925         (expm1_test): Likewise.
43926         (fmod_test): Likewise.
43927         (ilogb_test): Likewise.
43928         (lgamma_test): Likewise.
43929         (pow_test): Likewise.
43930         (remainder_test): Likewise.
43931         (sin_test): Likewise.
43932         (tan_test): Likewise.
43933         (yn_test): Likewise.
43934         (initialize): Set errno to 0.
43935         (main): Print number of errno tests.
43936         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43938 2013-04-29  Andreas Jaeger  <aj@suse.de>
43940         [BZ #15084]
43941         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43942         and RES_USEVC.
43944         [BZ #15085]
43945         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43946         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43947         unimplemented.
43949         [BZ #15380]
43950         * stdlib/random.c (__initstate): Return NULL if
43951         __initstate fails.
43953         [BZ #15086]
43954         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43955         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43956         RES_SNGLKUPREOP.
43958 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43962 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43964         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43965         of individual tests.
43966         (casin_test): Likewise.
43967         (casinh_test): Likewise.
43969 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43971         [BZ #15409]
43972         * math/s_catan.c (__catan): Handle arguments with large real or
43973         imaginary part separately without squaring.
43974         * math/s_catanf.c (__catanf): Likewise.
43975         * math/s_catanh.c (__catanh): Likewise.
43976         * math/s_catanhf.c (__catanhf): Likewise.
43977         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43978         and redefine.
43979         (__catanhl): Handle arguments with large real or imaginary part
43980         separately without squaring.
43981         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43982         and redefine.
43983         (__catanl): Handle arguments with large real or imaginary part
43984         separately without squaring.
43985         * math/libm-test.inc (catan_test): Add more tests.
43986         (catanh_test): Likewise.
43987         * sysdeps/i386/fpu/libm-test-ulps: Update.
43988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43990 2013-04-27  Andreas Jaeger  <aj@suse.de>
43992         [BZ #15007]
43993         * stdlib/stdlib.h: Update guards for qecvt.
43994         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43995         <stdlib.h>.
43997 2013-04-27  Allan McRae  <allan@archlinux.org>
43999         * sysdeps/i386/fpu/libm-test-ulps: Update.
44001 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44003         [BZ #15406]
44004         * math/s_catan.c: Include <float.h>.
44005         (__catan): Ensure underflow exception occurs for underflowed
44006         result.
44007         * math/s_catanf.c: Include <float.h>.
44008         (__catanf): Ensure underflow exception occurs for underflowed
44009         result.
44010         * math/s_catanh.c: Include <float.h>.
44011         (__catanh): Ensure underflow exception occurs for underflowed
44012         result.
44013         * math/s_catanhf.c: Include <float.h>.
44014         (__catanhf): Ensure underflow exception occurs for underflowed
44015         result.
44016         * math/s_catanhl.c: Include <float.h>.
44017         (__catanhl): Ensure underflow exception occurs for underflowed
44018         result.
44019         * math/s_catanl.c: Include <float.h>.
44020         (__catanl): Ensure underflow exception occurs for underflowed
44021         result.
44022         * math/libm-test.inc (catan_test): Add more tests.
44023         (catanh_test): Likewise.
44025         [BZ #15405]
44026         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44027         underflowed result.
44028         * math/s_ccoshf.c (__ccoshf): Likewise.
44029         * math/s_ccoshl.c (__ccoshl): Likewise.
44030         * math/s_csin.c (__csin): Likewise.
44031         * math/s_csinf.c (__csinf): Likewise.
44032         * math/s_csinh.c (__csinh): Likewise.
44033         * math/s_csinhf.c (__csinhf): Likewise.
44034         * math/s_csinhl.c (__csinhl): Likewise.
44035         * math/s_csinl.c (__csinl): Likewise.
44036         * math/libm-test.inc (ccos_test): Add more tests.
44037         (ccosh_test): Likewise.
44038         (csin_test): Likewise.
44039         (csinh_test): Likewise.
44041 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44043         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44044         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44045         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44046         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44047         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44048         powerpc/power5+/fpu folders.
44049         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44052 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44056 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44058         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44059         additions to variable.
44060         [$(config-machine) = x86_64] (modules-names): Likewise.
44061         ($(objpfx)tst-audit3): Remove dependency.
44062         ($(objpfx)tst-audit3.out): Likewise.
44063         ($(objpfx)tst-audit4): Likewise.
44064         ($(objpfx)tst-audit4.out): Likewise.
44065         ($(objpfx)tst-audit5): Likewise.
44066         ($(objpfx)tst-audit5.out): Likewise.
44067         ($(objpfx)tst-audit6): Likewise.
44068         ($(objpfx)tst-audit6.out): Likewise.
44069         ($(objpfx)tst-audit7): Likewise.
44070         ($(objpfx)tst-audit7.out): Likewise.
44071         (tst-audit3-ENV): Remove variable.
44072         (tst-audit4-ENV): Likewise.
44073         (tst-audit5-ENV): Likewise.
44074         (tst-audit6-ENV): Likewise.
44075         (tst-audit7-ENV): Likewise.
44076         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44077         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44078         addition to variable.
44079         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44081         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44082         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44083         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44084         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44085         tst-audit3, tst-audit4 and tst-audit5.
44086         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44087         tst-audit6 and tst-audit7.
44088         [$(subdir) = elf] (modules-names): Add audit modules for those
44089         tests.
44090         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44091         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44092         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44093         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44094         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44095         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44096         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44097         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44098         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44099         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44100         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44101         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44102         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44103         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44104         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44105         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44106         Likewise.
44107         [$(subdir) = elf && $(config-cflags-avx) = yes]
44108         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44109         [$(subdir) = elf && $(config-cflags-avx) = yes]
44110         (CFLAGS-tst-auditmod4a.c): Likewise.
44111         [$(subdir) = elf && $(config-cflags-avx) = yes]
44112         (CFLAGS-tst-auditmod4b.c): Likewise.
44113         [$(subdir) = elf && $(config-cflags-avx) = yes]
44114         (CFLAGS-tst-auditmod6b.c): Likewise.
44115         [$(subdir) = elf && $(config-cflags-avx) = yes]
44116         (CFLAGS-tst-auditmod6c.c): Likewise.
44117         [$(subdir) = elf && $(config-cflags-avx) = yes]
44118         (CFLAGS-tst-auditmod7b.c): Likewise.
44119         * elf/tst-audit3.c: Move to ...
44120         * sysdeps/x86_64/tst-audit3.c: ... here.
44121         * elf/tst-audit4.c: Move to ...
44122         * sysdeps/x86_64/tst-audit4.c: ... here.
44123         * elf/tst-audit5.c: Move to ...
44124         * sysdeps/x86_64/tst-audit5.c: ... here.
44125         * elf/tst-audit6.c: Move to ...
44126         * sysdeps/x86_64/tst-audit6.c: ... here.
44127         * elf/tst-audit7.c: Move to ...
44128         * sysdeps/x86_64/tst-audit7.c: ... here.
44129         * elf/tst-auditmod3a.c: Move to ...
44130         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44131         * elf/tst-auditmod3b.c: Move to ...
44132         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44133         * elf/tst-auditmod4a.c: Move to ...
44134         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44135         * elf/tst-auditmod4b.c: Move to ...
44136         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44137         * elf/tst-auditmod5a.c: Move to ...
44138         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44139         * elf/tst-auditmod5b.c: Move to ...
44140         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44141         * elf/tst-auditmod6a.c: Move to ...
44142         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44143         * elf/tst-auditmod6b.c: Move to ...
44144         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44145         * elf/tst-auditmod6c.c: Move to ...
44146         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44147         * elf/tst-auditmod7a.c: Move to ...
44148         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44149         * elf/tst-auditmod7b.c: Move to ...
44150         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44152 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44154         [BZ #15366]
44155         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44156         define unconditionally.
44157         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44158         define unconditionally.
44159         (INT8_C, INT16_C, etc.): Likewise.
44161 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44163         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44164         __ehdr_start with hidden visibility.
44166         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44168 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44170         * math/libm-test.inc (cos_test): Use accurate hex constants.
44171         (sincost_test): Likewise.
44173 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44175         * math/libm-test.inc (catan_test): Add more tests.
44176         (catanh_test): Likewise.
44178         * math/s_catanf.c (__catanf): Use suffixed floating-point
44179         constants.
44180         * math/s_catanhf.c (__catanhf): Likewise.
44181         * math/s_catanhl.c (__catanhl): Likewise.
44182         * math/s_catanl.c (__catanl): Likewise.
44184         [BZ #15394]
44185         * math/s_catan.c (__catan): Calculate imaginary part of result
44186         with log1p not log unless computing log of number close to 0.
44187         * math/s_catanf.c (__catanf): Likewise.
44188         * math/s_catanl.c (__catanl): Likewise.
44189         * math/s_catanh.c (__catanh): Calculate real part of result with
44190         log1p not log unless computing log of number close to 0.
44191         * math/s_catanhf.c (__catanhf): Likewise.
44192         * math/s_catanhl.c (__catanhl): Likewise.
44193         * math/libm-test.inc (catan_test): Add more tests.
44194         (catanh_test): Likewise.
44195         * sysdeps/i386/fpu/libm-test-ulps: Update.
44196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44198 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44200         * benchtests/Makefile: Mention files in which fast and slow
44201         paths of math functions are implemented.
44203 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44205         * sysdeps/posix/timespec_get.c: New file.
44207 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44209         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44210         POWER.
44211         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44212         for POWER.
44213         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44214         powerpc/power5/fpu folders.
44215         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44216         * benchtests/Makefile: Add modf testcase.
44217         * benchtests/bench-modf.c: New file: Benchmark test for mo
44219 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44221         [BZ #14888]
44222         * time/Makefile (tests): Add tst-strptime-whitespace.
44223         * time/strptime_l.c (get_number): Use ISSPACE.
44224         (__strptime_internal): Likewise.
44225         * time/tst-strptime-whitespace.c: New test case.
44227 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44229         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44230         member.
44231         (_nss_files_init): Set it here.
44233 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44235         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44236         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44237         unsigned.
44239 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44241         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44243 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44246         size just once.
44248 2013-04-21  David S. Miller  <davem@davemloft.net>
44250         * po/ru.po: Update Russion translation from translation project.
44252 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44254         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44255         and setfsgid.
44257 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44259         * configure.in: Remove i386 configure warning. Remove i386 case.
44260         * configure: Regenerate.
44261         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44262         Add example to error message.
44263         * sysdeps/i386/configure: Regenerate.
44265 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44267         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44268         slowtan.
44269         * benchtests/cos-inputs: New file.
44270         * benchtests/slowcos-inputs: New file.
44271         * benchtests/slowcos.c: New file.
44272         * benchtests/slowtan-inputs: New file.
44273         * benchtests/slowtan.c: New file.
44274         * benchtests/tan-inputs: New file.
44276 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44278         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44279         considered kosher.
44281 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44283         * benchtests/Makefile: Include cppflags-iterator.mk to add
44284         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44286         * Makefile.in (bench-clean): New target.
44287         * benchtests/Makefile (bench-clean): Likewise.
44289 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44291         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44293 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44295         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44297 2013-04-15  Andreas Schwab  <schwab@suse.de>
44299         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44301         * nscd/pwdcache.c (cache_addpw): Likewise.
44302         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44303         more than recsize.
44305 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44307         * benchtests/Makefile (bench): Write all output to
44308         bench-out.tmp together.
44310 2013-04-15  Andreas Schwab  <schwab@suse.de>
44312         * nscd/nscd.c (main): Don't fork again after closing files.
44314 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44316         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44318         * benchtests/Rules (bench-deps): Collect dependencies into a
44319         single variable.  Add Makefile to dependencies.
44320         ($(objpfx)bench-%.c): Depend on bench-deps.
44322 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44323             Xavier Roche  <roche+kml2@exalead.com>
44325         [BZ #15361]
44326         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44327         just that it's a file descriptor.
44328         * manual/llio.texi (Synchronizing AIO Operations): Update description
44329         for EBADF error from aio_fsync.
44331 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44333         * Rules (bench): Move target definition...
44334         * benchtests/Makefile: ... here.
44336 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44338         * math/libm-test.inc (cos_test): Fix PI/2 test.
44339         (sincos_test): Likewise.
44340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44341         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44343 2013-04-11  Andreas Schwab  <schwab@suse.de>
44345         [BZ #13988]
44346         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44347         accept exponent character only when digits were seen.
44348         * stdio-common/Makefile (tests): Add bug26.
44349         * stdio-common/bug26.c: New file.
44351         [BZ #14293]
44352         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44353         non-freeable.
44355 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44357         * Makeconfig (rtld-prefix): Define built linker prefix.
44358         * Rules (run-bench): Use it.
44359         * math/Makefile (run-regen-ulps): Likewise.
44361         * Rules (bench): Remove eval.
44363 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44364             Roland McGrath  <roland@hack.frob.com>
44365             Ondrej Bilka  <neleai@seznam.cz>
44367         [BZ #15346]
44368         * time/getdate.c: Include ctype.h and alloca.h.
44369         (__getdate_r): Trim leading and trailing spaces of input.
44370         * time/tst-getdate.c (tests): Add tests with leading and
44371         trailing spaces.
44373 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44375         [BZ #14280]
44376         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44377         when computing value.
44379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44381         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44382         Use testrun.sh to run libm tests.
44384         [BZ #15309]
44385         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44387 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44389         [BZ #15264]
44390         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44392 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44394         * Makefile.in (regen-ulps): New target.
44395         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44396         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44397         [ifneq (no,$(PERL)] (regen-ulps): New target.
44398         [ifeq (no,$(PERL)] (regen-ulps): New target.
44399         * math/libm-test.inc (ulps_file_name): Define.
44400         (output_dir): New variable.
44401         (options): Add "output-dir" option.
44402         (parse_opt): Handle 'o' case.
44403         (main): If output_dir is non-NULL use it as a prefix
44404         otherwise use "".
44405         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44409         [BZ #10060, #10062]
44410         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44411         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44412         fail configure if __sync_val_compare_and_swap is not inlined.
44413         * sysdeps/i386/configure: Regenerate.
44414         * configure.in: Build for i686 when configured for i386.
44415         * configure: Regenerate.
44416         * README: Remove i386 reference.
44418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44420         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44421         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44423 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44425         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44426         (lmsnanval): New variables.
44427         (F): Add conversion tests.
44428         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44429         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44431         * stdio-common/tstdiomisc.c (F): Properly collect individual
44432         tests' results.
44434         [BZ #14686, #15336]
44435         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44436         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44437         Instead, use input NaN values or generate a qNaN by arithmetic
44438         operation.  Also fix bugs to comply with the standard.
44439         * math/libm-test.inc (remainder_test): Add more tests.
44441         [BZ #15335, #15342]
44442         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44444         input NaN values or generate a qNaN by arithmetic operation.
44446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44447         unreachable code.
44449         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44450         definitions.
44452 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #14478]
44455         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44456         underflowed result.
44457         * math/s_cexpf.c (__cexpf): Likewise.
44458         * math/s_cexpl.c (__cexpl): Likewise.
44459         * math/libm-test.inc (cexp_test): Add more tests.
44461 2013-04-03  Andreas Schwab  <schwab@suse.de>
44463         [BZ #15330]
44464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44465         order arrays from heap if bigger than alloca cutoff.
44467 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44469         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44470         (SNAN_TESTS_double): Refer to GCC PR56831.
44471         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44472         GCC PR56828.
44474 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * Rules (bench): Move bench.out after the run is complete.
44478         * Rules (bench): Echo currently running benchmark.
44480         * benchtests/Makefile (bench): Add atan and slowatan.
44481         * benchtests/atan-inputs: New file.
44482         * benchtests/slowatan-inputs: New file.
44483         * benchtests/slowatan.c: New file.
44485         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44487         its value.
44489         [BZ #15305]
44490         * sysdeps/unix/sysv/linux/kernel-features.h
44491         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44492         __ASSUME_XFS_RESTRICTED_CHOWN.
44493         * sysdeps/unix/sysv/linux/pathconf.c
44494         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44495         Save and restore errno.
44497 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44499         [BZ #15327]
44500         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44501         arguments using __kernel_casinh.
44502         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44503         arguments using __kernel_casinhf.
44504         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44505         arguments using __kernel_casinhl.
44506         * math/libm-test.inc (cacosh_test): Add more tests.
44507         * sysdeps/i386/fpu/libm-test-ulps: Update.
44508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44510 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44512         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44515         * bench/Makefile (bench): Add sin and slowsin.
44516         * benchtests/sin-inputs: New file.
44517         * benchtests/slowsin-inputs: New file.
44518         * benchtests/slowsin.c: New file.
44520         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44521         (bench): Add slowexp and slowpow.
44522         (exp-ITER): Increase iterations.
44523         (pow-ITER): Likewise.
44524         * benchtests/exp-inputs: Change input.
44525         * benchtests/pow-inputs: Likewise.
44526         * benchtests/slowexp-inputs: New file.
44527         * benchtests/slowexp.c: New file.
44528         * benchtests/slowpow-inputs: New file.
44529         * benchtests/slowpow.c: New file.
44531 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44533         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44534         instructions.
44535         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44536         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44537         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44538         * benchtests/Makefile: Add rint benchtest.
44539         * benchtests/rint-inputs: Input for rint benchtest.
44541 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44543         * Versions.def (libm): Add GLIBC_2.18.
44544         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44545         hidden libm prototypes.
44546         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44547         * math/Makefile (libm-calls): Add s_issignaling.
44548         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44549         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44550         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44551         declaration.
44552         * math/math.h [__USE_GNU] (issignaling): New macro.
44553         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44554         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44555         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44556         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44557         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44558         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44559         * manual/arith.texi (issignaling): New section.
44560         * manual/libm-err-tab.pl (@all_functions): Update comment.
44561         * math/gen-libm-test.pl (parse_args): Apply special handling for
44562         issignaling.
44563         * math/libm-test.inc (print_float, issignaling_test): New
44564         functions.
44565         (check_float_internal): Add issignaling checks.
44566         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44567         default definition.
44568         * sysdeps/powerpc/math-tests.h: New file.
44569         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44570         tests.
44571         * math/test-snan.c (TEST_FUNC): Likewise.
44573 2013-03-30  David S. Miller  <davem@davemloft.net>
44575         * po/de.po: Update from translation team.
44577 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44579         [BZ #10357]
44580         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44581         imaginary part less than 1.0 and real part less than 0.5
44582         specially.
44583         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44584         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44585         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44586         (cacos_test): Add more tests.
44587         (casin_test): Likewise.
44588         (casinh_test): Likewise.
44589         * sysdeps/i386/fpu/libm-test-ulps: Update.
44590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44592 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44594         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44595         ONE with its value.
44597         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44598         (__pow_mp): Replace ONE and MONE with their values.
44599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44601         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44602         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44606         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44608         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44609         (__pow_mp): Replace ZERO and MZERO with their values.
44610         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44611         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44614         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44615         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44616         (__sqr): Likewise.
44618         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44620         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44622 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44624         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44625         Declare with __attribute__ ((weak)).
44626         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44627         Call __call_tls_dtors only if it's not NULL.
44629 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44631         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44632         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44633         magic __ehdr_start linker symbol if it's defined.
44634         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44635         them up here if it was already done.
44637         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44638         (_dl_aux_init): Use const in cast when setting it.
44639         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44640         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44641         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44643         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44644         Declare them here.
44645         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44646         * csu/libc-tls.c: Nor here.
44647         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44649         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44650         (__libc_message): Never call vsyslog.
44652 2013-03-28  Alan Modra  <amodra@gmail.com>
44654         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44655         Define as empty.
44656         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44657         Likewise.
44659 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44661         [BZ #15214]
44662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44663         underflow.
44664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44666 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44668         [BZ #15304]
44669         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44670         Don't add gid passed as argument.
44672         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44674 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44676         [BZ #15307]
44677         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44678         imaginary part between 1.0 and 1.5 and real part less than 0.5
44679         specially.
44680         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44681         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44682         * math/libm-test.inc (cacos_test): Add more tests.
44683         (casin_test): Likewise.
44684         (casinh_test): Likewise.
44685         * sysdeps/i386/fpu/libm-test-ulps: Update.
44686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44688 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44690         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44691         constants.
44692         (norm): Likewise.
44693         (denorm): Likewise.
44694         (__dbl_mp): Likewise.
44695         (add_magnitudes): Likewise.
44696         (sub_magnitudes): Likewise.
44697         (__add): Likewise.
44698         (__sub): Likewise.
44699         (__mul): Likewise.
44700         (__sqr): Likewise.
44701         (__inv): Likewise.
44702         (__dvd): Likewise.
44704         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44705         commented code.
44706         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44707         (__dubcos): Likewise.
44708         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44709         (__ieee754_acos): Likewise.
44710         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44711         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44712         (__exp1): Likewise.
44713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44715         (log1): Likewise.
44716         (my_log2): Likewise.
44717         (checkint): Likewise.
44718         * sysdeps/ieee754/dbl-64/e_remainder.c
44719         (__ieee754_remainder): Likewise.
44720         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44722         (bsloww): Likewise.
44723         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44725         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44727         MANTISSA_STORE_T to store computations on mantissa.  Use
44728         macros for rounding and division.
44729         (denorm): Likewise.
44730         (__dbl_mp): Likewise.
44731         (add_magnitudes): Likewise.
44732         (sub_magnitudes): Likewise.
44733         (__mul): Likewise.
44734         (__sqr): Likewise.
44735         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44736         powers of two in terms of TWOPOW macro.
44737         (mp_no): Make type of mantissa as MANTISSA_T.
44738         [!RADIXI]: Define RADIXI.
44739         [!TWO52]: Define TWO52.
44740         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44742 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44744         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44745         llroundl symbol when building for PPC32.
44747 2013-03-24  Mark H Weaver  <mhw@netris.org>
44749         * manual/arith.texi (Normalization Functions): Fix prototypes for
44750         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44752 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44754         [BZ #13889]
44755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44756         high value to check if expl overflow.
44757         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44758         to check for underflow and overflow.
44759         * math/libm-test.inc: Add exp test.
44761 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44763         [BZ #11120]
44764         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44765         with NOT_IN_libc.
44767 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44769         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44770         symbol.
44772 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44774         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44775         wrap blocks consisting of several statements.
44777         * sysdeps/generic/math-tests.h: New file.
44778         * sysdeps/i386/fpu/math-tests.h: Likewise.
44779         * math/test-snan.c: Include it.
44780         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44782 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44784         [BZ #15285]
44785         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44786         (__ieee754_j0l): Do not improve calculations using cos of twice
44787         input for inputs above LDBL_MAX / 2.0L.
44788         (__ieee754_y0l): Likewise.
44789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44790         (__ieee754_j1l): Do not improve calculations using cos of twice
44791         input for inputs above LDBL_MAX / 2.0L.
44792         (__ieee754_y1l): Likewise.
44793         * math/libm-test.inc (j0_test): Add another test.
44794         (j1_test): Likewise.
44795         (y0_test): Likewise.
44796         (y1_test): Likewise.
44797         * sysdeps/i386/fpu/libm-test-ulps: Update.
44799 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44801         * Rules ($(objpfx)bench-%.c): Include code from a C source
44802         file.
44804 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44806         [BZ #15287]
44807         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44808         imaginary part 1.0 and real part less than 0.5 specially.
44809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44811         * math/libm-test.inc (cacos_test): Add more tests.
44812         (casin_test): Likewise.
44813         (casinh_test): Likewise.
44814         * sysdeps/i386/fpu/libm-test-ulps: Update.
44815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44817 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44819         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44820         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44822 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44824         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44825         * config.make.in (config-cflags-sse4): Remove variable.
44826         (config-cflags-avx): Likewise.
44827         (config-cflags-sse2avx): Likewise.
44828         (config-cflags-novzeroupper): Likewise.
44829         (config-asflags-i686): Likewise.
44830         (have-mfma4): Likewise.
44831         (have-as-vis3): Likewise.
44832         (MIG): Likewise.
44833         * configure.in (MIG): Do not AC_SUBST.
44834         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44835         (libc_cv_cc_sse4): Do not AC_SUBST.
44836         (libc_cv_cc_avx): Likewise.
44837         (libc_cv_cc_sse2avx): Likewise.
44838         (libc_cv_cc_novzeroupper): Likewise.
44839         (libc_cv_cc_fma4): Likewise.
44840         (libc_cv_as_i686): Likewise.
44841         (libc_cv_sparc_as_vis3): Likewise.
44842         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44843         LIBC_CONFIG_VAR.
44844         (config-asflags-i686): Likewise.
44845         (config-cflags-avx): Likewise.
44846         (config-cflags-sse2avx): Likewise.
44847         (have-mfma4): Likewise.
44848         (config-cflags-novzeroupper): Likewise.
44849         * sysdeps/mach/configure.in (MIG): Likewise.
44850         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44851         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44852         LIBC_CONFIG_VAR.
44853         (config-cflags-avx): Likewise.
44854         (config-cflags-sse2avx): Likewise.
44855         (have-mfma4): Likewise.
44856         (config-cflags-novzeroupper): Likewise.
44857         * configure: Regenerated.
44858         * sysdeps/i386/configure: Likewise.
44859         * sysdeps/mach/configure: Likewise.
44860         * sysdeps/sparc/configure: Likewise.
44861         * sysdeps/x86_64/configure: Likewise.
44863 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44865         [BZ #14812]
44866         * locale/programs/localedef.c (options): Put N_ translation marker
44867         on argument names, not just descriptions.
44869 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44871         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44873 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44875         [BZ #14176]
44876         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44878 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44880         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44881         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44882         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44883         [!BEFORE_ABORT] (before_abort): New function.
44884         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44885         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44886         (writev_for_fatal): New function.
44887         (WRITEV_FOR_FATAL): New macro; call that.
44888         (backtrace_and_maps): New function.
44889         (BEFORE_ABORT): New macro; call that.
44890         (struct str_list): Type removed.
44891         (__libc_message, __libc_fatal): Functions removed.
44892         Include <sysdeps/posix/libc_fatal.c> instead.
44894 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44896         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44897         constants.
44898         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44899         double constants.
44901 2013-03-19  Andreas Schwab  <schwab@suse.de>
44903         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44904         * sysdeps/gnu/configure: Regenerate.
44906         * configure.in: Substitute libc_cv_rtlddir.
44907         * configure: Regenerate.
44908         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44909         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44910         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44911         * elf/Makefile (install-others, CFLAGS-interp.c)
44912         (ldso_install, common-ldd-rewrite): Likewise.
44913         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44914         $(inst_slibdir)/$(rtld-installed-name).
44915         * scripts/rellns-sh: Add -p option.
44916         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44917         for source.
44919 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44921         * manual/nptl.texi: Renamed to ...
44922         * manual/threads.texi: ... this.
44923         * manual/Makefile (chapters): Update.
44925 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44927         [BZ #14812]
44928         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44929         on argument names, not just descriptions.
44930         * malloc/memusagestat.c (options): Likewise.
44931         * nss/getent.c (options): Likewise.
44933 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44935         [BZ #14812]
44936         * iconv/iconv_prog.c (options): Put N_ translation marker
44937         on argument names, not just descriptions.
44938         * iconv/iconvconfig.c (options): Likewise.
44940 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44942         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44943         implementation which is faster on all x86_64 architectures.
44944         Tested on AMD, Intel Nehalem, SNB, IVB.
44945         * sysdeps/x86_64/strnlen.S: Likewise.
44947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44948         Remove all multiarch strlen and strnlen versions.
44949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44950         Remove strlen and strnlen related parts.
44952         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44953         Inline strlen part.
44954         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44956         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44957         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44958         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44959         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44960         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44961         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44963 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44965         * manual/memory.texi (Malloc Tunable Parameters):
44966         Sort parameters alphabetically. Add comments for missing entries.
44968 2013-03-17  David S. Miller  <davem@davemloft.net>
44970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44972 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44974         [BZ #15283]
44975         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44976         for arguments at most half maximum finite value.
44977         * math/libm-test.inc (j0_test): Add more tests.
44978         (j1_test): Likewise.
44979         (y0_test): Likewise.
44980         (y1_test): Likewise.
44981         * sysdeps/i386/fpu/libm-test-ulps: Update.
44982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44984         [BZ #14155]
44985         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44986         1 / x and functions P and Q for arguments above 0x1p256L.
44987         (__ieee754_y0l): Likewise.
44988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44989         (__ieee754_y1l): Likewise.
44990         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44991         (j1_test): Likewise.
44992         (y0_test): Likewise.
44993         (y1_test): Likewise.
44995 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44997         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44998         variable.
45000 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45002         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45003         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45004         zero since it's initialized to EXEC_PAGESIZE.
45006         * sysdeps/unix/sysv/linux/ldsodefs.h
45007         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45008         * sysdeps/generic/ldsodefs.h: ... here.
45010 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45012         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45014         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45015         math/test-snan.c.
45016         * math/test-snan.c: Renamed from
45017         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45018         * math/Makefile (tests): Add test-snan.
45019         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45020         test-powerpc-snan.
45022         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45023         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45024         functions.
45025         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45026         __builtin_nan family of functions.
45027         * math/libm-test.inc (initialize): Initialize qnan_value with
45028         __builtin_nan family of functions.
45029         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45030         Remove variables.
45031         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45032         Remove functions.
45033         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45034         storage class.  Initialize qNaN_var and sNaN_var with
45035         __builtin_nan and __builtin_nans families of functions,
45036         respectively.
45038         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45039         (sqrt_test): Remove duplicate test with qNaN input.
45040         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45041         (round_test, signbit_test, significand_test): Note missing +/-Inf
45042         as well as qNaN tests.
45044         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45045         qNaN_var.  Fix a few strings, too.
45046         * math/libm-test.inc (nan_value): Rename to qnan_value.
45047         * math/gen-libm-test.pl (%beautify): Adjust to that.
45048         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45049         * math/test-misc.c (main): Likewise.
45050         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45051         to __qnan_bytes, and __qnan_union, respectively.
45052         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45053         Likewise.
45054         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45055         and lqnanval, respectively.
45056         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45057         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45058         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45059         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45061         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45062         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45063         doubles.
45065         * math/test-misc.c (main): Fix copy'n'pastos.
45066         * misc/tst-efgcvt.c (special): Likewise.
45068         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45069         Remove declarations.
45071 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45073         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45074         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45075         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45076         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45078 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45081         macro to return vdso values correctly in IFUNC implementations.
45082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45083         Optimization by using IFUNC.
45085 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45086             Richard Henderson  <rth@redhat.com>
45087             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45089         * Makefile.in (bench): New target.
45090         * NEWS: Mention the benchmark framework.
45091         * Rules (bench): Likewise.
45092         (binaries-bench): Generate binaries for functions to
45093         benchmark.
45094         * benchtests/Makefile: New makefile for benchmark tests.
45095         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45096         programs.
45097         * benchtests/exp-inputs: New input file for EXP function.
45098         * benchtests/pow-inputs: New input file for POW function.
45099         * scripts/bench.pl: New script to generate source files for
45100         benchmark programs.
45102 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45104         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45106         computations on mantissa.  Use macros for rounding and
45107         division.
45108         (denorm): Likewise.
45109         (__dbl_mp): Likewise.
45110         (add_magnitudes): Likewise.
45111         (sub_magnitudes): Likewise.
45112         (__mul): Likewise.
45113         (__sqr): Likewise.
45114         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45115         powers of two in terms of TWOPOW macro.
45116         (mp_no): Make type of mantissa as MANTISSA_T.
45117         [!RADIXI]: Define RADIXI.
45118         [!TWO52]: Define TWO52.
45119         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45121         * manual/nptl.texi (cindex): Modify threads to pthreads.
45123 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45125         * sysdeps/x86_64/preconfigure: Regenerated.
45127 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45129         [BZ #14155]
45130         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45131         0x1p28 and above.
45132         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45133         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45134         0x1p28 and above.
45135         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45136         * math/libm-test.inc (j0_test): Do not allow one spurious
45137         underflow exception.
45138         (y1_test): Likewise.
45140 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45142         * manual/Makefile (chapters): Add nptl.
45143         * manual/debug.texi (Debugging Support): Add link to Threads
45144         chapter.
45145         * manual/nptl.texi: New file.
45147         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45149 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45151         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45152         for non-NULL pointer before the memory validity test. Pointed
45153         out by Holger Brunck <holger.brunck@keymile.com>.
45155 2013-03-13  Andreas Schwab  <schwab@suse.de>
45157         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45158         instead of .os.
45160 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45162         * timezone/zic.c: Update from tzcode 2013b.
45164 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45166         * manual/install.texi (Configuring and compiling):
45167         Mention i686 and i586.
45168         * INSTALL: Regenerate.
45170 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45172         * sysdeps/init_array/elf-init.c: New file.
45173         * csu/elf-init.c
45174         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45175         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45177         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45178         __gmon_start__ as global, but as static with a .preinit_array pointer.
45179         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45180         * sysdeps/init_array/crti.S: New file, empty except for comments.
45181         * sysdeps/init_array/crtn.S: Likewise.
45183 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45185         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45186         definining bcopy.
45187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45188         Remove Prefer_SSE_for_memop.
45189         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45190         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45191         HAS_PREFER_SSE_FOR_MEMOP.
45192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45193         memset-x86-64.
45194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45195         Remove bzero, memset ifunc support.
45196         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45197         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45201 2013-03-11  Andreas Schwab  <schwab@suse.de>
45203         [BZ #15234]
45204         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45205         by SHLIB_COMPAT.
45206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45207         (GLIBC_2.16): Remove pthread_atfork.
45209 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45211         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45212         (ptestcases.h): Likewise.
45214 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45216         * Makeconfig ($(common-objpfx)config.status): Depend on
45217         sysdeps/*/preconfigure{,.in} too.
45219 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45221         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45222         (__free_hook): Use void * instead of __malloc_ptr_t.
45223         (__malloc_hook): Likewise.
45224         (__realloc_hook): Likewise.
45225         (__memalign_hook): Likewise.
45226         (__after_morecore_hook): Likewise.
45227         * malloc/arena.c (save_malloc_hook): Likewise.
45228         (save_free_hook): Likewise.
45229         * malloc/hooks.c (malloc_hook_ini): Likewise.
45230         (realloc_hook_ini): Likewise.
45231         (memalign_hook_ini): Likewise.
45232         * malloc/malloc.c (malloc_hook_ini): Likewise.
45233         (realloc_hook_ini): Likewise.
45234         (memalign_hook_ini): Likewise.
45235         (__free_hook): Likewise.
45236         (__malloc_hook): Likewise.
45237         (__realloc_hook): Likewise.
45238         (__memalign_hook): Likewise.
45239         (__libc_malloc): Likewise.
45240         (__libc_free): Likewise.
45241         (__libc_realloc): Likewise.
45242         (__libc_memalign): Likewise.
45243         (__libc_valloc): Likewise.
45244         (__libc_pvalloc): Likewise.
45245         (__libc_calloc): Likewise.
45246         (__posix_memalign): Likewise.
45247         * malloc/morecore.c (__sbrk): Likewise.
45248         (__default_morecore): Likewise.
45250         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45252         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45253         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45254         __malloc_ptrdiff_t.
45256         * malloc/malloc.h (__malloc_size_t): Remove macro.
45257         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45258         __malloc_size_t.
45259         (old_memalign_hook): Likewise.
45260         (old_realloc_hook): Likewise.
45261         (struct hdr): Likewise.
45262         (flood): Likewise.
45263         (mallochook): Likewise.
45264         (memalignhook): Likewise.
45265         (reallochook): Likewise.
45266         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45267         (tr_old_realloc_hook): Likewise.
45268         (tr_old_memalign_hook): Likewise.
45269         (tr_mallochook): Likewise.
45270         (tr_reallochook): Likewise.
45271         (tr_memalignhook): Likewise.
45273 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45276         default_ldbl_pack and using as default implementation.
45277         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45278         implementation.
45279         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45280         redundant definition.
45281         (ldbl_insert_mantissa): Likewise.
45282         (ldbl_canonicalize): Likewise.
45283         (ldbl_nearbyint): Likewise.
45284         (ldbl_pack): Rename to ldbl_pack_ppc.
45285         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45286         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45287         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45289 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45292         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45293         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45294         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45297         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45298         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45300 2013-03-07  Andreas Jaeger  <aj@suse.de>
45302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45303         bits/mman-linux.h.
45305 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45307         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45308         Include mpa.h and declare __MPEXP.
45309         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45310         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45311         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45312         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45313         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45314         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45315         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45317         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45318         (__slowpow): Use long double EXPL and LOGL functions to
45319         compute POW.
45320         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45321         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45323         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45324         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45328         intermediate variable to calculate exponent.
45329         (__sqr): Likewise.
45330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45331         Likewise.
45332         (__sqr): Likewise.
45334         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45335         [!NO__SQR]: Define __sqr.
45336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45337         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45338         sysdeps/ieee754/dbl-64/mpa.c.
45339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45341         [BZ #12723]
45342         * posix/Makefile (tests): Add tst-pathconf.
45343         * posix/tst-pathconf.c: New test case.
45344         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45345         _PC_PIPE_BUF.
45346         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45348 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45350         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45352 2013-03-06  Andreas Jaeger  <aj@suse.de>
45354         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45355         definition via __MAP_ANONYMOUS.
45357         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45358         it's not part of Linux headers.
45360         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45361         (MAP_HUGE_MASK): Define.
45363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45364         Define.
45365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45366         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45367         Define.
45368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45369         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45370         Define.
45371         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45373         Define.
45374         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45376         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45377         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45378         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45379         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45380         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45381         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45383         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45384         Handle f2fs.
45386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45387         Handle f2fs and efivarfs.
45389         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45390         f2fs.
45392         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45393         (EFIVARFS_MAGIC): Add.
45394         (F2FS_LINK_MAX): Add.
45396 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45398         * stdio-common/vfprintf.c: Replace __builtin_expect with
45399         __glibc_unlikely.
45401 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45403         [BZ #13550]
45404         * sysdeps/generic/bp-sym.h: Remove file.
45405         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45407         <bp-sym.h> and <bp-asm.h>.
45408         (__longjmp): Don't use BP_SYM.
45409         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45410         and <bp-asm.h>.
45411         (memcpy): Don't use BP_SYM.
45412         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45413         <bp-sym.h> and <bp-asm.h>.
45414         (memcpy): Don't use BP_SYM.
45415         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45416         <bp-asm.h>.
45417         (memcpy): Don't use BP_SYM.
45418         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45419         <bp-asm.h>.
45420         (memset): Don't use BP_SYM.
45421         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45422         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45423         (__bzero): Don't use BP_SYM.
45424         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45425         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45427         <bp-sym.h> and <bp-asm.h>.
45428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45429         pointers.
45430         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45431         <bp-sym.h> and <bp-asm.h>.
45432         (memcpy): Don't use BP_SYM.
45433         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45434         <bp-sym.h> and <bp-asm.h>.
45435         (memset): Don't use BP_SYM.
45436         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45437         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45438         (__bzero): Don't use BP_SYM.
45439         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45440         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45442         <bp-sym.h> and <bp-asm.h>.
45443         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45444         pointers.
45445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45446         <bp-sym.h> and <bp-asm.h>.
45447         (memcpy): Don't use BP_SYM.
45448         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45449         <bp-sym.h> and <bp-asm.h>.
45450         (memset): Don't use BP_SYM.
45451         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45452         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45453         (__bzero): Don't use BP_SYM.
45454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45457         <bp-sym.h> and <bp-asm.h>.
45458         (__memchr): Don't use BP_SYM.
45459         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45460         <bp-sym.h> and <bp-asm.h>.
45461         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45462         pointers.
45463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45464         <bp-sym.h> and <bp-asm.h>.
45465         (memcpy): Don't use BP_SYM.
45466         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45467         <bp-sym.h> and <bp-asm.h>.
45468         (__mempcpy): Don't use BP_SYM.
45469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45470         <bp-sym.h> and <bp-asm.h>.
45471         (__memrchr): Don't use BP_SYM.
45472         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45473         <bp-sym.h> and <bp-asm.h>.
45474         (memset): Don't use BP_SYM.
45475         (__bzero): Likewise.
45476         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45477         <bp-sym.h> and <bp-asm.h>.
45478         (__rawmemchr): Don't use BP_SYM.
45479         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45480         <bp-sym.h> and <bp-asm.h>.
45481         (__STRCMP): Don't use BP_SYM.
45482         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45483         <bp-sym.h> and <bp-asm.h>.
45484         (strchr): Don't use BP_SYM.
45485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45486         <bp-sym.h> and <bp-asm.h>.
45487         (__strchrnul): Don't use BP_SYM.
45488         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45489         <bp-sym.h> and <bp-asm.h>.
45490         (strlen): Don't use BP_SYM.
45491         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45492         <bp-sym.h> and <bp-asm.h>.
45493         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45494         pointers.
45495         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45496         <bp-sym.h> and <bp-asm.h>.
45497         (__strnlen): Don't use BP_SYM.
45498         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45499         <bp-sym.h> and <bp-asm.h>.
45500         (__GI__setjmp): Don't use BP_SYM.
45501         (_setjmp): Likewise.
45502         (__sigsetjmp): Likewise.
45503         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45504         (L(start_addresses)): Don't use BP_SYM.
45505         (_start): Likewise.
45506         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45507         <bp-asm.h>.
45508         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45509         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45510         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45511         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45512         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45513         <bp-asm.h>.
45514         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45515         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45516         about bounded pointers.
45517         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45518         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45519         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45520         <bp-asm.h>.
45521         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45522         about bounded pointers.  Remove GKM FIXME comments.
45523         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45524         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45525         <bp-asm.h>.
45526         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45527         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45528         Remove GKM FIXME comments.
45529         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45530         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45531         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45532         <bp-asm.h>.
45533         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45534         about bounded pointers.  Remove GKM FIXME comment.
45535         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45536         and <bp-asm.h>.
45537         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45538         pointers.
45539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45540         <bp-sym.h> and <bp-asm.h>.
45541         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45543         <bp-sym.h> and <bp-asm.h>.
45544         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45545         comment.
45547 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45549         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45550         call free(NULL).
45552 2013-03-05  David S. Miller  <davem@davemloft.net>
45554         * po/es.po: Update from translation team.
45556 2013-03-05  Andreas Jaeger  <aj@suse.de>
45558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45559         <bits/mman-linux.h>.
45560         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45561         is fine.
45562         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45563         <bits/mman-linux.h> to end of file.
45564         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45565         is fine.
45566         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45567         <bits/mman-linux.h> to end of file.
45568         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45569         is fine.
45570         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45571         <bits/mman-linux.h> to end of file.
45573         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45574         (MCL_CURRENT, MCL_FUTURE): Define here.
45576 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45578         [BZ #15232]
45579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45580         attribute_hidden.
45581         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45583 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45586         fourth parameter needed for rt_sigprocmask syscall.
45587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45588         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45589         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45591         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45592         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45594 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45596         [BZ #13550]
45597         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45598         comment about bounded pointers.
45599         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45600         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45602 2013-03-04  Andreas Jaeger  <aj@suse.de>
45604         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45605         common definitions.
45607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45608         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45609         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45610         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45614 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45616         [BZ #15055]
45617         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45618         __ieee754_sqrl instead of __sqrl.
45620 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45622         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45623         * sysdeps/powerpc/fpu_control.h: ... here.
45624         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45625         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45626         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45627         * sysdeps/powerpc/bits/mathinline.h: ... here.
45629 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45631         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45632         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45633         to just [NEED_DL_SYSINFO_DSO].
45634         * elf/dl-support.c: Likewise.
45635         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45636         * elf/rtld.c (dl_main): Likewise.
45637         * elf/setup-vdso.h (setup_vdso): Likewise.
45638         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45639         * sysdeps/unix/sysv/linux/dl-sysdep.c
45640         (_dl_discover_osversion): Likewise.
45642 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45644         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45645         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45647 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45649         * NEWS: Mention libm performance improvements and non-x86 PI
45650         futex support.
45652         * csu/libc-start.c (__pthread_initialize_minimal): Change
45653         function arguments.
45654         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45656 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45658         [BZ #13550]
45659         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45660         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45661         <bp-sym.h> and <bp-asm.h>.
45662         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45663         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45664         and <bp-asm.h>.
45665         (memcpy): Don't use BP_SYM.
45666         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45667         <bp-asm.h>.
45668         (__mpn_add_n): Don't use BP_SYM.
45669         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45670         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45671         and <bp-asm.h>.
45672         (__mpn_addmul_1): Don't use BP_SYM.
45673         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45674         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45675         <bp-sym.h>.
45676         (_setjmp): Don't use BP_SYM.
45677         (__novmx_setjmp): Likewise.
45678         (__GI__setjmp): Likewise.
45679         (__vmx_setjmp): Likewise.
45680         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45681         <bp-sym.h>.
45682         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45683         (__bzero): Don't use BP_SYM.
45684         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45685         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45686         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45687         <bp-sym.h> and <bp-asm.h>.
45688         (memcpy): Don't use BP_SYM.
45689         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45690         <bp-sym.h> and <bp-asm.h>.
45691         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45693         <bp-sym.h> and <bp-asm.h>.
45694         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45695         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45696         <bp-asm.h>.
45697         (__mpn_lshift): Don't use BP_SYM.
45698         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45699         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45700         <bp-asm.h>.
45701         (memset): Don't use BP_SYM.
45702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45704         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45705         <bp-asm.h>.
45706         (__mpn_mul_1): Don't use BP_SYM.
45707         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45709         <bp-sym.h> and <bp-asm.h>.
45710         (memcmp): Don't use BP_SYM.
45711         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45712         <bp-sym.h> and <bp-asm.h>.
45713         (memcpy): Don't use BP_SYM.
45714         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45715         <bp-sym.h> and <bp-asm.h>.
45716         (memset): Don't use BP_SYM.
45717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45718         <bp-sym.h> and <bp-asm.h>.
45719         (strncmp): Don't use BP_SYM.
45720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45721         <bp-sym.h> and <bp-asm.h>.
45722         (memcpy): Don't use BP_SYM.
45723         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45724         <bp-sym.h> and <bp-asm.h>.
45725         (memset): Don't use BP_SYM.
45726         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45727         <bp-sym.h> and <bp-asm.h>.
45728         (__memchr): Don't use BP_SYM.
45729         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45730         <bp-sym.h> and <bp-asm.h>.
45731         (memcmp): Don't use BP_SYM.
45732         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45733         <bp-sym.h> and <bp-asm.h>.
45734         (memcpy): Don't use BP_SYM.
45735         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45736         <bp-sym.h> and <bp-asm.h>.
45737         (__mempcpy): Don't use BP_SYM.
45738         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45739         <bp-sym.h> and <bp-asm.h>.
45740         (__memrchr): Don't use BP_SYM.
45741         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45742         <bp-sym.h> and <bp-asm.h>.
45743         (memset): Don't use BP_SYM.
45744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45745         <bp-sym.h> and <bp-asm.h>.
45746         (__rawmemchr): Don't use BP_SYM.
45747         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45748         <bp-sym.h> and <bp-asm.h>.
45749         (__STRCMP): Don't use BP_SYM.
45750         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45751         <bp-sym.h> and <bp-asm.h>.
45752         (strchr): Don't use BP_SYM.
45753         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45754         <bp-sym.h> and <bp-asm.h>.
45755         (__strchrnul): Don't use BP_SYM.
45756         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45757         <bp-sym.h> and <bp-asm.h>.
45758         (strlen): Don't use BP_SYM.
45759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45760         <bp-sym.h> and <bp-asm.h>.
45761         (strncmp): Don't use BP_SYM.
45762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45763         <bp-sym.h> and <bp-asm.h>.
45764         (__strnlen): Don't use BP_SYM.
45765         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45766         <bp-asm.h>.
45767         (__mpn_rshift): Don't use BP_SYM.
45768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45769         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45770         <bp-sym.h> and <bp-asm.h>.
45771         (__sigsetjmp): Don't use BP_SYM.
45772         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45773         (L(start_addresses)): Don't use BP_SYM.
45774         (_start): Likewise.
45775         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45776         <bp-asm.h>.
45777         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45778         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45779         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45780         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45781         <bp-asm.h>.
45782         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45785         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45786         <bp-asm.h>.
45787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45788         comments.
45789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45790         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45791         <bp-asm.h>.
45792         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45793         FIXME comments.
45794         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45795         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45796         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45797         <bp-asm.h>.
45798         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45799         comment.
45800         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45801         and <bp-asm.h>.
45802         (strncmp): Don't use BP_SYM,
45803         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45804         <bp-asm.h>.
45805         (__mpn_sub_n): Don't use BP_SYM.
45806         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45807         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45808         and <bp-asm.h>.
45809         (__mpn_submul_1): Don't use BP_SYM.
45810         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45812         <bp-sym.h> and <bp-asm.h>.
45813         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45815         <bp-sym.h> and <bp-asm.h>.
45816         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45817         comment.
45819 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45822         Use ZK to minimize writes to Z.
45823         (sub_magnitudes): Simplify code a bit.
45824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45825         Use ZK to minimize writes to Z.
45826         (sub_magnitudes): Simplify code a bit.
45828 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45830         * csu/gmon-start.c: Add special exception to license text.
45832 2013-02-27  Richard Henderson  <rth@redhat.com>
45834         * scripts/config.guess: Update from config.git.
45835         * scripts/config.sub: Likewise.
45837 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45841         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45843         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45845         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45847         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45849 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45851         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45852         [$(build-shared = yes].
45854 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45856         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45857         (__mul): Reduce iterations for calculating mantissa.
45859         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45860         MPTWO.
45861         (__mpranred): Likewise.
45863         [BZ #15160]
45864         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45865         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45867 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45869         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45870         Define __attribute__.
45872 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45874         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45875         unused.
45876         * posix/regex_internal.h (__attribute): Remove.
45877         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45878         (re_string_context_at): Likewise.
45879         (bitset_not): Use __attribute__ and mark function as possibly
45880         unused.
45881         (bitset_merge): Likewise.
45882         (bitset_mask): Likewise.
45883         (re_string_char_size_at): Likewise.
45884         (re_string_wchar_at): Likewise.
45885         (re_string_elem_size_at): Likewise.
45887 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45889         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45890         code.
45891         (cc32): Likewise.
45893         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45894         (__acr): Likewise.
45895         (__cpy): Likewise.
45896         (norm): Likewise.
45897         (denorm): Likewise.
45898         (__dbl_mp): Likewise.
45899         (add_magnitudes): Likewise.
45900         (sub_magnitudes): Likewise.
45901         (__mul): Likewise.
45902         (__inv): Likewise.
45904         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45905         style.
45907         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45908         style.
45910         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45911         code.
45913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45914         up changes with default code.
45915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45916         Likewise.
45918 2013-02-24  Allan McRae  <allan@archlinux.org>
45920         * manual/socket.texi (The Internet Namespace): Order menu items
45921         to match that in the file.
45923         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45924         node listing of the info page menu.
45926 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45928         [BZ #13550]
45929         * sysdeps/i386/bp-asm.h: Remove file.
45930         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45931         (PARMS): Do not use macros from bp-asm.h.
45932         (S1): Likewise.
45933         (S2): Likewise.
45934         (SIZE): Likewise.
45935         (__mpn_add_n): Do not use BP_SYM
45936         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45937         "bp-asm.h".
45938         (PARMS): Do not use macros from bp-asm.h.
45939         (S1): Likewise.
45940         (SIZE): Likewise.
45941         (__mpn_addmul_1): Do not use BP_SYM
45942         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45943         "bp-asm.h".
45944         (PARMS): Do not use macros from bp-asm.h.
45945         (SIGMSK): Likewise.
45946         (_setjmp): Likewise.  Do not use BP_SYM.
45947         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45948         "bp-asm.h".
45949         (PARMS): Do not use macros from bp-asm.h.
45950         (SIGMSK): Likewise.
45951         (setjmp): Likewise.  Do not use BP_SYM.
45952         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45953         "bp-asm.h".
45954         (PARMS): Do not use macros from bp-asm.h.
45955         (__frexp): Do not use BP_SYM.
45956         (frexp): Likewise.
45957         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45958         "bp-asm.h".
45959         (PARMS): Do not use macros from bp-asm.h.
45960         (__frexpf): Do not use BP_SYM.
45961         (frexpf): Likewise.
45962         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45963         "bp-asm.h".
45964         (PARMS): Do not use macros from bp-asm.h.
45965         (__frexpl): Do not use BP_SYM.
45966         (frexpl): Likewise.
45967         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45968         "bp-asm.h".
45969         (PARMS): Do not use macros from bp-asm.h.
45970         (__remquo): Do not use BP_SYM.
45971         (remquo): Likewise.
45972         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45973         "bp-asm.h".
45974         (PARMS): Do not use macros from bp-asm.h.
45975         (__remquof): Do not use BP_SYM.
45976         (remquof): Likewise.
45977         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45978         "bp-asm.h".
45979         (PARMS): Do not use macros from bp-asm.h.
45980         (__remquol): Do not use BP_SYM.
45981         (remquol): Likewise.
45982         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45983         "bp-asm.h".
45984         (PARMS): Do not use macros from bp-asm.h.
45985         (DEST): Likewise.
45986         (SRC): Likewise.
45987         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45988         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45989         "bp-asm.h".
45990         (PARMS): Do not use macros from bp-asm.h.
45991         (strlen): Do not use BP_SYM.
45992         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45993         "bp-asm.h".
45994         (PARMS): Do not use macros from bp-asm.h.
45995         (S1): Likewise.
45996         (S2): Likewise.
45997         (SIZE): Likewise.
45998         (__mpn_add_n): Do not use BP_SYM.
45999         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46000         "bp-asm.h".
46001         (PARMS): Do not use macros from bp-asm.h.
46002         (S1): Likewise.
46003         (SIZE): Likewise.
46004         (__mpn_addmul_1): Do not use BP_SYM.
46005         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46006         weak_alias.
46007         (bzero): Likewise.
46008         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46009         "bp-asm.h".
46010         (PARMS): Do not use macros from bp-asm.h.
46011         (S): Likewise.
46012         (SIZE): Likewise.
46013         (__mpn_lshift): Do not use BP_SYM.
46014         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46015         "bp-asm.h".
46016         (PARMS): Do not use macros from bp-asm.h.
46017         (DEST): Likewise.
46018         (SRC): Likewise.
46019         (LEN): Likewise.
46020         (memcpy): Likewise.  Do not use BP_SYM.
46021         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46022         libc_hidden_def and weak_alias.
46023         (mempcpy): Do not use BP_SYM in weak_alias.
46024         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46025         "bp-asm.h".
46026         (PARMS): Do not use macros from bp-asm.h.
46027         (DEST): Likewise.
46028         (LEN): Likewise.
46029         [!BZERO_P] (CHR): Likewise.
46030         (memset): Likewise.  Do not use BP_SYM.
46031         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46032         "bp-asm.h".
46033         (PARMS): Do not use macros from bp-asm.h.
46034         (S1): Likewise.
46035         (SIZE): Likewise.
46036         (__mpn_mul_1): Do not use BP_SYM.
46037         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46038         "bp-asm.h".
46039         (PARMS): Do not use macros from bp-asm.h.
46040         (S): Likewise.
46041         (SIZE): Likewise.
46042         (__mpn_rshift): Do not use BP_SYM.
46043         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46044         "bp-asm.h".
46045         (PARMS): Do not use macros from bp-asm.h.
46046         (STR): Likewise.
46047         (CHR): Likewise.
46048         (strchr): Likewise.  Do not use BP_SYM.
46049         (index): Do not use BP_SYM in weak_alias.
46050         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46051         "bp-asm.h".
46052         (PARMS): Do not use macros from bp-asm.h.
46053         (DEST): Likewise.
46054         (SRC): Likewise.
46055         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46056         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46057         "bp-asm.h".
46058         (PARMS): Do not use macros from bp-asm.h.
46059         (strlen): Do not use BP_SYM.
46060         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46061         "bp-asm.h".
46062         (PARMS): Do not use macros from bp-asm.h.
46063         (S1): Likewise.
46064         (S2): Likewise.
46065         (SIZE): Likewise.
46066         (__mpn_sub_n): Do not use BP_SYM.
46067         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46068         "bp-asm.h".
46069         (PARMS): Do not use macros from bp-asm.h.
46070         (S1): Likewise.
46071         (SIZE): Likewise.
46072         (__mpn_submul_1): Do not use BP_SYM.
46073         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46074         "bp-asm.h".
46075         (PARMS): Do not use macros from bp-asm.h.
46076         (S1): Likewise.
46077         (S2): Likewise.
46078         (SIZE): Likewise.
46079         (__mpn_add_n): Do not use BP_SYM.
46080         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46081         weak_alias.
46082         (bzero): Likewise.
46083         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46084         "bp-asm.h".
46085         (PARMS): Do not use macros from bp-asm.h.
46086         (BLK2): Likewise.
46087         (LEN): Likewise.
46088         (memcmp): Do not use BP_SYM.
46089         (bcmp): Do not use BP_SYM in weak_alias.
46090         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46091         "bp-asm.h".
46092         (PARMS): Do not use macros from bp-asm.h.
46093         (DEST): Likewise.
46094         (SRC): Likewise.
46095         (LEN): Likewise.
46096         (memcpy): Likewise.  Do not use BP_SYM.
46097         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46098         "bp-asm.h".
46099         (PARMS): Do not use macros from bp-asm.h.
46100         (DEST): Likewise.
46101         (SRC): Likewise.
46102         (LEN): Likewise.
46103         (memmove): Likewise.  Do not use BP_SYM.
46104         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46105         "bp-asm.h".
46106         (PARMS): Do not use macros from bp-asm.h.
46107         (DEST): Likewise.
46108         (SRC): Likewise.
46109         (LEN): Likewise.
46110         (__mempcpy): Likewise.  Do not use BP_SYM.
46111         (mempcpy): Do not use BP_SYM in weak_alias.
46112         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46113         "bp-asm.h".
46114         (PARMS): Do not use macros from bp-asm.h.
46115         (DEST): Likewise.
46116         (LEN): Likewise.
46117         [!BZERO_P] (CHR): Likewise.
46118         (memset): Likewise.  Do not use BP_SYM.
46119         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46120         "bp-asm.h".
46121         (PARMS): Do not use macros from bp-asm.h.
46122         (STR2): Likewise.
46123         (strcmp): Do not use BP_SYM.
46124         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46125         "bp-asm.h".
46126         (PARMS): Do not use macros from bp-asm.h.
46127         (STR): Likewise.
46128         (DELIM): Likewise.
46129         [USE_AS_STRTOK_R] (SAVE): Likewise.
46130         (FUNCTION): Likewise.  Do not use BP_SYM.
46131         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46132         aliases.
46133         (strtok_r): Likewise.
46134         (__GI___strtok_r): Likewise.
46135         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46136         (PARMS): Do not use macros from bp-asm.h.
46137         (S): Likewise.
46138         (SIZE): Likewise.
46139         (__mpn_lshift): Do not use BP_SYM.
46140         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46141         (PARMS): Do not use macros from bp-asm.h.
46142         (STR): Likewise.
46143         (CHR): Likewise.
46144         (__memchr): Do not use BP_SYM.
46145         (memchr): Do not use BP_SYM in weak_alias.
46146         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46147         (PARMS): Do not use macros from bp-asm.h.
46148         (BLK2): Likewise.
46149         (LEN): Likewise.
46150         (memcmp): Do not use BP_SYM.
46151         (bcmp): Do not use BP_SYM in weak_alias.
46152         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46153         (PARMS): Do not use macros from bp-asm.h.
46154         (S1): Likewise.
46155         (SIZE): Likewise.
46156         (__mpn_mul_1): Do not use BP_SYM.
46157         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46158         "bp-asm.h".
46159         (PARMS): Do not use macros from bp-asm.h.
46160         (STR): Likewise.
46161         (CHR): Likewise.
46162         (__rawmemchr): Do not use BP_SYM.
46163         (rawmemchr): Do not use BP_SYM in weak_alias.
46164         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46165         (PARMS): Do not use macros from bp-asm.h.
46166         (S): Likewise.
46167         (SIZE): Likewise.
46168         (__mpn_rshift): Do not use BP_SYM.
46169         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46170         (PARMS): Do not use macros from bp-asm.h.
46171         (SIGMSK): Likewise.
46172         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46173         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46174         (_start): Do not use BP_SYM.
46175         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46176         (PARMS): Do not use macros from bp-asm.h.
46177         (DEST): Likewise.
46178         (SRC): Likewise.
46179         (__stpcpy): Likewise.  Do not use BP_SYM.
46180         (stpcpy): Do not use BP_SYM in weak_alias.
46181         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46182         "bp-asm.h".
46183         (PARMS): Do not use macros from bp-asm.h.
46184         (DEST): Likewise.
46185         (SRC): Likewise.
46186         (LEN): Likewise.
46187         (__stpncpy): Likewise.  Do not use BP_SYM.
46188         (stpncpy): Do not use BP_SYM in weak_alias.
46189         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46190         (PARMS): Do not use macros from bp-asm.h.
46191         (STR): Likewise.
46192         (CHR): Likewise.
46193         (strchr): Likewise.  Do not use BP_SYM.
46194         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46195         "bp-asm.h".
46196         (PARMS): Do not use macros from bp-asm.h.
46197         (STR): Likewise.
46198         (CHR): Likewise.
46199         (__strchrnul): Likewise.  Do not use BP_SYM.
46200         (strchrnul): Do not use BP_SYM in weak_alias.
46201         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46202         "bp-asm.h".
46203         (PARMS): Do not use macros from bp-asm.h.
46204         (STOP): Likewise.
46205         (strcspn): Do not use BP_SYM.
46206         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46207         "bp-asm.h".
46208         (PARMS): Do not use macros from bp-asm.h.
46209         (STR): Likewise.
46210         (STOP): Likewise.
46211         (strpbrk): Likewise.  Do not use BP_SYM.
46212         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46213         "bp-asm.h".
46214         (PARMS): Do not use macros from bp-asm.h.
46215         (STR): Likewise.
46216         (CHR): Likewise.
46217         (strrchr): Likewise.  Do not use BP_SYM.
46218         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46219         (PARMS): Do not use macros from bp-asm.h.
46220         (SKIP): Likewise.
46221         (strspn): Do not use BP_SYM.
46222         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46223         (PARMS): Do not use macros from bp-asm.h.
46224         (STR): Likewise.
46225         (DELIM): Likewise.
46226         (SAVE): Likewise.
46227         (FUNCTION): Likewise.  Do not use BP_SYM.
46228         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46229         aliases.
46230         (strtok_r): Likewise.
46231         (__GI___strtok_r): Likewise.
46232         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46233         (PARMS): Do not use macros from bp-asm.h.
46234         (S1): Likewise.
46235         (S2): Likewise.
46236         (SIZE): Likewise.
46237         (__mpn_sub_n): Do not use BP_SYM.
46238         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46239         "bp-asm.h".
46240         (PARMS): Do not use macros from bp-asm.h.
46241         (S1): Likewise.
46242         (SIZE): Likewise.
46243         (__mpn_submul_1): Do not use BP_SYM.
46244         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46245         <bp-sym.h>.
46246         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46247         and <bp-asm.h>.
46248         (PARMS): Do not use macros from bp-asm.h.
46249         (FLAGS): Likewise.
46250         (PTID): Likewise.
46251         (TLS): Likewise.
46252         (CTID): Likewise.
46253         (__clone): Do not use BP_SYM.
46254         (clone): Do not use BP_SYM in weak_alias.
46255         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46256         and <bp-asm.h>.
46257         (PARMS): Do not use macros from bp-asm.h.
46258         (LEN): Likewise.
46259         (__mmap64): Do not use BP_SYM.
46260         (mmap64): Do not use BP_SYM in weak_alias.
46261         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46262         <bp-sym.h> and <bp-asm.h>.
46263         (PARMS): Do not use macros from bp-asm.h.
46264         (__posix_fadvise64_l64): Do not use BP_SYM.
46265         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46266         (PARMS): Do not use macros from bp-asm.h.
46267         (NSOPS): Likewise.
46268         (semtimedop): Do not use BP_SYM.
46269         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46270         and <bp-asm.h>.
46272 2013-02-21  Allan McRae  <allan@archlinux.org>
46274         * manual/message.texi (Charset conversion in gettext):
46275         Move @end statement to beginning of line.
46277 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46280         static.
46281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46282         Likewise.
46284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46285         (denorm): Likewise.
46286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46289 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46291         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46292         tail-call to the resolved function if pltexit isn't needed.
46294 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46297         or Y being zero as being unlikely.
46298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46299         Likewise.
46301 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46303         * manual/nss.texi (System Databases and Name Service Switch):
46304         Remove frobnicate @pxref.
46306 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46308         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46309         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46311 2013-02-20  Petr Machata  <pmachata@redhat.com>
46313         * elf/elf.h (R_ARM_TARGET1): New macro.
46314         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46315         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46316         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46317         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46318         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46319         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46320         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46321         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46322         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46323         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46324         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46325         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46326         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46327         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46328         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46329         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46330         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46331         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46332         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46333         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46334         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46335         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46336         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46337         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46338         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46339         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46340         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46341         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46342         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46343         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46344         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46345         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46346         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46347         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46348         (R_ARM_THM_GOT_BREL12): Likewise.
46349         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46350         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46351         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46352         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46353         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46354         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46355         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46356         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46357         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46359 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46361         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46362         __attribute_used__ to __attribute__ ((unused)).
46364 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46366         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46367         powerpc mpa.c.
46368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46369         comment formatting.
46370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46372 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46374         [BZ #13550]
46375         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46376         Remove macro.
46377         (ENTER): Remove both macro definitions.
46378         (LEAVE): Likewise.
46379         (CHECK_BOUNDS_LOW): Likewise.
46380         (CHECK_BOUNDS_HIGH): Likewise.
46381         (CHECK_BOUNDS_BOTH): Likewise.
46382         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46383         (RETURN_BOUNDED_POINTER): Likewise.
46384         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46385         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46386         (POP_ERRNO_LOCATION_RETURN): Likewise.
46387         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46388         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46389         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46390         macros.
46391         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46392         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46393         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46394         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46395         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46396         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46397         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46398         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46399         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46400         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46401         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46402         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46403         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46404         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46405         removed macros.
46406         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46407         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46408         macros.
46409         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46410         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46411         * sysdeps/i386/i586/memset.S (memset): Likewise.
46412         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46413         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46414         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46415         macros.
46416         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46417         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46418         Change uses of L(2) to L(out).
46419         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46420         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46421         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46422         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46423         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46424         removed macros.
46425         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46426         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46427         macros.
46428         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46429         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46430         (RETURN): Do not use macro LEAVE.
46431         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46432         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46433         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46434         * sysdeps/i386/i686/memset.S (memset): Likewise.
46435         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46436         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46437         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46438         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46439         Likewise.
46440         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46441         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46442         L(1_2) and L(1_3) into L(1).
46443         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46444         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46446         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46447         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46448         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46449         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46450         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46451         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46452         macros.
46453         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46454         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46455         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46456         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46457         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46458         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46459         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46460         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46461         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46462         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46463         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46464         * sysdeps/i386/strspn.S (strspn): Likewise.
46465         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46466         conditional code.
46467         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46468         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46469         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46470         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46471         L(1_3) into L(1_1).
46472         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46473         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46474         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46475         macros.
46476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46478 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46480         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46481         macro.
46483 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46485         * math/atest-exp.c (exp_mpn): Remove ROUND.
46486         * math/atest-exp2.c (exp_mpn): Likewise.
46487         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46489         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46490         * stdlib/tst-tls-atexit-lib.c: Likewise.
46491         * stdlib/tst-tls-atexit.c: Likewise.
46493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46495         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46496         and __attribute_alloc_size__.
46498 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46500         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46501         __attribute_alloc_size__.
46502         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46503         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46505 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46507         * include/programs/xmalloc.h: New file.
46508         * catgets/gencat.c: Include it.
46509         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46510         * elf/pldd.c: Likewise.
46511         * iconv/iconv_charmap.c: Likewise.
46512         * iconv/iconvconfig.c: Likewise.
46513         * iconv/strtab.c: Likewise.
46514         * locale/programs/locale.c: Likewise.
46515         * locale/programs/localedef.h: Likewise.
46516         * locale/programs/simple-hash.c: Likewise.
46517         * nscd/nscd.h: Likewise.
46518         * nss/makedb.c: Likewise.
46519         * sysdeps/generic/ldconfig.h: Likewise.
46521 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46523         * Versions.def: Add GLIBC_2.18.
46524         * include/link.h (struct link_map): New member l_tls_dtor_count.
46525         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46526         (__call_tls_dtors): Likewise.
46527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46528         __cxa_thread_atexit_impl.
46529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46530         Likewise.
46531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46532         Likewise.
46533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46534         Likewise.
46535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46536         Likewise.
46537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46539         Likewise.
46540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46541         Likewise.
46542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46544         Likewise.
46545         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46546         (tests): Add test case tst-tls-atexit.
46547         (modules-names): Add shared library for tst-tls-atexit.
46548         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46549         (GLIBC_PRIVATE): Add __call_tls_dtors.
46550         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46551         for libstdc++.
46552         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46553         * stdlib/tst-tls-atexit.c: New test case.
46554         * stdlib/tst-tls-atexit-lib.c: New test case.
46556         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46558         * elf/Versions (ld): Add _dl_find_dso_for_object.
46559         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46560         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46561         (dl_open_worker): Use _dl_find_dso_for_object.
46562         * elf/dl-sym.c (do_sym): Likewise.
46563         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46565 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46567         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46568         Syntactic changes only.
46569         (_dl_runtime_profile): Do a tail-call to the resolved function.
46571 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46573         [BZ #13550]
46574         * sysdeps/x86_64/bp-asm.h: Remove file.
46575         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46576         <bp-sym.h> and <bp-asm.h>.
46577         (__clone): Do not use BP_SYM.
46578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46579         <bp-sym.h> and <bp-asm.h>.
46580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46581         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46582         "bp-asm.h".
46583         (_setjmp): Do not use BP_SYM.
46584         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46585         "bp-asm.h".
46586         (setjmp): Do not use BP_SYM.
46587         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46588         libc_hidden_def.
46589         (mempcpy): Do not use BP_SYM in weak_alias.
46590         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46591         "bp-asm.h".
46592         (strchr): Do not use BP_SYM.
46593         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46594         "bp-asm.h".
46595         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46596         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46597         (_start): Do not use BP_SYM.
46598         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46599         "bp-asm.h".
46600         (strcat): Do not use BP_SYM.
46601         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46602         "bp-asm.h".
46603         (STRCMP): Do not use BP_SYM.
46604         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46605         "bp-asm.h".
46606         (STRCPY): Do not use BP_SYM.
46607         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46608         "bp-asm.h".
46609         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46610         "bp-asm.h".
46611         (FUNCTION): Do not use BP_SYM.
46612         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46613         weak_alias.
46614         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46616 2013-02-17  Andreas Jaeger  <aj@suse.de>
46618         * time/Versions: Sort entries.
46619         * string/Versions: Likewise.
46620         * resolv/Versions: Likewise.
46621         * posix/Versions: Likewise.
46622         * iconv/Versions: Likewise.
46623         * elf/Versions: Likewise.
46624         * wcsmbs/Versions: Likewise.
46626 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46628         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46629         loop termination condition.
46631         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46632         variable to calculate EZ.
46633         (__sqr): Likewise.
46635         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46636         the lower precision input.
46638 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46640         [BZ #13550]
46641         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46642         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46643         (run-via-rtld-prefix): Do not handle %-bp tests.
46644         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46645         (all-object-suffixes): Remove .ob.
46646         (bppfx): Remove variable.
46647         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46648         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46649         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46650         [$(build-bounded) = yes] (libtype.ob): Likewise.
46651         * Makerules (elide-routines.ob): Remove variable.
46652         (do-tests-clean): Do not handle *-bp.out.
46653         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46654         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46655         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46656         (tests): Do not include $(tests-bp.out).
46657         (xtests): Do not include $(xtests-bp.out).
46658         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46659         [$(build-bounded) = yes] ($(addprefix
46660         $(objpfx),$(binaries-bounded))): Remove rule.
46661         ($(objpfx)%-bp.out): Remove rule.
46662         * config.make.in (build-bounded): Remove variable.
46663         * crypt/Makefile [$(build-bounded) = yes]
46664         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46665         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46666         append to variable.
46667         [$(build-bounded) = yes] (install-lib): Likewise.
46668         [$(build-bounded) = yes] (generated): Likewise.
46669         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46670         Remove rule.
46671         * intl/Makefile [$(build-bounded) = yes]
46672         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46673         * math/Makefile [$(build-bounded) = yes]
46674         ($(tests:%=$(objpfx)%-bp): Likewise.
46675         * misc/Makefile [$(build-bounded) = yes]
46676         ($(objpfx)tst-tsearch-bp): Likewise.
46677         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46678         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46679         Remove dependency.
46680         * string/Makefile (o-objects.ob): Remove variable.
46681         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46682         (CFLAGS-.ob): Remove variable.
46683         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46684         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46685         both definitions of variable.
46686         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46687         (ASFLAGS-.ob): Remove variable.
46689 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46691         [BZ #13550]
46692         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46693         Remove __BOUNDED_POINTERS__ from condition.
46694         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46695         * string/bits/string2.h [!__NO_STRING_INLINES &&
46696         !__BOUNDED_POINTERS__]: Likewise.
46697         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46698         Likewise.
46699         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46700         Remove conditional code.
46701         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46702         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46703         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46704         condition.
46706         [BZ #13550]
46707         * csu/libc-start.c: Do not include <bp-sym.h>.
46708         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46709         * elf/dl-open.c: Do not include <bp-sym.h>.
46710         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46711         * math/fegetenv.c: Do not include <bp-sym.h>.
46712         (fegetenv): Do not use BP_SYM in versioned symbols.
46713         * nptl/sysdeps/pthread/bits/libc-lockP.h
46714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46715         <bp-sym.h>.
46716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46717         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46719         (__pthread_mutex_destroy): Likewise.
46720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46721         (__pthread_mutex_lock): Likewise.
46722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46723         (__pthread_mutex_trylock): Likewise.
46724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46725         (__pthread_mutex_unlock): Likewise.
46726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46727         (__pthread_mutexattr_init): Likewise.
46728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46729         (__pthread_mutexattr_destroy): Likewise.
46730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46731         (__pthread_mutexattr_settype): Likewise.
46732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46733         (__pthread_rwlock_init): Likewise.
46734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46735         (__pthread_rwlock_destroy): Likewise.
46736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46737         (__pthread_rwlock_rdlock): Likewise.
46738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46739         (__pthread_rwlock_tryrdlock): Likewise.
46740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46741         (__pthread_rwlock_wrlock): Likewise.
46742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46743         (__pthread_rwlock_trywrlock): Likewise.
46744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46745         (__pthread_rwlock_unlock): Likewise.
46746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46747         (__pthread_key_create): Likewise.
46748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46749         (__pthread_setspecific): Likewise.
46750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46751         (__pthread_getspecific): Likewise.
46752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46753         Likewise.
46754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46755         (_pthread_cleanup_push_defer): Likewise.
46756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46757         (_pthread_cleanup_pop_restore): Likewise.
46758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46759         (pthread_setcancelstate): Likewise.
46760         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46761         <bp-sym.h>.
46762         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46763         (memchr): Do not use BP_SYM in weak_alias.
46764         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46765         (fegetenv): Do not use BP_SYM in versioned symbols.
46766         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46767         (fesetenv): Do not use BP_SYM in versioned symbols.
46768         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46769         (feupdateenv): Do not use BP_SYM in versioned symbols.
46770         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46771         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46772         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46773         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46774         (open64): Do not use BP_SYM in weak_alias.
46775         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46776         (fegetenv): Do not use BP_SYM in versioned symbols.
46777         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46778         (fesetenv): Do not use BP_SYM in versioned symbols.
46779         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46780         (feupdateenv): Do not use BP_SYM in versioned symbols.
46781         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46782         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46783         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46784         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46785         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46786         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46788         <bp-sym.h>.
46789         (__libc_start_main): Do not use BP_SYM.
46791 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46794         redundant return line.
46795         (norm): Likewise.
46796         (denorm): Likewise.
46797         (dbl_mp): Likewise.
46798         (sub_magnitudes): Likewise.
46799         (__add): Likewise.
46800         (__sub): Likewise.
46801         (__mul): Likewise.
46802         (__inv): Likewise.
46803         (__dvd): Likewise.
46804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46805         (norm): Likewise.
46806         (denorm): Likewise.
46807         (dbl_mp): Likewise.
46808         (sub_magnitudes): Likewise.
46809         (__add): Likewise.
46810         (__sub): Likewise.
46811         (__mul): Likewise.
46812         (__inv): Likewise.
46813         (__dvd): Likewise.
46815         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46816         instead of __mul.
46817         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46818         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46819         (cc32): Likewise.
46821         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46822         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46824         of __mul for squares.
46825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46826         function
46827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46828         Likewise.
46829         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46830         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46832 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46834         [BZ #13550]
46835         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46836         code.
46837         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46838         prototype or function definition.  Rename ubp_* variables and
46839         parameters.  Remove argv definitions conditional on
46840         [__BOUNDED_POINTERS__].
46841         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46842         * elf/dl-runtime.c (_dl_fixup): Likewise.
46843         * include/set-hooks.h (RUN_HOOK): Likewise.
46844         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46845         definition.
46846         * string/strcpy.c (strcpy): Do not use __unbounded.
46847         * sysdeps/generic/frame.h (struct layout): Likewise.
46848         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46849         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46850         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46851         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46852         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46853         (__backtrace): Likewise.
46854         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46855         use __ptrvalue.
46856         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46857         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46858         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46859         Likewise.
46860         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46861         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46862         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46863         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46864         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46865         Do not use __unbounded.
46866         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46867         Rename __unboundedrlimits parameter to rlimits in prototype.
46868         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46869         Do not use __unbounded.
46870         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46871         not use __ptrvalue.
46872         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46873         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46874         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46875         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46876         __ptrvalue or __unbounded.
46877         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46878         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46879         use __unbounded.
46880         (__new_msgctl): Do not use __ptrvalue.
46881         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46882         __unbounded.
46883         (__libc_msgrcv): Do not use __ptrvalue.
46884         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46885         startup_info): Do not use __unbounded.
46886         (__libc_start_main): Likewise.  Rename ubp_* variables and
46887         parameters.  Remove argv definitions conditional on
46888         [__BOUNDED_POINTERS__].
46889         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46890         __ptrvalue.
46891         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46892         use __unbounded.
46893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46894         or __ptrvalue.
46895         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46896         use __unbounded.
46897         (__new_shmctl): Do not use __ptrvalue.
46898         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46899         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46900         Likewise.
46901         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46903         (__libc_sigaction): Likewise.
46904         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46906         Likewise.
46907         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46909 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46911         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46913         * string/mempcpy.c: Implement by calling memcpy.
46915 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46920         evaluation.
46922         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46923         values in the mantissa.
46925         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46926         minimize writes to Z.
46927         (sub_magnitudes): Simplify code a bit.
46929 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46931         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46932         from the message.  The linker prefixes all warnings with that already.
46934 2013-02-12  Andreas Schwab  <schwab@suse.de>
46936         [BZ #15078]
46937         * posix/regexec.c (extend_buffers): Add parameter min_len.
46938         (check_matching): Pass minimum needed length.
46939         (clean_state_log_if_needed): Likewise.
46940         (get_subexp): Likewise.
46941         * posix/Makefile (tests): Add bug-regex34.
46942         (bug-regex34-ENV): Define.
46943         * posix/bug-regex34.c: New file.
46945         [BZ #11561]
46946         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46947         elements compare against the byte sequence of it, not its name.
46948         * posix/Makefile (tests): Add bug-regex35.
46949         (bug-regex35-ENV): Define.
46950         * posix/bug-regex35.c: New file.
46952 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46954         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46955         comment.
46956         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46957         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46958         (CHECK_EOL): Add undef.
46960 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46962         * bits/stdlib-bsearch.h: New file.
46963         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46964         * stdlib/stdlib.h: Likewise.
46966 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46968         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46969         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46970         declaration.
46971         * manual/search.texi (Array Search Function): Add missing const in
46972         lfind prototype.
46973         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46974         declaration to use rlim_t.
46975         (Basic Scheduling Functions): Remove erroneous const from
46976         sched_getparam prototype.  Remove erroneous * from
46977         sched_get_priority_max and sched_get_priority_min prototypes.
46978         (Resource Usage): Fix summary @comment on vtimes to refer to
46979         sys/vtimes.h rather than vtimes.h.
46980         Add missing *s in vtimes prototype.
46981         (Limits on Resources): Fix ulimit prototype to return long int.
46982         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46983         prototypes to use long int rather than double.
46984         (BSD Random): Fix initstate and setstate to use char *, not void *.
46985         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46986         prototype to make second argument 'struct aiocb64 *const[]'.
46987         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46988         (Status of AIO Operations): Remove erroneous const in aio_return and
46989         aio_return64 prototypes.
46990         (Synchronizing I/O): Fix sync prototype to return void.
46991         * manual/startup.texi (Suboptions): Remove an erroneous const in
46992         getsubopt prototype.
46993         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46994         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46995         use size_t rather than int.
46996         (Scanning All Users): Likewise for getpwent_r.
46997         (Setting Groups): Add missing const to setgroups prototype.
46998         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46999         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47000         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47001         'const void *' rather than 'const char *'.
47002         (Host Address Functions): Likewise for inet_ntop.
47003         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47004         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47005         ssize_t for return value.
47006         (Sending Data): Likewise for send, sendto, sendmsg.
47007         (Socket Option Functions): Add a missing const in setsockopt prototype.
47008         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47009         use wchar_t for the argument.
47010         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47011         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47012         take no arguments.
47013         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47014         double/float/long double for second argument.
47015         Fix return types of significand, significandf, significandl.
47016         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47017         argument in fchmod prototype.
47018         (File Owner): Use uid_t and gid_t in fchown prototype.
47019         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47020         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47021         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47022         use 'const struct dirent **' as argument types to CMP function pointer
47023         argument.
47024         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47025         (File Times): Fix summary magic @comment for struct utimbuf and utime
47026         to refer to utime.h, not time.h.
47027         * manual/string.texi (Argz Functions): Add missing const in
47028         argz_extract and argz_next prototypes.
47029         (Finding Tokens in a String): Likewise for basename.
47030         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47031         (Copying and Concatenation): Fix typo in wmemmove prototype.
47032         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47033         (Signal Stack): Remove erroneous const in sigstack prototype.
47034         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47035         prototype.
47036         (Simple Calendar Time): Likewise for stime.
47037         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47038         prototype.
47039         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47040         say sys/sysctl.h instead.
47041         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47042         and vsyslog prototypes.
47044 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47046         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47047         Remove.
47049 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47051         * misc/sys/mman.h: Fix typo in mremap comment.
47053 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47055         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47056         the '\0' terminator.
47058 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47060         [BZ #13550]
47061         * debug/segfault.c: Don't include <bp-checks.h>.
47062         * sysdeps/generic/bp-checks.h: Remove file.
47063         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47064         (__GETDENTS): Don't use CHECK_N.
47065         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47066         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47067         (__getgroups): Don't use CHECK_N.
47068         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47069         (setgroups): Don't use CHECK_N.
47070         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47071         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47072         (__libc_msgrcv): Don't use CHECK_N.
47073         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47074         (__libc_msgsnd): Don't use CHECK_N.
47075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47076         <bp-checks.h>.
47077         (__libc_pread): Don't use CHECK_N.
47078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47079         include <bp-checks.h>.
47080         (__libc_pread64): Don't use CHECK_N.
47081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47082         include <bp-checks.h>.
47083         (__libc_pwrite): Don't use CHECK_N.
47084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47085         include <bp-checks.h>.
47086         (__libc_pwrite64): Don't use CHECK_N.
47087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47088         <bp-checks.h>.
47089         (__libc_pread): Don't use CHECK_N.
47090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47091         include <bp-checks.h>.
47092         (__libc_pread64): Don't use CHECK_N.
47093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47094         include <bp-checks.h>.
47095         (__libc_pwrite): Don't use CHECK_N.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47097         include <bp-checks.h>.
47098         (__libc_pwrite64): Don't use CHECK_N.
47099         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47100         (do_pread): Don't use CHECK_N.
47101         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47102         (do_pread64): Don't use CHECK_N.
47103         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47104         (do_pwrite): Don't use CHECK_N.
47105         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47106         (do_pwrite64): Don't use CHECK_N.
47107         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47108         (__libc_readv): Don't use CHECK_N.
47109         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47110         (semop): Don't use CHECK_N.
47111         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47112         <bp-checks.h>.
47113         (semtimedop): Don't use CHECK_N.
47114         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47115         (__libc_pread): Don't use CHECK_N.
47116         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47117         <bp-checks.h>.
47118         (__libc_pread64): Don't use CHECK_N.
47119         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47120         <bp-checks.h>.
47121         (__libc_pwrite): Don't use CHECK_N.
47122         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47123         <bp-checks.h>.
47124         (__libc_pwrite64): Don't use CHECK_N.
47125         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47126         <bp-checks.h>.
47127         (__libc_msgrcv): Don't use CHECK_N.
47128         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47129         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47130         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47131         (__libc_writev): Don't use CHECK_N.
47133 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47135         * string/strcpy.c: Removed unused variable.
47137         * Makeconfig (+sysdep-includes): Define with := rather than =.
47138         Use an existing include/ subdir of each sysdeps dir before it.
47140 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47142         * nscd/connection.c (register_traced_file): Comment function.
47143         [HAVE_INOTIFY] (union __inev): Define.
47144         [HAVE_INOTIFY] (inotify_check_files): New function.
47145         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47146         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47147         clear_db_cache.
47148         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47150 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47152         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47153         loaded if not already and that a failure is permanent.
47155 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47157         [BZ #15006]
47158         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47159         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47161 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47163         [BZ #13550]
47164         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47165         (CHECK_1_NULL_OK): Likewise.
47166         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47167         (__fxstat): Do not use CHECK_1.
47168         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47169         <bp-checks.h>.
47170         (___fxstat64): Do not use CHECK_1.
47171         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47172         <bp-checks.h>.
47173         (__fxstatat): Do not use CHECK_1.
47174         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47175         <bp-checks.h>.
47176         (__fxstatat64): Do not use CHECK_1.
47177         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47178         <bp-checks.h>.
47179         (__fxstat): Do not use CHECK_1.
47180         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47181         <bp-checks.h>.
47182         (__fxstatat): Do not use CHECK_1.
47183         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47184         <bp-checks.h>.
47185         (__getresgid): Do not use CHECK_1.
47186         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47187         <bp-checks.h>.
47188         (__getresuid): Do not use CHECK_1.
47189         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47190         <bp-checks.h>.
47191         (__lxstat): Do not use CHECK_1.
47192         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47193         <bp-checks.h>.
47194         (__old_msgctl): Do not use CHECK_1.
47195         (__new_msgctl): Likewise.
47196         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47197         <bp-checks.h>.
47198         (__new_setrlimit): Do not use CHECK_1.
47199         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47200         <bp-checks.h>.
47201         (__old_shmctl): Do not use CHECK_1.
47202         (__new_shmctl): Likewise.
47203         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47204         <bp-checks.h>.
47205         (__xstat): Do not use CHECK_1.
47206         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47207         (__lxstat): Do not use CHECK_1.
47208         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47209         <bp-checks.h>.
47210         (___lxstat64): Do not use CHECK_1.
47211         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47212         (__old_msgctl): Do not use CHECK_1.
47213         (__new_msgctl): Likewise.
47214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47215         <bp-checks.h>.
47216         (__gettimeofday): Do not use CHECK_1.
47217         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47218         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47220         <bp-checks.h>.
47221         (__gettimeofday): Do not use CHECK_1.
47222         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47223         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47224         (__new_shmctl): Do not use CHECK_1.
47225         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47226         <bp-checks.h>.
47227         (do_sigtimedwait): Do not use CHECK_1.
47228         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47229         <bp-checks.h>.
47230         (do_sigwaitinfo): Do not use CHECK_1.
47231         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47232         <bp-checks.h>.
47233         (msgctl): Do not use CHECK_1.
47234         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47235         <bp-checks.h>.
47236         (shmctl): Do not use CHECK_1.
47237         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47238         (ustat): Do not use CHECK_1.
47239         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47240         <bp-checks.h>.
47241         (__fxstat): Do not use CHECK_1.
47242         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47243         <bp-checks.h>.
47244         (__fxstatat): Do not use CHECK_1.
47245         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47246         <bp-checks.h>.
47247         (__lxstat): Do not use CHECK_1.
47248         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47249         <bp-checks.h>.
47250         (__xstat): Do not use CHECK_1.
47251         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47252         (__xstat): Do not use CHECK_1.
47253         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47254         (___xstat64): Do not use CHECK_1.
47256         [BZ #13550]
47257         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47258         definitions.
47259         (CHECK_BOUNDS_HIGH): Likewise.
47260         * string/strcpy.c: Do not include <bp-checks.h>.
47261         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47263 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47265         * nscd/nscd-client.h (__nscd_drop_map_ref):
47266         Add __attribute__ ((unused)).
47267         * nis/nss-nisplus.h (niserr2nss): Likewise.
47269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47270         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47272         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47273         Remove inline keyword.
47274         * include/rounding-mode.h (round_away): Likewise.
47275         * libio/wfileops.c (adjust_wide_data): Likewise.
47276         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47277         (__m128i_strloadu_tolower): Likewise.
47278         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47279         (__m128i_strloadu_tolower): Likewise.
47280         * time/mktime.c (ydhms_diff): Likewise.
47281         * locale/elem-hash.h (elem_hash): Likewise.
47282         * locale/setlocale.c (setdata): Likewise.
47283         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47284         (re_string_wchar_at): Likewise.
47285         (bitset_not, bitset_merge, bitset_mask): Likewise.
47286         [!(__GNUC__ > 3)] (inline): Remove macro.
47287         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47288         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47289         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47290         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47291         * string/memcmp.c (memcmp_bytes): Likewise.
47292         * locale/programs/locarchive.c (compute_hashval): Likewise.
47293         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47294         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47295         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47296         * nss/getent.c (print_rpc, print_protocols): Likewise.
47297         (print_passwd, print_group, print_aliases): Likewise.
47298         * nis/nss-nisplus.h (niserr2nss): Likewise.
47299         * nscd/connections.c (restart_p): Likewise.
47300         Change return type to bool.
47302 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47304         * Makeconfig (all-Depend-files): Add existing
47305         $(sorted-subdirs:=/Depend) files.
47306         (all-subdirs): Remove nss.
47307         * sysdeps/unix/inet/Subdirs: Add it here instead.
47308         * hesiod/Depend: New file.
47310         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47311         instead of calling alloca.
47313         * io/lseek.c (__lseek): Rename to __libc_lseek.
47314         Define __lseek as an alias.
47316         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47318 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47320         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47321         else clause and remove check for non-standard endianness.
47323 2013-02-04  David S. Miller  <davem@davemloft.net>
47325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47327 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47329         [BZ #13550]
47330         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47331         (__ubp_memchr): Remove prototype.
47332         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47333         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47334         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47335         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47336         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47337         Remove alias.
47338         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47339         (__ubp_memchr): Likewise.
47340         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47341         (__ubp_memchr): Likewise.
47342         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47343         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47344         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47346         CHECK_STRING.
47347         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47348         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47349         (__getcwd): Do not use CHECK_STRING.
47350         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47351         <bp-checks.h>.
47352         (__real_chown): Do not use CHECK_STRING.
47353         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47354         <bp-checks.h>.
47355         (fchownat): Do not use CHECK_STRING.
47356         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47357         CHECK_STRING.
47358         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47359         <bp-checks.h>.
47360         (__lchown): Do not use CHECK_STRING.
47361         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47362         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47363         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47364         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47366         include <bp-checks.h>.
47367         (truncate64): Do not use CHECK_STRING.
47368         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47369         <bp-checks.h>.
47370         (__real_chown): Do not use CHECK_STRING.
47371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47372         <bp-checks.h>.
47373         (__lchown): Do not use CHECK_STRING.
47374         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47375         <bp-checks.h>.
47376         (__chown): Do not use CHECK_STRING.
47377         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47378         <bp-checks.h>.
47379         (truncate64): Do not use CHECK_STRING.
47380         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47381         Likewise.
47382         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47383         (__xmknod): Do not use CHECK_STRING.
47384         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47385         <bp-checks.h>.
47386         (__xmknodat): Do not use CHECK_STRING.
47387         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47388         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47390 2013-02-04  Andreas Schwab  <schwab@suse.de>
47392         [BZ #14142]
47393         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47394         * include/netdb.h: Likewise for h_errno.
47395         * elf/tst-stackguard1.c: Include <tls.h>.
47397 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47399         * elf/link.h (struct link_map): Extend the l_addr comment.
47400         * include/link.h (struct link_map): Likewise.
47402 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47404         [BZ #13550]
47405         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47406         (BOUNDED_1): Remove macro.
47407         * debug/backtrace.c: Don't include <bp-checks.h>.
47408         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47409         (__backtrace): Likewise.
47410         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47411         <bp-checks.h>.
47412         (__backtrace): Don't use BOUNDED_1.
47413         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47414         <bp-checks.h>.
47415         (__backtrace): Don't use BOUNDED_1.
47416         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47417         (__backtrace): Don't use BOUNDED_1.
47418         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47419         (shmat): Don't use BOUNDED_N.
47421 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47423         [BZ #13550]
47424         * sysdeps/generic/bp-start.h: Remove file.
47425         * csu/libc-start.c: Don't include <bp-start.h>.
47426         (LIBC_START_MAIN): Set up __environ directly instead of using
47427         INIT_ARGV_and_ENVIRON.
47428         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47429         <bp-start.h>.
47431         [BZ #13550]
47432         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47433         definitions.
47434         (CHECK_FCNTL): Likewise.
47435         (CHECK_N_PAGES): Likewise.
47437         [BZ #13550]
47438         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47439         definitions.
47440         (CHECK_SIGSET_NULL_OK): Likewise.
47441         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47442         <bp-checks.h>.
47443         (sigpending): Don't use CHECK_SIGSET.
47444         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47445         <bp-checks.h>.
47446         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47447         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47448         <bp-checks.h>.
47449         (do_sigsuspend): Don't use CHECK_SIGSET.
47450         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47451         use CHECK_SIGSET.
47452         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47453         (do_sigwait): Don't use CHECK_SIGSET.
47454         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47455         use CHECK_SIGSET.
47456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47457         include <bp-checks.h>.
47458         (sigpending): Don't use CHECK_SIGSET.
47459         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47460         include <bp-checks.h>.
47461         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47462         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47463         <bp-checks.h>.
47464         (sigpending): Don't use CHECK_SIGSET.
47465         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47466         <bp-checks.h>.
47467         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47469         [BZ #13550]
47470         * sysdeps/generic/bp-semctl.h: Remove file.
47471         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47472         <bp-checks.h> and <bp-semctl.h>.
47473         (__old_semctl): Don't use CHECK_SEMCTL.
47474         (__new_semctl): Likewise.
47475         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47476         and <bp-semctl.h>.
47477         (__old_semctl): Don't use CHECK_SEMCTL.
47478         (__new_semctl): Likewise.
47479         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47480         <bp-checks.h> and <bp-semctl.h>.
47481         (__old_semctl): Don't use CHECK_SEMCTL.
47482         (__new_semctl): Likewise.
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47484         <bp-checks.h> and <bp-semctl.h>.
47485         (semctl): Don't use CHECK_SEMCTL.
47487         [BZ #13550]
47488         * Makerules (elide-bp-thunks): Remove variable.
47489         (elide-routines.oS): Don't use $(elide-bp-thunks).
47490         (elide-routines.os): Likewise.
47491         (elide-routines.o): Likewise.
47492         (elide-routines.op): Likewise.
47493         (elide-routines.og): Likewise.
47494         (objects): Don't use $(bp-thunks).
47495         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47496         include.
47497         (common-generated): Do not add s-proto-bp.d.
47498         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47499         (int): Likewise.
47500         (typ): Likewise.
47501         Do not generate makefile rules for bounded-pointer thunks.
47502         * sysdeps/generic/bp-thunks.h: Remove file.
47503         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47504         * sysdeps/unix/s-proto-bp.S: Likewise.
47506         [BZ #15062]
47507         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47508         parts of result separately when argument is not close to line from
47509         -i to i and one part of argument is small.
47510         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47511         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47512         * math/libm-test.inc (cacos_test): Add more tests.
47513         (casin_test): Likewise.
47514         (casinh_test): Likewise.
47515         * sysdeps/i386/fpu/libm-test-ulps: Update.
47516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47518 2013-01-31  David S. Miller  <davem@davemloft.net>
47520         * po/de.po: Update from translation team.
47522 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47524         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47526 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47528         * configure.in (_AC_PROG_CC_C89): New definition.
47529         * configure: Regenerate.
47531         * configure.in (AC_PROG_CPP): New definition.
47532         * configure: Regenerate.
47534 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47536         * debug/tst-backtrace.h: New file.
47537         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47538         (ret): Remove variable.
47539         (x): Likewise.
47540         (FAIL): Remove macro.
47541         (NO_INLINE): Likewise.
47542         (fn1): Use match function instead of strstr.
47543         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47544         (ret): Remove variable.
47545         (x): Likewise.
47546         (FAIL): Remove macro.
47547         (NO_INLINE): Likewise.
47548         (fn): Use match function instead of strstr.
47549         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47550         (ret): Remove variable.
47551         (x): Likewise.
47552         (FAIL): Remove macro.
47553         (NO_INLINE): Likewise.
47554         (handle_signal): Use match function instead of strstr.
47555         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47556         (ret): Remove variable.
47557         (x): Likewise.
47558         (FAIL): Remove macro.
47559         (NO_INLINE): Likewise.
47560         (handle_signal): Use match function instead of strstr.
47562 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47564         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47566 2013-01-23  David S. Miller  <davem@davemloft.net>
47568         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47569         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47570         argument of CAS if possible.
47571         * sysdeps/sparc/sparc64/bits/atomic.h
47572         (__arch_compare_and_exchange_val_32_acq): Likewise.
47573         (__arch_compare_and_exchange_val_64_acq): Likewise.
47575 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47577         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47578         * sysdeps/posix/ulimit.c: ... this.
47579         Include <limits.h>.
47580         * sysdeps/unix/bsd/ulimit.c: Remove file.
47582 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47584         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47585         (LDFLAGS-tst-array5): Likewise.
47587 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47589         [BZ #15036]
47590         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47591         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47592         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47593         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47595 2013-01-21  David S. Miller  <davem@davemloft.net>
47597         * sysdeps/sparc/backtrace.c: New file.
47598         * sysdeps/sparc/sparc32/backtrace.h: New file.
47599         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47600         * sysdeps/sparc/sparc64/backtrace.h: New file.
47601         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47602         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47603         -funwind-tables.
47605 2013-01-21  Andreas Schwab  <schwab@suse.de>
47607         [BZ #15020]
47608         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47609         closed its stdout.
47611 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47614         "mpa2.h".
47615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47617 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47618             Mark Mitchell  <mark@codesourcery.com>
47619             Tom de Vries  <tom@codesourcery.com>
47620             Paul Pluzhnikov  <ppluzhnikov@google.com>
47622         * debug/tst-backtrace2.c: New file.
47623         * debug/tst-backtrace3.c: Likewise.
47624         * debug/tst-backtrace4.c: Likewise.
47625         * debug/tst-backtrace5.c: Likewise.
47626         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47627         (CFLAGS-tst-backtrace3.c): Likewise.
47628         (CFLAGS-tst-backtrace4.c): Likewise.
47629         (CFLAGS-tst-backtrace5.c): Likewise.
47630         (LDFLAGS-tst-backtrace2): Likewise.
47631         (LDFLAGS-tst-backtrace3): Likewise.
47632         (LDFLAGS-tst-backtrace4): Likewise.
47633         (LDFLAGS-tst-backtrace5): Likewise.
47634         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47635         tst-backtrace4 and tst-backtrace5.
47637 2013-01-18  Anton Blanchard  <anton@samba.org>
47638             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47640         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47641         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47643         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47645         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47646         "+r" and remove output regs list as redundant.  Add explicit inline
47647         asm to specify register of return val to work around compiler codegen
47648         bug.  Remove (int) cast on return value.  Add return type parameter to
47649         use in macro so that this macro does not truncate return value for
47650         64-bit values.
47651         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47652         pass to INTERNAL_VSYSCALL_NCS.
47653         (INLINE_VSYSCALL): Add 'long int' as return type to
47654         INTERNAL_VSYSCALL_NCS macro invocation.
47655         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47656         INTERNAL_VSYSCALL_NCS macro invocation.
47657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47659 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47661         [BZ #14496]
47662         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47663         Fix application of SIMD FP exception mask.
47665         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47666         mp_no from a power of two.
47667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47668         __mpexp_twomm1.  Use __pow_mp.
47670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47671         multiplication.
47673 2013-01-17  David S. Miller  <davem@davemloft.net>
47675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47677 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47679         [BZ #15023]
47680         * include/complex.h: Condition contents on [!_COMPLEX_H].
47681         (__kernel_casinhf): New prototype.
47682         (__kernel_casinh): Likewise.
47683         (__kernel_casinhl): Likewise.
47684         * math/Makefile (libm_calls): Add k_casinh.
47685         * math/k_casinh.c: New file.
47686         * math/k_casinhf.c: Likewise.
47687         * math/k_casinhl.c: Likewise.
47688         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47689         finite nonzero arguments.
47690         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47691         finite nonzero arguments.
47692         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47693         finite nonzero arguments.
47694         * math/s_casinh.c: Do not include <float.h>.
47695         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47696         * math/s_casinhf.c: Do not include <float.h>.
47697         (__casinhf): Move code for finite nonzero arguments to
47698         k_casinhf.c.
47699         * math/s_casinhl.c: Do not include <float.h>.
47700         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47701         redefine.
47702         (__casinhl): Move code for finite nonzero arguments to
47703         k_casinhl.c.
47704         * math/libm-test.inc (cacos_test): Add more tests.
47705         * sysdeps/i386/fpu/libm-test-ulps: Update.
47706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47708 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47710         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47711         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47712         [!HAVE_MREMAP]: Remove [defined linux] case.
47713         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47715 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47719 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47721         * elf/elf.h (R_386_SIZE32): New relocation.
47722         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47723         R_386_SIZE32.
47724         (elf_machine_rela): Likewise.
47725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47726         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47728 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47730         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47731         (FP_FAST_FMA): Do not define.
47732         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47733         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47734         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47735         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47736         !_SOFT_FLOAT]: Likewise.
47737         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47738         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47739         value.
47740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47741         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47742         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47743         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47744         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47745         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47746         file.
47748 2013-01-16  Andreas Schwab  <schwab@suse.de>
47750         [BZ #14327]
47751         * include/stdlib.h (__mktemp): Add declaration.
47752         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47753         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47755 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47757         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47758         definitions.
47759         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47760         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47761         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47762         definitions here.
47763         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47764         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47765         definitions.
47766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47767         and ONE.
47768         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47769         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47771         definitions.
47772         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47773         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47774         definitions.
47775         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47777         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47779 2013-01-15  David S. Miller  <davem@davemloft.net>
47781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47782         trunc{,f} to libm-sysdep_routes.
47783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47785         file.
47786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47788         file.
47789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47790         file.
47791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47793         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47794         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47795         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47796         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47797         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47798         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47801         nearbyint{,f} to libm-sysdep_routes.
47802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47804         New file.
47805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47806         file.
47807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47808         New file.
47809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47810         file.
47811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47814         file.
47815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47816         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47817         file.
47818         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47819         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47820         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47822         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47823         libc_feholdexcept and libc_fesetenv.
47825 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47827         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47829 2013-01-14  David S. Miller  <davem@davemloft.net>
47831         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47832         (SPARC_ASM_VIS2_IFUNC): Likewise.
47833         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47835         use of 'siam' instruction.
47836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47837         Likewise.
47838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47839         Likewise.
47840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47841         Likewise.
47842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47847         file.
47848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47849         file.
47850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47851         file.
47852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47853         file.
47854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47859         new VIS2 routines.
47860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47863         Likewise.
47864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47869         routines to libm-sysdep_routines.
47870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47873         fdim/fdimf to libm-sysdep_routines.
47874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47875         file.
47876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47878         file.
47879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47882         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47883         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47884         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47885         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47887 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47890         to optimize copies.
47892         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47897         local variable MPTWO.
47898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47899         Likewise.
47901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47903         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47904         GLOB_NOESCAPE.
47906 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47908         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47910 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47912         * manual/pattern.texi (glob_t): Document gl_flags.
47913         (glob64_t): Likewise.
47915 2013-01-11  David S. Miller  <davem@davemloft.net>
47917         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47918         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47919         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47920         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47921         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47922         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47923         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47924         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47925         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47926         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47927         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47928         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47929         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47931         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47932         sparc V9 rather than using V8 code.
47933         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47934         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47936         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47937         Move to...
47938         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47939         Here.
47941 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47943         [BZ #14941]
47944         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47945         not in the main loop.
47946         * configure: Regenerated.
47948 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47950         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47951         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47952         to just #else.
47953         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47954         [!__GLIBC_HAVE_LONG_LONG] case.
47955         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47956         condition to just #else.
47957         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47958         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47959         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47960         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47961         unconditional.
47962         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47963         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47964         #elif condition to just #else.
47965         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47966         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47967         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47968         #elif condition to just #else.
47970 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47972         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47973         (EF_MIPS_ARCH_64): Fix value.
47974         (EF_MIPS_ARCH_32R2): New.
47975         (EF_MIPS_ARCH_64R2): New.
47977 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47979         * Makeconfig (+link-pie-before-libc): New.
47980         (+link-pie-after-libc): Likewise.
47981         (+link-pie-tests): Likewise.
47982         (+link-pie): Rewritten.
47983         (link-before-libc): Remove $(config-LDFLAGS).
47984         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47985         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47986         (config-LDFLAGS): Renamed to ...
47987         (rtld-LDFLAGS): This.
47988         (rtld-tests-LDFLAGS): New macro.
47989         (link-libc-rpath-link): Likewise.
47990         (link-libc-tests-rpath-link): Likewise.
47991         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47992         (link-libc): Prepand $(link-libc-rpath-link).
47993         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47994         (test-program-prefix): New macro.
47995         (test-via-rtld-prefix): Likewise.
47996         (test-program-cmd): Likewise.
47997         (host-test-program-cmd): Likewise.
47998         * Makefile ($(common-objpfx)testrun.sh): Replace
47999         $(run-program-prefix) with $(test-program-prefix).
48000         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48001         $(rtld-LDFLAGS).
48002         ($(common-objpfx)shlib.lds): Likewise.
48003         (build-module-helper): Likewise.
48004         ($(common-objpfx)format.lds): Likewise.
48005         * Rules (binaries-pie-tests): New.
48006         (binaries-pie-notests): Likewise.
48007         (binaries-pie): Rewritten.
48008         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48009         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48010         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48011         (make-test-out): Replace $(host-built-program-cmd) with
48012         $(host-test-program-cmd).
48013         * config.make.in (build-hardcoded-path-in-tests): New variable.
48014         * configure.in (--enable-hardcoded-path-in-tests): New configure
48015         option.
48016         (hardcoded_path_in_tests): New AC_SUBST.
48017         * configure: Regenerated.
48018         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48019         $(built-program-cmd) with $(test-program-cmd).
48020         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48021         (test_program_cmd): This.
48022         * elf/Makefile ($(objpfx)order.out): Run test with
48023         $(test-program-prefix).
48024         ($(objpfx)order2.out): Likewise.
48025         ($(objpfx)tst-initorder.out): Likewise.
48026         ($(objpfx)tst-initorder2.out): Likewise.
48027         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48028         $(test-program-cmd).
48029         ($(objpfx)tst-array1-static.out): Likewise.
48030         ($(objpfx)tst-array2.out): Likewise.
48031         ($(objpfx)tst-array3.out): Likewise.
48032         ($(objpfx)tst-array4.out): Likewise.
48033         ($(objpfx)tst-array5.out): Likewise.
48034         ($(objpfx)tst-array5-static.out): Likewise.
48035         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48036         $(test-program-cmd).
48037         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48038         $(run-program-prefix) with $(test-program-prefix).
48039         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48040         (test_program_prefix): This.
48041         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48042         $(run-program-prefix) with $(test-program-prefix).
48043         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48044         (test_program_prefix): This.
48045         * iconvdata/tst-tables.sh: Likewise.
48046         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48047         $(run-program-prefix) with $(test-program-prefix).
48048         ($(objpfx)tst-translit.out): Likewise.
48049         ($(objpfx)tst-gettext2.out): Likewise.
48050         ($(objpfx)tst-gettext4.out): Likewise.
48051         ($(objpfx)tst-gettext6.out): Likewise.
48052         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48053         (test_program_prefix): This.
48054         * intl/tst-gettext2.sh: Likewise.
48055         * intl/tst-gettext4.sh  Likewise.
48056         * intl/tst-gettext6.sh: Likewise.
48057         * intl/tst-translit.sh: Likewise.
48058         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48059         with $(test-program-cmd).
48060         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48061         $(run-program-prefix) with $(test-program-prefix).
48062         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48063         (test_program_prefix): This.
48064         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48065         $(run-program-prefix) with $(test-program-prefix).
48066         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48067         (test_program_prefix): This.
48068         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48069         * posix/Makefile ($(objpfx)globtest.out): Replace
48070         $(run-via-rtld-prefix) and $(test-wrapper) with
48071         $(test-program-prefix) and $(test-via-rtld-prefix).
48072         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48073         $(test-program-prefix).
48074         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48075         $(host-test-program-cmd).
48076         (tst-spawn-ARGS): Likewise.
48077         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48078         $(test-program-prefix).
48079         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48080         (test_via_rtld_prefix): This.
48081         (test_wrapper): Renamed to ...
48082         (test_program_prefix): This.
48083         (run_program_prefix): Replaced by test_program_prefix.
48084         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48085         (test_program_prefix): This.
48086         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48087         with $(host-test-program-cmd).
48088         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48089         $(run-program-prefix) with $(test-program-prefix).
48090         ($(objpfx)tst-printf.out): Likewise.
48091         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48092         $(test-program-cmd).
48093         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48094         (test_program_prefix): This.
48095         * stdio-common/tst-unbputc.sh: Likewise.
48096         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48097         $(run-program-prefix) with $(test-program-prefix).
48098         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48099         (test_program_prefix): This.
48100         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48101         $(built-program-cmd) with $(test-program-cmd).
48103 2013-01-11  Andreas Jaeger  <aj@suse.de>
48105         [BZ #15003]
48106         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48107         value. Sync with Linux 3.7.
48109 2013-01-10  David S. Miller  <davem@davemloft.net>
48111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48112         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48113         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48115 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48117         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48118         never set.
48119         * configure: Regenerated.
48121 2013-01-10  David S. Miller  <davem@davemloft.net>
48123         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48124         sparc V9 rather than using V8 code.
48125         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48126         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48128 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48130         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48131         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48132         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48133         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48134         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48135         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48136         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48137         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48138         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48139         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48140         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48141         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48142         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48143         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48144         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48145         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48146         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48147         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48148         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48149         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48150         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48151         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48152         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48153         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48154         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48155         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48156         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48158 2013-01-10  David S. Miller  <davem@davemloft.net>
48160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48162 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48164         * posix/Makefile (tests-static): New variable.
48165         (tests): Add $(tests-static).
48166         (tst-exec-static-ARGS): New variable.
48167         (tst-spawn-static-ARGS): Likewise.
48168         * posix/tst-exec-static.c: New file.
48169         * posix/tst-spawn-static.c: Likewise.
48170         * posix/tst-exec.c: Support run directly.
48171         * posix/tst-spawn.c: Likewise.
48173 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48175         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48176         long.
48177         * math/bits/mathcalls.h (llrint): Likewise.
48178         (llround): Likewise.
48179         * stdlib/stdlib.h (struct drand48_data): Likewise.
48180         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48181         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48182         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48183         Likewise.
48184         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48185         Likewise.
48186         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48187         (elf_greg_t): Likewise.
48188         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48189         (__jmp_buf): Likewise.
48190         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48191         definitions.
48192         (llrint): Likewise, for all definitions.
48193         (llrintl): Likewise.
48195         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48196         Remove [__GNUC__] condition.
48197         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48198         condition to just [__USE_ISOC99].
48199         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48201 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48203         [BZ #14200]
48204         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48205         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48206         defined.
48207         (_POSIX_V6_ILP32_OFF32): Likewise.
48208         (_XBS5_ILP32_OFF32): Likewise.
48209         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48210         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48212 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48214         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48217         doubles __mpexp_twomm1.  Adjust usage.
48218         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48219         Remove.
48221 2013-01-10  Andreas Schwab  <schwab@suse.de>
48223         [BZ #14964]
48224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48225         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48227 2013-01-09  David S. Miller  <davem@davemloft.net>
48229         [BZ #15003]
48230         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48231         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48232         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48233         (TCP_FASTOPEN): Define.
48234         (tcp_repair_opt): New structure.
48235         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48236         enum values.
48237         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48238         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48239         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48240         (tcp_cookie_transactions): New structure.
48242 2013-01-09  Anton Blanchard  <anton@samba.org>
48244         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48245         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48247         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48249 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48251         * include/features.h (__USE_ANSI): Remove.
48253 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48255         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48257         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48259 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48261         * sysdeps/s390/fpu/libm-test-ulps: Update.
48263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48265         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48266         (__acr): Likewise.
48267         (__cpy): Likewise.
48268         (norm): Likewise.
48269         (denorm): Likewise.
48270         (__mp_dbl): Likewise.
48271         (__dbl_mp): Likewise.
48272         (add_magnitudes): Likewise.
48273         (sub_magnitudes): Likewise.
48274         (__add): Likewise.
48275         (__sub): Likewise.
48276         (__mul): Likewise.
48277         (__inv): Likewise.
48278         (__dvd): Likewise.
48279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48280         (__acr): Likewise.
48281         (__cpy): Likewise.
48282         (norm): Likewise.
48283         (denorm): Likewise.
48284         (__mp_dbl): Likewise.
48285         (__dbl_mp): Likewise.
48286         (add_magnitudes): Likewise.
48287         (sub_magnitudes): Likewise.
48288         (__add): Likewise.
48289         (__sub): Likewise.
48290         (__mul): Likewise.
48291         (__inv): Likewise.
48292         (__dvd): Likewise.
48293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48294         (__acr): Likewise.
48295         (__cpy): Likewise.
48296         (norm): Likewise.
48297         (denorm): Likewise.
48298         (__mp_dbl): Likewise.
48299         (__dbl_mp): Likewise.
48300         (add_magnitudes): Likewise.
48301         (sub_magnitudes): Likewise.
48302         (__add): Likewise.
48303         (__sub): Likewise.
48304         (__mul): Likewise.
48305         (__inv): Likewise.
48306         (__dvd): Likewise.
48308 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48310         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48311         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48312         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48313         2 && __USE_EXTERN_INLINES]: Likewise.
48315 2013-01-08  Andreas Jaeger  <aj@suse.de>
48317         [BZ# 14985]
48318         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48319         Remove.
48320         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48321         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48323 2013-01-07  Anton Blanchard  <anton@samba.org>
48325         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48326         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48327         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48328         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48329         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48330         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48331         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48332         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48334         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48335         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48336         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48338         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48340         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48341         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48343         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48344         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48345         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48346         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48347         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48348         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48349         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48350         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48351         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48352         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48354         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48355         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48357         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48358         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48359         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48360         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48361         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48362         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48363         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48364         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48365         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48367         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48369 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48371         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48372         (__MALLOC_PMT): Likewise.
48373         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48374         [__GNUC__], only on [_LIBC].
48375         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48376         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48377         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48378         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48379         forward declaration.
48380         (realloc_hook_ini): Likewise.
48381         (memalign_hook_ini): Likewise.
48382         (__libc_memalign): Do not use __MALLOC_PMT in variable
48383         declaration.
48384         (__libc_valloc): Likewise.
48385         (__libc_pvalloc): Likewise.
48386         (__libc_calloc): Likewise.
48387         (__posix_memalign): Likewise.
48389         [BZ #14996]
48390         * math/s_casinh.c: Include <float.h>.
48391         (__casinh): Do not do computation with squaring and square root
48392         for large arguments.
48393         * math/s_casinhf.c: Include <float.h>.
48394         (__casinhf): Do not do computation with squaring and square root
48395         for large arguments.
48396         * math/s_casinhl.c: Include <float.h>.
48397         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48398         (__casinhl): Do not do computation with squaring and square root
48399         for large arguments.
48400         * math/libm-test.inc (casin_test): Add more tests.
48401         (casinh_test): Likewise.
48402         * sysdeps/i386/fpu/libm-test-ulps: Update.
48403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48405 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48407         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48408         (__x86_64_raw_data_cache_size): Likewise.
48409         (__x86_64_data_cache_size_half): Likewise.
48410         (__x86_64_raw_data_cache_size_half): Likewise.
48411         (__x86_64_shared_cache_size): Likewise.
48412         (__x86_64_raw_shared_cache_size): Likewise.
48413         (__x86_64_shared_cache_size_half): Likewise.
48414         (__x86_64_raw_shared_cache_size_half): Likewise.
48415         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48416         to ...
48417         (__x86_data_cache_size): This.
48418         (__x86_64_raw_data_cache_size): Renamed to ...
48419         (__x86_raw_data_cache_size): This.
48420         (__x86_64_data_cache_size_half): Renamed to ...
48421         (__x86_data_cache_size_half): This.
48422         (__x86_64_raw_data_cache_size_half): Renamed to ...
48423         (__x86_raw_data_cache_size_half): This.
48424         (__x86_64_shared_cache_size): Renamed to ...
48425         (__x86_shared_cache_size): This.
48426         (__x86_64_raw_shared_cache_size): Renamed to ...
48427         (__x86_raw_shared_cache_size): This.
48428         (__x86_64_shared_cache_size_half): Renamed to ...
48429         (__x86_shared_cache_size_half): This.
48430         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48431         (__x86_raw_shared_cache_size_half): This.
48432         * sysdeps/x86_64/memcpy.S: Updated.
48433         * sysdeps/x86_64/memset.S: Likewise.
48434         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48438 2013-01-04  David S. Miller  <davem@davemloft.net>
48440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48442 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48444         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48445         1 to avoid redefinition warning.
48446         (__USE_GNU): Don't define.
48447         (init_signaling_nan): Protoize.
48449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48451 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48453         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48455         (__cpymn): Likewise.
48456         (norm): Remove commented code.
48457         (denorm): Likewise.
48458         (__mp_dbl): Likewise.
48459         (__inv): Likewise.
48460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48461         (__cpymn): Likewise.
48462         (norm): Remove commented code.
48463         (denorm): Likewise.
48464         (__mp_dbl): Likewise.
48465         (__inv): Likewise.
48467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48468         mp_no value for 1.0 and 2.0.
48469         (norm): Use RADIXI instead of radixi.d.
48470         (denorm): Likewise.
48471         (__mul): Use 0.0 instead of zero.d.
48472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48473         mp_no value for 1.0 and 2.0.
48474         (norm): Use RADIXI instead of radixi.d.
48475         (denorm): Likewise.
48476         (__mul): Use 0.0 instead of zero.d.
48478 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48480         [BZ #14994]
48481         * math/s_casinh.c (__casinh): Reduce finite argument to first
48482         quadrant then set signs of results at the end.
48483         * math/s_casinhf.c (__casinhf): Likewise.
48484         * math/s_casinhl.c (__casinhl): Likewise.
48485         * math/libm-test.inc (casin_test): Add more tests.
48486         (casinh_test): Likewise.
48487         * sysdeps/i386/fpu/libm-test-ulps: Update.
48488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48490 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48492         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48494         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48496         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48497         declarations.
48498         (denorm): Likewise.
48499         (__mp_dbl): Likewise.
48500         (__inv): Likewise.
48502         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48503         and adjust the header comment.
48505         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48506         variable name from declaration.
48508 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48511         Initialize COMMON_CPUID_INDEX_7 element.
48512         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48513         (CPUID_RTM): Likewise.
48514         (HAS_RTM): Likewise.
48515         (COMMON_CPUID_INDEX_7): New enum.
48517 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48519         [BZ #14981]
48520         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48521         size is zero, record memory as freed.
48523 2013-01-03  Andreas Jaeger  <aj@suse.de>
48525         * po/ia.po: Add new Interlingua translation.
48527 2012-01-03  Allan McRae  <allan@archlinux.org>
48529         * locale/programs/localedef.c: Fix description of '--posix' flag.
48531 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48533         * NEWS: Update dates in second copyright notice.
48534         * README: Update copyright dates in example.
48535         * manual/libc.texinfo: Update copyright dates.
48536         * scripts/test-installation.pl: Update copyright date in --version
48537         output.
48539         * hurd/ctty-input.c: Fix copyright notice formatting.
48540         * hurd/ctty-output.c: Likewise.
48541         * hurd/dtable.c: Likewise.
48542         * hurd/hurd-raise.c: Likewise.
48543         * hurd/hurdprio.c: Likewise.
48544         * hurd/msgportdemux.c: Likewise.
48545         * misc/sys/file.h: Likewise.
48546         * misc/sys/ioctl.h: Likewise.
48547         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48548         * sysdeps/mach/hurd/chdir.c: Likewise.
48549         * sysdeps/mach/hurd/fchdir.c: Likewise.
48550         * sysdeps/mach/hurd/rename.c: Likewise.
48551         * sysdeps/mach/hurd/rmdir.c: Likewise.
48552         * sysdeps/mach/hurd/seekdir.c: Likewise.
48553         * sysdeps/mach/hurd/setsid.c: Likewise.
48554         * sysdeps/posix/wait3.c: Likewise.
48556         * All files with FSF copyright notices: Update copyright dates
48557         using scripts/update-copyrights.
48558         * intl/plural.c: Regenerated.
48559         * locale/programs/charmap-kw.h: Likewise.
48560         * locale/programs/locfile-kw.h: Likewise.
48562 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48564         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48565         four values.
48567         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48568         calculation loop and add branch prediction.
48570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48571         check access beyond bounds of m1np.
48573         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48574         MPTWO.
48575         (__inv): Remove local variable MPTWO to use the global
48576         constant.
48577         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48579         variable MPTWO.
48580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48581         MP3HALFS static const.
48583 2013-01-01  David S. Miller  <davem@davemloft.net>
48585         * po/ca.po: Update from translation team.
48587 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48589         * scripts/update-copyrights: New file.
48590         * Makeconfig: Reformat copyright notice.
48591         * ctype/ctype.h: Likewise.
48592         * debug/swprintf_chk.c: Likewise.
48593         * elf/dl-cache.c: Likewise.
48594         * elf/dl-debug.c: Likewise.
48595         * elf/dl-object.c: Likewise.
48596         * grp/initgroups.c: Likewise.
48597         * hurd/Makefile: Likewise.
48598         * hurd/hurd/signal.h: Likewise.
48599         * hurd/hurdfault.c: Likewise.
48600         * hurd/hurdioctl.c: Likewise.
48601         * hurd/hurdlookup.c: Likewise.
48602         * hurd/intr-msg.c: Likewise.
48603         * iconv/gconv_open.c: Likewise.
48604         * libio/swprintf.c: Likewise.
48605         * locale/lc-ctype.c: Likewise.
48606         * locale/nl_langinfo.c: Likewise.
48607         * mach/Machrules: Likewise.
48608         * mach/Makefile: Likewise.
48609         * malloc/obstack.h: Likewise.
48610         * manual/Makefile: Likewise.
48611         * manual/tsort.awk: Likewise.
48612         * misc/bits/stab.def: Likewise.
48613         * nis/nis_print_group_entry.c: Likewise.
48614         * nis/nis_table.c: Likewise.
48615         * nis/nss_compat/compat-pwd.c: Likewise.
48616         * nis/nss_compat/compat-spwd.c: Likewise.
48617         * po/Makefile: Likewise.
48618         * posix/fnmatch.c: Likewise.
48619         * posix/regex.h: Likewise.
48620         * resolv/Makefile: Likewise.
48621         * resolv/nss_dns/dns-network.c: Likewise.
48622         * resolv/res_hconf.c: Likewise.
48623         * scripts/gen-sorted.awk: Likewise.
48624         * soft-fp/soft-fp.h: Likewise.
48625         * stdio-common/printf.h: Likewise.
48626         * stdlib/monetary.h: Likewise.
48627         * stdlib/random.c: Likewise.
48628         * stdlib/random_r.c: Likewise.
48629         * sysdeps/generic/Makefile: Likewise.
48630         * sysdeps/gnu/Makefile: Likewise.
48631         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48634         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48636         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48642         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48643         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48644         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48645         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48646         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48647         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48650         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48651         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48652         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48653         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48659         * sysdeps/mach/hurd/errnos.awk: Likewise.
48660         * sysdeps/mach/hurd/fork.c: Likewise.
48661         * sysdeps/mach/hurd/getcwd.c: Likewise.
48662         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48663         * sysdeps/mach/hurd/mmap.c: Likewise.
48664         * sysdeps/mach/hurd/utimes.c: Likewise.
48665         * sysdeps/mach/hurd/xmknod.c: Likewise.
48666         * sysdeps/posix/profil.c: Likewise.
48667         * sysdeps/posix/readdir_r.c: Likewise.
48668         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48669         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48670         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48671         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48675         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48677         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48679         * sysdeps/pthread/lio_listio.c: Likewise.
48680         * sysdeps/sparc/dl-procinfo.h: Likewise.
48681         * sysdeps/unix/i386/sysdep.S: Likewise.
48682         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48683         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48684         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48685         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48687         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48688         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48689         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48690         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48691         * sysdeps/wordsize-32/divdi3.c: Likewise.
48692         * time/sys/time.h: Likewise.
48693         * wcsmbs/Makefile: Likewise.
48695 2013-01-01  David S. Miller  <davem@davemloft.net>
48697         * po/fr.po: Update from translation team.
48699         * catgets/gencat.c: Update copyright year.
48700         * csu/version.c: Likewise.
48701         * debug/catchsegv.sh: Likewise.
48702         * debug/pcprofiledump.c: Likewise.
48703         * debug/xtrace.sh: Likewise.
48704         * elf/ldconfig.c: Likewise.
48705         * elf/ldd.bash.in: Likewise.
48706         * elf/pldd.c: Likewise.
48707         * elf/sotruss.ksh: Likewise.
48708         * elf/sprof.c: Likewise.
48709         * iconv/iconv_prog.c: Likewise.
48710         * iconv/iconvconfig.c: Likewise.
48711         * locale/programs/locale.c: Likewise.
48712         * locale/programs/localedef.c: Likewise.
48713         * login/programs/pt_chown.c: Likewise.
48714         * malloc/memusage.sh: Likewise.
48715         * malloc/memusagestat.c: Likewise.
48716         * malloc/mtrace.pl: Likewise.
48717         * nscd/nscd.c: Likewise.
48718         * nss/getent.c: Likewise.
48719         * nss/makedb.c: Likewise.
48720         * posix/getconf.c: Likewise.
48722 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48724         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48725         numbers.
48727 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48729         * math/bits/mathcalls.h (modf): Use __nonnull.
48731 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48733         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48734         (split): Use macro CN instead of the bare value.
48735         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48736         could be used.
48737         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48738         instead of the bare value.
48739         (power1): Likewise.
48741 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48744         __ATAN_TWOM.
48745         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48747         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48748         their values.
48749         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48751         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48752         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48754 2012-12-28  Andreas Jaeger  <aj@suse.de>
48756         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48757         values are from Linux 3.7.
48759         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48760         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48762 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48764         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48765         TRUE case.
48767         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48768         (norm): Likewise.
48769         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48770         variables with preprocessor constants.
48771         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48772         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48773         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48775 2012-12-27  Bruno Haible  <bruno@clisp.org>
48777         [BZ #14317]
48778         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48779         only if needed.
48781 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48784         and use variable directly.
48785         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48787         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48788         MPONE.
48789         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48791         variable MPONE.
48792         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48794         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48795         include directive.  Remove local variable MPONE.
48796         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48797         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48798         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48800 2012-12-25  David S. Miller  <davem@davemloft.net>
48802         * version.h (RELEASE): Set to "development".
48803         (VERSION): Set to "2.17.90".
48804         * NEWS: Add 2.18 section.
48806 2012-12-21  David S. Miller  <davem@davemloft.net>
48808         * po/hr.po: Update from translation team.
48810 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48812         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48814 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48816         * NEWS:  Mention new memcpy for MIPS.
48818 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48820         * manual/contrib.texi (Contributors): Spelling correction.
48822 2012-12-15  David S. Miller  <davem@davemloft.net>
48824         * po/ru.po: Update from translation team.
48826 2012-12-13  David S. Miller  <davem@davemloft.net>
48828         * NEWS: Mention IFUNC testsuite enhancements.
48830         * po/pl.po: Update from translation team.
48831         * po/bg.po: Likewise.
48833         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48834         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48836 2012-12-11  David S. Miller  <davem@davemloft.net>
48838         * po/sv.po: Update from translation team.
48840         * po/vi.po: Update from translation team.
48842         * po/cs.po: Update from translation team.
48844         * po/de.po: Update from translation team.
48845         * po/eo.po: Likewise.
48846         * po/nl.po: Likewise.
48848 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48850         [BZ #14246]
48851         * manual/argp.texi (Argp Helper Functions): Move node to follow
48852         Argp Parsing State.
48854         [BZ #14872]
48855         * manual/conf.texi (Limits on File System Capacity): Mention if
48856         terminating null is included in the max size.
48858 2012-12-10  Andreas Jaeger  <aj@suse.de>
48860         * po/cs.po: Update from translation team.
48862 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48864         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48865         void pointer and cast to uintptr_t.
48866         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48867         path.
48868         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48869         * sysdeps/s390/s390-64/memset.S: Likewise.
48871 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48873         [BZ #14833]
48874         * menual/message.texi (Message Translation): Fix typos.
48875         (Helper programs for gettext): Likewise.
48877 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48879         [BZ #14898]
48880         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48881         Change to -1.
48883 2012-12-07  David S. Miller  <davem@davemloft.net>
48885         * po/libc.pot: Update.
48887 2012-12-07  Richard Henderson  <rth@redhat.com>
48889         [BZ #10114]
48890         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48891         normal/normal case to before the switch.
48892         (_FP_DIV): Likewise.
48894 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48895             Mike Frysinger  <vapier@gentoo.org>
48897         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48898         check for __NR_fadvise64_64.
48900 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48902         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48903         0, not just to plain "0" as a statement.
48904         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48905         with cw.
48907 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48909         * NEWS: Use sourceware.org in Bugzilla URL.
48911 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48914         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48916         * stdio-common/tst-put-error.c (do_test): Add newline to the
48917         padded test to ensure flush.
48919 2012-12-05  Jeff Law  <law@redhat.com>
48921         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48923 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48925         * README: Don't refer to ports add-on as distributed separately.
48926         Mention AArch64 in list of systems supported in the ports add-on.
48928         * LICENSES: Add more non-FSF copyright and license notices.
48930         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48931         ((unused)).
48933         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48935         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48936         10000 as width of padded output.
48938 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48940         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48942         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48943         variable LX with __attribute__ ((unused)).
48944         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48945         Likewise.
48946         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48947         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48949         with __attribute__ ((unused)).
48951 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48953         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48955 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48957         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48958         (CFLAGS-nldbl-acos.c): New variable.
48959         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48960         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48961         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48962         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48963         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48964         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48965         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48966         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48967         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48968         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48969         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48970         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48971         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48972         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48973         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48974         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48975         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48976         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48977         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48978         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48979         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48980         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48981         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48982         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48983         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48984         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48985         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48986         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48987         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48988         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48989         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48990         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48991         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48992         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48993         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48994         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48995         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48996         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48997         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48998         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48999         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49000         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49001         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49002         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49003         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49004         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49005         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49006         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49007         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49008         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49009         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49010         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49011         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49012         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49013         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49014         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49015         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49016         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49017         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49018         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49019         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49020         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49021         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49022         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49023         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49024         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49025         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49026         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49027         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49028         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49029         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49030         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49031         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49032         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49033         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49034         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49035         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49036         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49037         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49038         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49039         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49040         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49041         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49042         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49043         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49044         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49045         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49046         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49047         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49048         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49049         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49050         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49051         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49052         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49053         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49054         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49055         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49058         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49060         [BZ #14914]
49061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49062         whole low double instead of just low 47 bits when splitting values
49063         into two parts.
49065 2012-12-03  Allan McRae  <allan@archlinux.org>
49067         * manual/stdio.texi (Predefined Printf Handlers): Remove
49068         @hsep and @vsep usage.
49070 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49072         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49073         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49075 2012-12-03  Jeff Law  <law@redhat.com>
49077         * time/sys/time.h (settimeofday): Do not mark TV argument
49078         as __nonnull.
49080 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49082         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49083         when currently writing and seek to current position when not.
49084         * libio/Makefile (tests): Remove bug-fclose1.
49085         * libio/bug-fclose1.c: Delete.
49087 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49089         * manual/arith.texi (feenableexcept): Fix typo.
49090         (fedisableexcept): Likewise.
49092 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49094         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49095         second, differently-typed declaration, rather than a cast.
49097 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49099         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49100         * include/rpc/svc.h: ... here.
49102 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49104         [BZ #13013]
49105         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49106         depending n and resplen2 to catch cases where answer
49107         equals answerp2.
49109 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49111         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49112         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49114 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49116         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49118 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49120         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49122 2012-11-28  Jeff Law  <law@redhat.com>
49124         [BZ #13761]
49125         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49126         dataset_temporary.  Track alloca usage into alloca_used.
49127         If dataset is large allocate and release it via malloc/free.
49129 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49131         [BZ #14197]
49132         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49134 2012-11-28  David S. Miller  <davem@davemloft.net>
49136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49138 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49140         [BZ #14803]
49141         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49142         of pi/2 rounded to nearest to 64 bits.
49143         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49144         nearest to 64 bits.
49145         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49146         bits.
49148 2012-11-28  Jeff Law <law@redhat.com>
49149             Martin Osvald <mosvald@redhat.com>
49151         [BZ #14889]
49152         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49153         * sunrpc/svc.c: Include time.h.
49154         (__svc_accept_failed): New function.
49155         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49156         any reason other than EINTR, call __svc_accept_failed.
49157         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49158         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49160 2012-11-28  Andreas Schwab  <schwab@suse.de>
49162         * scripts/abilist.awk: Also handle indirect functions in .opd
49163         section.
49165 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49167         [BZ #13881]
49168         * sysdeps/x86/fpu/powl_helper.c: New file.
49169         * sysdeps/x86/fpu/Makefile: Likewise.
49170         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49171         (p3): New object.
49172         (__ieee754_powl): Use __powl_helper for finite arguments except
49173         integer exponents below 8.
49174         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49175         (p3): New object.
49176         (__ieee754_powl): Use __powl_helper for finite arguments except
49177         integer exponents below 8.
49178         * math/libm-test.inc (pow_test): Add more tests and enable some
49179         previously disabled tests.
49180         * sysdeps/i386/fpu/libm-test-ulps: Update.
49181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49183 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49184             Carlos O'Donell  <carlos_odonell@mentor.com>
49186         * nss/makedb.c (is_prime): Assert that input is odd and greater
49187         than 4.  Note that fact in a comment too.
49188         (next_prime): Add 4 to input.
49190 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49192         [BZ #11741]
49193         * libio/Makefile (tests): Add test case tst-fwrite-error.
49194         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49195         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49196         * libio/tst-fwrite-error.c: New test case.
49198 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49200         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49201         before casting to void *.
49202         * include/libc-internal.h (__pointer_type): New macro.
49203         (__integer_if_pointer_type_sub): Likewise.
49204         (__integer_if_pointer_type): Likewise.
49205         (cast_to_integer): Likewise.
49206         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49207         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49208         before casting to atomic64_t.
49209         (atomic_exchange_acq): Likewise.
49210         (__arch_exchange_and_add_body): Likewise.
49211         (__arch_add_body): Likewise.
49212         (atomic_add_negative): Likewise.
49213         (atomic_add_zero): Likewise.
49215 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49217         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49218         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49219         (add_fdes): Likewise.
49220         (linear_search_fdes): Likewise.
49221         (binary_search_unencoded_fdes): Likewise.
49223 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49225         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49227 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49229         * configure.in: Autodetect C++ header directories.
49230         * configure: Regenerated.
49232 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49234         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49236 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49240 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49242         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49243         LDBL_MANT_DIG == 106]: Disable some tests.
49244         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49245         Likewise.
49246         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49247         Likewise.
49249         [BZ #14871]
49250         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49251         input for small inputs.  Return +/- pi/2 for large inputs.
49252         * math/libm-test.inc (atan_test): Add more tests.
49254         * sysdeps/generic/unwind-dw2-fde-glibc.c
49255         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49256         __attribute__ ((unused)).
49258         [BZ #14645]
49259         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49260         x * y if x and y are nonzero and z is zero.
49262         [BZ #14811]
49263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49264         nonzero exponents with absolute value below 0x1p-117 to +/-
49265         0x1p-117.
49267         [BZ #14869]
49268         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49269         up arguments below 2**-450, not just those below 2**-500.
49270         * math/libm-test.inc (hypot_test): Add another test.
49272         [BZ #14868]
49273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49274         Return a+b for ratio over 2**120, not 2**60.
49275         * math/libm-test.inc (hypot_test): Add another test.
49277         * math/libm-test.inc (clog_test): Use
49278         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49279         (clog10_test): Likewise.
49281         [BZ #6778]
49282         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49284 2012-11-22  Andreas Schwab  <schwab@suse.de>
49286         * sysdeps/i386/fpu/libm-test-ulps: Update.
49288 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49290         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49291         printf output with newline.
49293 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49295         [BZ #14865]
49296         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49297         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49298         -z nodlopen, -z initfirst and -z execstack support.
49299         * configure: Regenerated.
49301         * elf/elf.h (DF_1_NODIRECT): New macro.
49302         (DF_1_IGNMULDEF): Likewise.
49303         (DF_1_NOKSYMS): Likewise.
49304         (DF_1_NOHDR): Likewise.
49305         (DF_1_EDITED): Likewise.
49306         (DF_1_NORELOC): Likewise.
49307         (DF_1_SYMINTPOSE): Likewise.
49308         (DF_1_GLOBAUDIT): Likewise.
49309         (DF_1_SINGLETON): Likewise.
49310         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49311         DT_1_SUPPORTED_MASK bits.
49312         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49314 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49316         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49318 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49320         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49321         macro.
49323         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49324         (sendmmsg): Move declarations...
49325         * socket/sys/socket.h: ... here.
49326         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49327         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49328         include it from...
49329         * socket/recvmmsg.c: ... this new file.
49330         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49331         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49332         definition of __sendmmsg hidden.
49333         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49334         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49335         Move ENOSYS stub into and include it from...
49336         * socket/sendmmsg.c: ... this new file.
49337         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49338         (sysdep_routines): Move recvmmsg and sendmmsg...
49339         * socket/Makefile (routines): ... here.
49340         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49341         (GLIBC_PRIVATE): Add __sendmmsg.
49342         * include/sys/socket.h (__sendmmsg): Add declarations.
49343         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49344         sendmmsg.
49346 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49349         variable I1 with __attribute__ ((unused)).
49350         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49352 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49354         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49355         DUMMY variables with __attribute__ ((unused)).
49357         * bits/byteswap.h: Include <bits/types.h>.
49358         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49360 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49362         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49363         string_t.  Do not manually set errno.
49364         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49365         length with __strnlen.  Make sure to both set errno and return it on
49366         failure.
49368 2012-11-19  David S. Miller  <davem@davemloft.net>
49370         With help from Joseph Myers.
49371         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49372         very large arguments properly.
49373         * math/libm-test.inc (atan_test): New tests.
49374         (atan2_test): New tests.
49375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49378 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49380         [BZ #14856]
49381         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49382         Define to 3.
49384         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49385         [POSIX] (EADDRNOTAVAIL): Likewise.
49386         [POSIX] (EAFNOSUPPORT): Likewise.
49387         [POSIX] (EALREADY): Likewise.
49388         [POSIX] (ECONNABORTED): Likewise.
49389         [POSIX] (ECONNREFUSED): Likewise.
49390         [POSIX] (ECONNRESET): Likewise.
49391         [POSIX] (EDESTADDRREQ): Likewise.
49392         [POSIX] (EDQUOT): Likewise.
49393         [POSIX] (EHOSTUNREACH): Likewise.
49394         [POSIX] (EIDRM): Likewise.
49395         [POSIX] (EISCONN): Likewise.
49396         [POSIX] (ELOOP): Likewise.
49397         [POSIX] (EMULTIHOP): Likewise.
49398         [POSIX] (ENETDOWN): Likewise.
49399         [POSIX] (ENETUNREACH): Likewise.
49400         [POSIX] (ENOBUFS): Likewise.
49401         [POSIX] (ENODATA): Likewise.
49402         [POSIX] (ENOLINK): Likewise.
49403         [POSIX] (ENOMSG): Likewise.
49404         [POSIX] (ENOPROTOOPT): Likewise.
49405         [POSIX] (ENOSR): Likewise.
49406         [POSIX] (ENOSTR): Likewise.
49407         [POSIX] (ENOTCONN): Likewise.
49408         [POSIX] (ENOTSOCK): Likewise.
49409         [POSIX] (EOPNOTSUPP): Likewise.
49410         [POSIX] (EOVERFLOW): Likewise.
49411         [POSIX] (EPROTO): Likewise.
49412         [POSIX] (EPROTONOSUPPORT): Likewise.
49413         [POSIX] (EPROTOTYPE): Likewise.
49414         [POSIX] (ESTALE): Likewise.
49415         [POSIX] (ETIME): Likewise.
49416         [POSIX] (ETXTBSY): Likewise.
49417         [POSIX] (EWOULDBLOCK): Likewise.
49418         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49419         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49420         [POSIX] (SEEK_CUR): Likewise.
49421         [POSIX] (SEEK_END): Likewise.
49422         [POSIX || UNIX98] (mode_t): Do not require.
49423         [POSIX] (off_t): Likewise.
49424         [POSIX] (pid_t): Likewise.
49425         [POSIX] (sys/stat.h): Do not allow header.
49426         [POSIX] (unistd.h): Likewise.
49427         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49428         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49429         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49430         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49431         require.
49432         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49433         sigevent): Specify elements.
49434         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49435         entry.
49436         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49437         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49439         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49440         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49441         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49442         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49443         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49444         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49445         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49446         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49447         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49448         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49449         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49450         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49451         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49452         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49453         Likewise.
49454         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49455         Likewise.
49456         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49457         Likewise.
49458         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49459         Likewise.
49460         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49461         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49462         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49463         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49464         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49465         Specify lower bound on value.
49466         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49467         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49468         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49469         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49470         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49471         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49472         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49473         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49474         value.
49475         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49476         as optional.
49477         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49478         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49479         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49480         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49481         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49482         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49483         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49484         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49485         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49486         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49487         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49488         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49489         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49490         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49491         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49492         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49493         entry.
49494         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49495         optional.
49496         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49497         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49498         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49499         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49500         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49501         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49502         Likewise.
49503         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49504         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49505         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49506         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49507         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49508         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49509         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49510         as optional.
49511         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49512         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49513         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49514         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49515         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49516         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49517         specify as optional.
49518         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49519         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49520         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49521         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49522         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49523         [XPG3] (NL_LANGMAX): Likewise.
49524         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49525         [POSIX || XPG3] (NL_NMAX): Likewise.
49526         [POSIX || XPG3] (NL_SETMAX): Likewise.
49527         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49528         [XPG3] (NZERO): Likewise.
49529         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49530         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49531         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49532         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49533         (REG_ERANGE): Expect.
49534         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49535         optional-constant.
49536         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49537         Use (void) in prototype.
49538         [POSIX] (*_t): Allow.
49539         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49540         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49541         (WRDE_BADVAL): Expect.
49543         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49544         expect.
49545         [XPG3 || XPG4] (O_RSYNC): Likewise.
49546         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49547         Likewise.
49548         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49549         [XPG3 || XPG4] (sigqueue): Likewise.
49550         [XPG3 || XPG4] (sigtimedwait): Likewise.
49551         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49552         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49553         [XPG3 || XPG4] (vsnprintf): Likewise.
49554         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49555         Likewise.
49556         [XPG3 || XPG4] (blksize_t): Likewise.
49557         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49558         Likewise.
49559         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49560         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49561         [XPG3 || XPG4] (struct itimerspec): Likewise.
49562         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49563         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49564         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49565         [XPG3 || XPG4] (clockid_t): Likewise.
49566         [XPG3 || XPG4] (timer_t): Likewise.
49567         [XPG3 || XPG4] (clock_getres): Likewise.
49568         [XPG3 || XPG4] (clock_gettime): Likewise.
49569         [XPG3 || XPG4] (clock_settime): Likewise.
49570         [XPG3 || XPG4] (nanosleep): Likewise.
49571         [XPG3 || XPG4] (timer_create): Likewise.
49572         [XPG3 || XPG4] (timer_delete): Likewise.
49573         [XPG3 || XPG4] (timer_gettime): Likewise.
49574         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49575         [XPG3 || XPG4] (timer_settime): Likewise.
49576         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49577         [XPG3 || XPG4] (getlogin_r): Likewise.
49578         [XPG3 || XPG4] (pread): Likewise.
49579         [XPG3 || XPG4] (pthread_atfork): Likewise.
49580         [XPG3 || XPG4] (pwrite): Likewise.
49582         [BZ #14835]
49583         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49584         <bits/siginfo.h>.
49586 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49588         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49589         finalizing MALLSTREAM.
49591         * sysdeps/mach/hurd/syncfs.c: New file.
49593 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49595         [BZ #14719]
49596         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49597         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49598         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49599         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49600         (_nss_dns_gethostbyname4_r): Likewise.
49601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49602         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49604 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49606         [BZ #13763]
49607         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49609 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49611         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49612         * elf/cache.c (print_entry): Print ",AArch64" for
49613         FLAG_AARCH64_LIB64
49615         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49616         * elf/cache.c (print_entry): Print ",hard-float" for
49617         FLAG_ARM_LIBHF.
49619 2012-11-18  David S. Miller  <davem@davemloft.net>
49621         With help from Joseph Myers.
49622         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49623         cutoff to 2**-13.
49624         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49625         cutoff to 2**-25.
49626         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49627         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49628         small.
49629         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49630         * math/libm-test.inc (y0_test): New tests.
49631         (y1_test): New tests.
49632         * sysdeps/i386/fpu/libm-test-ulps: Update.
49633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49636 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49638         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49639         64-bit targets.
49640         * configure: Regenerated.
49642 2012-11-17  David S. Miller  <davem@davemloft.net>
49644         [BZ #14811]
49645         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49646         nonzero exponents with absolute value below 0x1p-128 to +/-
49647         0x1p-128.
49649 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49651         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49653         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49655         * posix/getconf-speclist.c: New file.
49656         * posix/posix-envs.def: Likewise.
49657         * posix/confstr.c (START_ENV_GROUP): New macro.
49658         (END_ENV_GROUP): Likewise.
49659         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49660         (KNOWN_PRESENT_ENV_STRING): Likewise.
49661         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49662         (UNKNOWN_ENVIRONMENT): Likewise.
49663         (confstr): Include posix-envs.def instead of handling
49664         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49665         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49666         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49667         (END_ENV_GROUP): Likewise.
49668         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49669         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49670         (UNKNOWN_ENVIRONMENT): Likewise.
49671         (__sysconf): Include posix-envs.def instead of handling associated
49672         cases directly here.
49673         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49674         preprocessing getconf-speclist.c rather than running getconf or
49675         generating empty file.
49677 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49679         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49681 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49683         [BZ #14672]
49684         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49686 2012-11-16  David S. Miller  <davem@davemloft.net>
49688         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49689         smaller than LDBL_EPSILON/2.0L, just return xm1.
49691 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49693         * elf/tst-array1.c (init): Set constructor priority to 1000.
49694         (fini): Set destructor priority to 1000.
49695         * elf/tst-array2dep.c: Likewise.
49697 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49699         [BZ #11741]
49700         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49701         (_IO_new_file_xsputn): Also return EOF if none of the input
49702         data was written when overflow failed.
49703         * libio/iopadn.c (_IO_padn): Likewise.
49704         * libio/iowpadn.c (_IO_wpadn): Likewise.
49705         * stdio-common/tst-put-error.c: Add copyright notice.
49706         (do_test): Add case for printing padded string.
49707         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49708         _IO_padn returned error.
49709         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49710         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49711         return EOF.
49713 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49715         * libio/libioP.h: Add comment note that the references to C++
49716         bits are now obsolete.
49718 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49720         * math/libm-test.inc (check_complex): Use asprintf.
49722 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49724         * debug/pcprofiledump.c (print_version): Update copyright year.
49725         * malloc/memusagestat.c (print_version): Likewise.
49727 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49729         [BZ #14831]
49730         * elf/Makefile (tests): Add tst-audit8.
49731         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49732         ($(objpfx)tst-audit8.out): New target.
49733         (tst-audit8-ENV): New variable.
49734         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49735         audit if l_reloc_result is NULL.
49736         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49737         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49738         * elf/tst-audit8.c: New file.
49740 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49742         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49743         * misc/Makefile (CFLAGS-select.c): Define.
49744         * posix/Makefile (CFLAGS-pause.c): Define.
49746 2012-11-13  David S. Miller  <davem@davemloft.net>
49748         * crypt/Makefile: Move test targets after toplevel Rules
49749         inclusion.  Grab any necessary sysdep routines when linking.
49750         * crypt/md5.c (md5_process_block): Remove define, we will always
49751         name it __md5_process_block.
49752         (md5_finish_ctx): Update md5_process_block call.
49753         (md5_stream): Likewise.
49754         (md5_process_bytes): Likewise.
49755         (md5_process_block): Rename to __md5_process_block and move to ...
49756         * crypt/md5-block.c: ... here.
49757         * crypt/sha256.c (sha256_process_block): Move to ...
49758         * crypt/sha256-block.c: ... here.
49759         * crypt/sha512.c (sha512_process_block): Move to ...
49760         * crypt/sha512-block.c: ... here.
49761         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49762         path.
49763         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49764         * sysdeps/sparc/sparc64/multiarch/Makefile
49765         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49766         crypt subdir.
49767         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49768         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49769         multiarch changes.
49770         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49771         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49772         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49773         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49774         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49775         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49776         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49777         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49778         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49779         file.
49780         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49781         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49782         file.
49783         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49785 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49787         * timezone/tzselect.ksh: Update from tzcode git revision
49788         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49789         * timezone/zdump.c: Likewise.
49790         * timezone/zic.c: Likewise.
49791         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49792         in TZVERSION setting, not $(PKGVERSION).
49793         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49794         REPORT_BUGS_TO settings.
49796         [BZ #14838]
49797         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49798         macro.
49800 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49802         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49803         detection to immediately after _FP_ROUND().
49804         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49805         bits are 0.
49807 2012-11-11  David S. Miller  <davem@davemloft.net>
49809         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49810         inttypes.h
49811         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49812         __close rather than their public counterparts.
49814 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49816         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49817         file.
49818         [UNIX98] (sem_timedwait): Do not expect.
49819         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49820         [XPG4 || UNIX98] (sockatmark): Do not expect.
49821         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49822         (clock_getcpuclockid): Do not expect.
49823         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49824         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49825         Do not expect.
49826         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49827         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49828         [UNIX98] (vwscanf): Likewise.
49829         [UNIX98] (vswscanf): Likewise.
49831 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49833         * timezone/version.h: Remove file.
49834         * timezone/README: Do not refer to version.h.
49835         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49836         $(objpfx)version.h.
49837         ($(objpfx)zdump.o): Likewise.
49838         ($(objpfx)version.h): New target.
49840         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49841         2012i.
49842         * timezone/README: Don't mention modification to tzselect.ksh.
49843         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49844         work on unmodified tzselect.ksh.  Substitute version numbers in
49845         tzselect.ksh.
49847         * Makefile (format-me): Remove.
49848         (INSTALL): Adjust indentation.  Use commands directly instead of
49849         using $(format-me).
49851         * aclocal.m4 (ACX_PKGVERSION): New macro.
49852         (ACX_BUGURL): Likewise.
49853         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49854         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49855         (REPORT_BUGS_TO): Likewise.
49856         * configure: Regenerated.
49857         * config.h.in (PKGVERSION): New macro.
49858         (REPORT_BUGS_TO): Likewise.
49859         * config.make.in (PKGVERSION): New variable.
49860         (PKGVERSION_TEXI): Likewise.
49861         (REPORT_BUGS_TO): Likewise.
49862         (REPORT_BUGS_TEXI): Likewise.
49863         * Makefile (format-me): Use -I$(common-objpfx)manual.
49864         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49865         ($(common-objpfx)manual/%): New target.
49866         (manual/%): Remove target.
49867         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49868         (print_version): Use PKGVERSION.
49869         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49870         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49871         and REPORT_BUGS_TO.
49872         ($(objpfx)xtrace): Likewise.
49873         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49874         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49875         (print_version): Use PKGVERSION.
49876         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49877         (do_version): Use PKGVERSION.
49878         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49879         REPORT_BUGS_TO.
49880         (common-ldd-rewrite): Likewise.
49881         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49882         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49883         (print_version): Use PKGVERSION.
49884         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49885         * elf/pldd.c (argp_program_bug_address): Remove variable.
49886         (more_help): New function.
49887         (argp): Use more_help.
49888         (print_version): Use PKGVERSION.
49889         * elf/sln.c (main): Use PKGVERSION.
49890         (usage): Use REPORT_BUGS_TO.
49891         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49892         (top level): Use PKGVERSION.
49893         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49894         (print_version): Use PKGVERSION.
49895         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49896         (print_version): Use PKGVERSION.
49897         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49898         (print_version): Use PKGVERSION.
49899         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49900         (print_version): Use PKGVERSION.
49901         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49902         (print_version): Use PKGVERSION.
49903         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49904         (print_version): Use PKGVERSION.
49905         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49906         and BUGURL.
49907         ($(objpfx)memusage): Likewise.
49908         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49909         (do_version): Use PKGVERSION.
49910         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49911         (print_version): Use PKGVERSION.
49912         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49913         ($PKGVERSION): New variable.
49914         ($REPORT_BUGS_TO): Likewise.
49915         (usage): Use $REPORT_BUGS_TO.
49916         (top level): Use $PKGVERSION.
49917         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49918         ($(objpfx)pkgvers.texi): New rule.
49919         ($(objpfx)stamp-pkgvers): Likewise.
49920         * manual/install.texi: Include pkgvers.texi.
49921         (--with-pkgversion): Document new configure option.
49922         (--with-bugurl): Likewise.
49923         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49924         than necessarily for this particular distribution.  Use
49925         REPORT_BUGS_TO for where to report bugs.
49926         * INSTALL: Regenerated.
49927         * manual/libc.texinfo: Include pkgvers.texi.
49928         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49929         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49930         (print_version): Use PKGVERSION.
49931         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49932         (print_version): Use PKGVERSION.
49933         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49934         (print_version): Use PKGVERSION.
49935         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49936         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49937         macro.
49938         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49939         (print_version): Use PKGVERSION.
49940         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49941         (print_version): Use PKGVERSION.
49942         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49943         and PKGVERSION.
49945         * timezone/checktab.awk: Update from tzcode 2012i.
49946         * timezone/ialloc.c: Likewise.
49947         * timezone/private.h: Likewise.
49948         * timezone/scheck.c: Likewise.
49949         * timezone/tzfile.h: Likewise.
49950         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49951         (TZVERSION): Hardcode tzcode version number.
49952         * timezone/zdump.c: Update from tzcode 2012i.
49953         * timezone/zic.c: Likewise.
49954         * timezone/version.h: New file.
49955         * timezone/README: Describe version.h.  Update upstream location.
49957         [BZ #14824]
49958         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49959         (mktemp): Enable declaration.
49960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49964         Likewise.
49965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49966         Likewise.
49967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49968         Likewise.
49969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49970         Likewise.
49971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49972         Likewise.
49973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49974         Likewise.
49976         [BZ #14821]
49977         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49978         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49979         for copies of such integer values.
49980         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49981         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49983 2012-11-09  Andreas Jaeger  <aj@suse.de>
49985         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49986         definitions and declarations that are provided by
49987         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49989 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49991         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49992         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49993         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49994         definition.
49996 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49998         * elf/elf.h: Update comment before AArch64 relocations.
50000 2012-11-07  David S. Miller  <davem@davemloft.net>
50002         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50003         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50004         (__start_context): Declare.
50005         (__makecontext_ret): Delete.
50006         (__makecontext): Hook up __start_context instead of
50007         __makecontext_ret.
50008         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50009         (sysdep_routines): Add __start_context when in stdlib.
50011 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50013         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50014         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50015         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50016         hardcoded "nm".
50017         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50018         (READELF): New variable.  Use it instead of hardcoded "readelf".
50020 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50022         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50023         * sysdeps/x86/Makefile: Here.
50024         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50025         * sysdeps/x86/tst-xmmymm.sh: This.
50027 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50029         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50030         expectations.
50031         [UNIX98] (pthread_barrier_t): Do not expect.
50032         [UNIX98] (pthread_barrierattr_t): Likewise.
50033         [UNIX98] (pthread_spinlock_t): Likewise.
50034         [UNIX98] (pthread_barrier_destroy): Likewise.
50035         [UNIX98] (pthread_barrier_init): Likewise.
50036         [UNIX98] (pthread_barrier_wait): Likewise.
50037         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50038         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50039         [UNIX98] (pthread_barrierattr_init): Likewise.
50040         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50041         [UNIX98] (pthread_getcpuclockid): Likewise.
50042         [UNIX98] (pthread_mutex_timedlock): Likewise.
50043         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50044         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50045         [UNIX98] (pthread_sigmask): Likewise.
50046         [UNIX98] (pthread_spin_destroy): Likewise.
50047         [UNIX98] (pthread_spin_init): Likewise.
50048         [UNIX98] (pthread_spin_lock): Likewise.
50049         [UNIX98] (pthread_spin_trylock): Likewise.
50050         [UNIX98] (pthread_spin_unlock): Likewise.
50051         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50052         Do not expect.
50053         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50054         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50055         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50056         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50057         [XPG3 || XPG4] (pthread_key_t): Likewise.
50058         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50059         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50060         [XPG3 || XPG4] (pthread_once_t): Likewise.
50061         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50062         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50063         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50064         [XPG3 || XPG4] (pthread_t): Likewise.
50066         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50067         not expect.
50068         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50070         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50071         Change function return type to int.
50073         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50074         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50075         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50076         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50077         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50078         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50079         [!POSIX] (posix_madvise): Likewise.
50080         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50081         && !UNIX98].
50082         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50083         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50084         (mode_t): Likewise.
50085         (posix_mem_offset): Likewise.
50086         (posix_typed_mem_get_info): Likewise.
50087         (posix_typed_mem_open): Likewise.
50089         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50090         Change condition to [XOPEN2K8].
50092         * conform/conformtest.pl: Preprocess allow-header data with -x c
50093         instead of from stdin.
50094         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50095         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50096         [C99-based standards] (cerfc): Likewise.
50097         [C99-based standards] (cexp2): Likewise.
50098         [C99-based standards] (cexpm1): Likewise.
50099         [C99-based standards] (clog10): Likewise.
50100         [C99-based standards] (clog1p): Likewise.
50101         [C99-based standards] (clog2): Likewise.
50102         [C99-based standards] (clgamma): Likewise.
50103         [C99-based standards] (ctgamma): Likewise.
50104         [C99-based standards] (cerff): Likewise.
50105         [C99-based standards] (cerfcf): Likewise.
50106         [C99-based standards] (cexp2f): Likewise.
50107         [C99-based standards] (cexpm1f): Likewise.
50108         [C99-based standards] (clog10f): Likewise.
50109         [C99-based standards] (clog1pf): Likewise.
50110         [C99-based standards] (clog2f): Likewise.
50111         [C99-based standards] (clgammaf): Likewise.
50112         [C99-based standards] (ctgammaf): Likewise.
50113         [C99-based standards] (cerfl): Likewise.
50114         [C99-based standards] (cerfcl): Likewise.
50115         [C99-based standards] (cexp2l): Likewise.
50116         [C99-based standards] (cexpm1l): Likewise.
50117         [C99-based standards] (clog10l): Likewise.
50118         [C99-based standards] (clog1pl): Likewise.
50119         [C99-based standards] (clog2l): Likewise.
50120         [C99-based standards] (clgammal): Likewise.
50121         [C99-based standards] (ctgammal): Likewise.
50122         * conform/data/inttypes.h-data [C99-based standards]: Include
50123         stdint.h-data.  Remove all expectations for stdint.h contents.
50124         [C99-based standards] (PRI*): Do not allow.
50125         [C99-based standards] (SCN*): Likewise.
50126         [C99-based standards] (*_t): Likewise.
50127         [C99-based-standards] (PRId8): Expect macro.
50128         [C99-based-standards] (PRIi8): Likewise.
50129         [C99-based-standards] (PRIo8): Likewise.
50130         [C99-based-standards] (PRIu8): Likewise.
50131         [C99-based-standards] (PRIx8): Likewise.
50132         [C99-based-standards] (PRIX8): Likewise.
50133         [C99-based-standards] (SCNd8): Likewise.
50134         [C99-based-standards] (SCNi8): Likewise.
50135         [C99-based-standards] (SCNo8): Likewise.
50136         [C99-based-standards] (SCNu8): Likewise.
50137         [C99-based-standards] (SCNx8): Likewise.
50138         [C99-based-standards] (PRIdLEAST8): Likewise.
50139         [C99-based-standards] (PRIiLEAST8): Likewise.
50140         [C99-based-standards] (PRIoLEAST8): Likewise.
50141         [C99-based-standards] (PRIuLEAST8): Likewise.
50142         [C99-based-standards] (PRIxLEAST8): Likewise.
50143         [C99-based-standards] (PRIXLEAST8): Likewise.
50144         [C99-based-standards] (SCNdLEAST8): Likewise.
50145         [C99-based-standards] (SCNiLEAST8): Likewise.
50146         [C99-based-standards] (SCNoLEAST8): Likewise.
50147         [C99-based-standards] (SCNuLEAST8): Likewise.
50148         [C99-based-standards] (SCNxLEAST8): Likewise.
50149         [C99-based-standards] (PRIdFAST8): Likewise.
50150         [C99-based-standards] (PRIiFAST8): Likewise.
50151         [C99-based-standards] (PRIoFAST8): Likewise.
50152         [C99-based-standards] (PRIuFAST8): Likewise.
50153         [C99-based-standards] (PRIxFAST8): Likewise.
50154         [C99-based-standards] (PRIXFAST8): Likewise.
50155         [C99-based-standards] (SCNdFAST8): Likewise.
50156         [C99-based-standards] (SCNiFAST8): Likewise.
50157         [C99-based-standards] (SCNoFAST8): Likewise.
50158         [C99-based-standards] (SCNuFAST8): Likewise.
50159         [C99-based-standards] (SCNxFAST8): Likewise.
50160         [C99-based-standards] (PRId16): Likewise.
50161         [C99-based-standards] (PRIi16): Likewise.
50162         [C99-based-standards] (PRIo16): Likewise.
50163         [C99-based-standards] (PRIu16): Likewise.
50164         [C99-based-standards] (PRIx16): Likewise.
50165         [C99-based-standards] (PRIX16): Likewise.
50166         [C99-based-standards] (SCNd16): Likewise.
50167         [C99-based-standards] (SCNi16): Likewise.
50168         [C99-based-standards] (SCNo16): Likewise.
50169         [C99-based-standards] (SCNu16): Likewise.
50170         [C99-based-standards] (SCNx16): Likewise.
50171         [C99-based-standards] (PRIdLEAST16): Likewise.
50172         [C99-based-standards] (PRIiLEAST16): Likewise.
50173         [C99-based-standards] (PRIoLEAST16): Likewise.
50174         [C99-based-standards] (PRIuLEAST16): Likewise.
50175         [C99-based-standards] (PRIxLEAST16): Likewise.
50176         [C99-based-standards] (PRIXLEAST16): Likewise.
50177         [C99-based-standards] (SCNdLEAST16): Likewise.
50178         [C99-based-standards] (SCNiLEAST16): Likewise.
50179         [C99-based-standards] (SCNoLEAST16): Likewise.
50180         [C99-based-standards] (SCNuLEAST16): Likewise.
50181         [C99-based-standards] (SCNxLEAST16): Likewise.
50182         [C99-based-standards] (PRIdFAST16): Likewise.
50183         [C99-based-standards] (PRIiFAST16): Likewise.
50184         [C99-based-standards] (PRIoFAST16): Likewise.
50185         [C99-based-standards] (PRIuFAST16): Likewise.
50186         [C99-based-standards] (PRIxFAST16): Likewise.
50187         [C99-based-standards] (PRIXFAST16): Likewise.
50188         [C99-based-standards] (SCNdFAST16): Likewise.
50189         [C99-based-standards] (SCNiFAST16): Likewise.
50190         [C99-based-standards] (SCNoFAST16): Likewise.
50191         [C99-based-standards] (SCNuFAST16): Likewise.
50192         [C99-based-standards] (SCNxFAST16): Likewise.
50193         [C99-based-standards] (PRId32): Likewise.
50194         [C99-based-standards] (PRIi32): Likewise.
50195         [C99-based-standards] (PRIo32): Likewise.
50196         [C99-based-standards] (PRIu32): Likewise.
50197         [C99-based-standards] (PRIx32): Likewise.
50198         [C99-based-standards] (PRIX32): Likewise.
50199         [C99-based-standards] (SCNd32): Likewise.
50200         [C99-based-standards] (SCNi32): Likewise.
50201         [C99-based-standards] (SCNo32): Likewise.
50202         [C99-based-standards] (SCNu32): Likewise.
50203         [C99-based-standards] (SCNx32): Likewise.
50204         [C99-based-standards] (PRIdLEAST32): Likewise.
50205         [C99-based-standards] (PRIiLEAST32): Likewise.
50206         [C99-based-standards] (PRIoLEAST32): Likewise.
50207         [C99-based-standards] (PRIuLEAST32): Likewise.
50208         [C99-based-standards] (PRIxLEAST32): Likewise.
50209         [C99-based-standards] (PRIXLEAST32): Likewise.
50210         [C99-based-standards] (SCNdLEAST32): Likewise.
50211         [C99-based-standards] (SCNiLEAST32): Likewise.
50212         [C99-based-standards] (SCNoLEAST32): Likewise.
50213         [C99-based-standards] (SCNuLEAST32): Likewise.
50214         [C99-based-standards] (SCNxLEAST32): Likewise.
50215         [C99-based-standards] (PRIdFAST32): Likewise.
50216         [C99-based-standards] (PRIiFAST32): Likewise.
50217         [C99-based-standards] (PRIoFAST32): Likewise.
50218         [C99-based-standards] (PRIuFAST32): Likewise.
50219         [C99-based-standards] (PRIxFAST32): Likewise.
50220         [C99-based-standards] (PRIXFAST32): Likewise.
50221         [C99-based-standards] (SCNdFAST32): Likewise.
50222         [C99-based-standards] (SCNiFAST32): Likewise.
50223         [C99-based-standards] (SCNoFAST32): Likewise.
50224         [C99-based-standards] (SCNuFAST32): Likewise.
50225         [C99-based-standards] (SCNxFAST32): Likewise.
50226         [C99-based-standards] (PRId64): Likewise.
50227         [C99-based-standards] (PRIi64): Likewise.
50228         [C99-based-standards] (PRIo64): Likewise.
50229         [C99-based-standards] (PRIu64): Likewise.
50230         [C99-based-standards] (PRIx64): Likewise.
50231         [C99-based-standards] (PRIX64): Likewise.
50232         [C99-based-standards] (SCNd64): Likewise.
50233         [C99-based-standards] (SCNi64): Likewise.
50234         [C99-based-standards] (SCNo64): Likewise.
50235         [C99-based-standards] (SCNu64): Likewise.
50236         [C99-based-standards] (SCNx64): Likewise.
50237         [C99-based-standards] (PRIdLEAST64): Likewise.
50238         [C99-based-standards] (PRIiLEAST64): Likewise.
50239         [C99-based-standards] (PRIoLEAST64): Likewise.
50240         [C99-based-standards] (PRIuLEAST64): Likewise.
50241         [C99-based-standards] (PRIxLEAST64): Likewise.
50242         [C99-based-standards] (PRIXLEAST64): Likewise.
50243         [C99-based-standards] (SCNdLEAST64): Likewise.
50244         [C99-based-standards] (SCNiLEAST64): Likewise.
50245         [C99-based-standards] (SCNoLEAST64): Likewise.
50246         [C99-based-standards] (SCNuLEAST64): Likewise.
50247         [C99-based-standards] (SCNxLEAST64): Likewise.
50248         [C99-based-standards] (PRIdFAST64): Likewise.
50249         [C99-based-standards] (PRIiFAST64): Likewise.
50250         [C99-based-standards] (PRIoFAST64): Likewise.
50251         [C99-based-standards] (PRIuFAST64): Likewise.
50252         [C99-based-standards] (PRIxFAST64): Likewise.
50253         [C99-based-standards] (PRIXFAST64): Likewise.
50254         [C99-based-standards] (SCNdFAST64): Likewise.
50255         [C99-based-standards] (SCNiFAST64): Likewise.
50256         [C99-based-standards] (SCNoFAST64): Likewise.
50257         [C99-based-standards] (SCNuFAST64): Likewise.
50258         [C99-based-standards] (SCNxFAST64): Likewise.
50259         [C99-based-standards] (PRIdMAX): Likewise.
50260         [C99-based-standards] (PRIiMAX): Likewise.
50261         [C99-based-standards] (PRIoMAX): Likewise.
50262         [C99-based-standards] (PRIuMAX): Likewise.
50263         [C99-based-standards] (PRIxMAX): Likewise.
50264         [C99-based-standards] (PRIXMAX): Likewise.
50265         [C99-based-standards] (SCNdMAX): Likewise.
50266         [C99-based-standards] (SCNiMAX): Likewise.
50267         [C99-based-standards] (SCNoMAX): Likewise.
50268         [C99-based-standards] (SCNuMAX): Likewise.
50269         [C99-based-standards] (SCNxMAX): Likewise.
50270         [C99-based-standards] (PRIdPTR): Likewise.
50271         [C99-based-standards] (PRIiPTR): Likewise.
50272         [C99-based-standards] (PRIoPTR): Likewise.
50273         [C99-based-standards] (PRIuPTR): Likewise.
50274         [C99-based-standards] (PRIxPTR): Likewise.
50275         [C99-based-standards] (PRIXPTR): Likewise.
50276         [C99-based-standards] (SCNdPTR): Likewise.
50277         [C99-based-standards] (SCNiPTR): Likewise.
50278         [C99-based-standards] (SCNoPTR): Likewise.
50279         [C99-based-standards] (SCNuPTR): Likewise.
50280         [C99-based-standards] (SCNxPTR): Likewise.
50281         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50282         allow.
50283         * conform/data/stdint.h-data: Update comments to clarify
50284         requirements.
50285         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50286         type.
50287         [C99-based standards] (INT8_MAX): Likewise.
50288         [C99-based standards] (INT16_MIN): Likewise.
50289         [C99-based standards] (INT16_MAX): Likewise.
50290         [C99-based standards] (INT32_MIN): Likewise.
50291         [C99-based standards] (INT32_MAX): Likewise.
50292         [C99-based standards] (INT64_MIN): Likewise.
50293         [C99-based standards] (INT64_MAX): Likewise.
50294         [C99-based standards] (UINT8_MAX): Likewise.
50295         [C99-based standards] (UINT16_MAX): Likewise.
50296         [C99-based standards] (UINT32_MAX): Likewise.
50297         [C99-based standards] (UINT64_MAX): Likewise.
50298         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50299         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50300         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50301         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50302         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50303         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50304         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50305         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50306         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50307         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50308         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50309         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50310         [C99-based standards] (INT_FAST8_MIN): Likewise.
50311         [C99-based standards] (INT_FAST8_MAX): Likewise.
50312         [C99-based standards] (INT_FAST16_MIN): Likewise.
50313         [C99-based standards] (INT_FAST16_MAX): Likewise.
50314         [C99-based standards] (INT_FAST32_MIN): Likewise.
50315         [C99-based standards] (INT_FAST32_MAX): Likewise.
50316         [C99-based standards] (INT_FAST64_MIN): Likewise.
50317         [C99-based standards] (INT_FAST64_MAX): Likewise.
50318         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50319         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50320         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50321         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50322         [C99-based standards] (INTPTR_MIN): Likewise.
50323         [C99-based standards] (INTPTR_MAX): Likewise.
50324         [C99-based standards] (UINTPTR_MAX): Likewise.
50325         [C99-based standards] (INTMAX_MIN): Likewise.
50326         [C99-based standards] (INTMAX_MAX): Likewise.
50327         [C99-based standards] (UINTMAX_MAX): Likewise.
50328         [C99-based standards] (PTRDIFF_MIN): Likewise.
50329         [C99-based standards] (PTRDIFF_MAX): Likewise.
50330         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50331         [C99-based standards] (SIZE_MAX): Likewise.
50332         [C99-based standards] (WCHAR_MAX): Likewise.
50333         [C99-based standards] (WINT_MAX): Likewise.
50334         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50335         constraint on value.
50336         [C99-based standards] (WCHAR_MIN): Likewise.
50337         [C99-based standards] (WINT_MIN): Likewise.
50338         [C99-based standards] (*_t): Allow.
50339         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50340         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50341         Include math.h-data and complex.h-data.  Remove all expectations
50342         of math.h and complex.h contents.
50343         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50344         at end of line.
50345         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50346         (struct tm): Expect tag.
50347         [C99-based-standards] (wcstof): Expect function.
50348         [C99-based-standards] (wcstold): Likewise.
50349         [C99-based-standards] (wcstoll): Likewise.
50350         [C99-based-standards] (wcstoull): Likewise.
50351         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50352         macro-int-constant.  Specify type.
50353         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50354         constraint on value.
50355         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50356         Specify type.
50357         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50358         Specify value.
50359         [ISO C standards]: Do not allow headers.
50360         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50361         wcs[abcdefghijklmnopqrstuvwxyz]*.
50362         [ISO C standards] (*_t): Do not allow.
50363         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50364         Expect function.
50365         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50366         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50367         Specify type.
50368         [ISO C standards]: Do not allow headers.
50369         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50370         is[abcdefghijklmnopqrstuvwxyz]*.
50371         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50372         to[abcdefghijklmnopqrstuvwxyz]*.
50373         [ISO C standards] (*_t): Do not allow.
50374         * conform/data/stdalign.h-data: New file.
50375         * conform/data/stdbool.h-data: Likewise.
50376         * conform/data/stdnoreturn.h-data: Likewise.
50378 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50380         [BZ #14815]
50381         * manual/filesys.texi (Directory Entries): Typo fix.
50382         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50384 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50386         * elf/elf.h (EM_AARCH64): New macro.
50387         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50388         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50389         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50390         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50391         (R_AARCH64_TLSDESC): Likewise.
50392         (NT_ARM_TLS): Likewise.
50393         (NT_ARM_HW_BREAK): Likewise.
50394         (NT_ARM_HW_WATCH): Likewise.
50396 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50398         [BZ #14811]
50399         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50400         (__ieee754_powl): Saturate nonzero exponents with absolute value
50401         below 0x1p-79 to +/- 0x1p-79.
50402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50403         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50404         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50405         nonzero exponents with absolute value below 0x1p-32 to +/-
50406         0x1p-32.
50407         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50408         (__ieee754_powl): Saturate nonzero exponents with absolute value
50409         below 0x1p-79 to +/- 0x1p-79.
50410         * math/libm-test.inc (pow_test): Add more tests.
50412 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50414         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50415         _dl_s390_cap_flags with kernel. Increase string length.
50416         (_dl_s390_platforms): Add z196 and zEC12.
50418 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50420         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50421         Change XOPEN21K to XOPEN2K.
50423 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50425         * string/memmove.c: Use memcpy when possible.
50427 2012-11-06  Andreas Jaeger  <aj@suse.de>
50429         * po/eo.po: Update from translation team.
50431 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50433         [BZ #14793]
50434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50435         exponent and small x and y exponents, scale x or y up.  Increase
50436         by 2 the exponent used in scaling up.
50437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50438         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50439         * math/libm-test.inc (fma_test): Add more tests.
50440         (fma_test_towardzero): Likewise.
50441         (fma_test_downward): Likewise.
50442         (fma_test_upward): Likewise.
50444 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50446         [BZ #14805]
50447         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50448         fenv_t *.
50450         [BZ #14801]
50451         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50452         namespace for names of struct fields.
50453         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50454         fenv_t fields.
50455         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50456         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50458 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50460         [BZ #3665]
50461         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50463 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50465         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50466         PTR_DEMANGLE.
50468         [BZ #5246]
50469         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50470         PTR_DEMANGLE.
50472 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50474         [BZ #14797]
50475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50476         definitely overflow as x * y not x * y + z.
50477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50479         * math/libm-test.inc (fma_test): Add more tests.
50480         (fma_test_towardzero): Likewise.
50481         (fma_test_downward): Likewise.
50482         (fma_test_upward): Likewise.
50484 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50486         [BZ #157]
50488         * include/stub-tag.h: Remove file.
50489         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50490         '#include' of it.
50491         * manual/maint.texi (Porting): Don't reference it.
50492         * Makerules ($(objpfx)stubs): Likewise.
50493         * dirent/closedir.c: Don't include <stub-tag.h>.
50494         * dirent/dirfd.c: Likewise.
50495         * dirent/fdopendir.c: Likewise.
50496         * dirent/getdents.c: Likewise.
50497         * dirent/getdents64.c: Likewise.
50498         * dirent/opendir.c: Likewise.
50499         * dirent/readdir.c: Likewise.
50500         * dirent/readdir64.c: Likewise.
50501         * dirent/readdir64_r.c: Likewise.
50502         * dirent/readdir_r.c: Likewise.
50503         * dirent/rewinddir.c: Likewise.
50504         * dirent/seekdir.c: Likewise.
50505         * dirent/telldir.c: Likewise.
50506         * gmon/profil.c: Likewise.
50507         * grp/setgroups.c: Likewise.
50508         * inet/if_index.c: Likewise.
50509         * io/access.c: Likewise.
50510         * io/chdir.c: Likewise.
50511         * io/chmod.c: Likewise.
50512         * io/chown.c: Likewise.
50513         * io/close.c: Likewise.
50514         * io/dup.c: Likewise.
50515         * io/dup2.c: Likewise.
50516         * io/dup3.c: Likewise.
50517         * io/euidaccess.c: Likewise.
50518         * io/faccessat.c: Likewise.
50519         * io/fchdir.c: Likewise.
50520         * io/fchmod.c: Likewise.
50521         * io/fchmodat.c: Likewise.
50522         * io/fchown.c: Likewise.
50523         * io/fchownat.c: Likewise.
50524         * io/fcntl.c: Likewise.
50525         * io/flock.c: Likewise.
50526         * io/fstatfs.c: Likewise.
50527         * io/fstatfs64.c: Likewise.
50528         * io/fstatvfs.c: Likewise.
50529         * io/fstatvfs64.c: Likewise.
50530         * io/futimens.c: Likewise.
50531         * io/fxstat.c: Likewise.
50532         * io/fxstat64.c: Likewise.
50533         * io/fxstatat.c: Likewise.
50534         * io/fxstatat64.c: Likewise.
50535         * io/getcwd.c: Likewise.
50536         * io/isatty.c: Likewise.
50537         * io/lchmod.c: Likewise.
50538         * io/lchown.c: Likewise.
50539         * io/link.c: Likewise.
50540         * io/linkat.c: Likewise.
50541         * io/lseek.c: Likewise.
50542         * io/lseek64.c: Likewise.
50543         * io/lxstat64.c: Likewise.
50544         * io/mkdir.c: Likewise.
50545         * io/mkdirat.c: Likewise.
50546         * io/mkfifo.c: Likewise.
50547         * io/mkfifoat.c: Likewise.
50548         * io/open.c: Likewise.
50549         * io/open64.c: Likewise.
50550         * io/openat.c: Likewise.
50551         * io/openat64.c: Likewise.
50552         * io/pipe.c: Likewise.
50553         * io/pipe2.c: Likewise.
50554         * io/poll.c: Likewise.
50555         * io/posix_fadvise.c: Likewise.
50556         * io/posix_fadvise64.c: Likewise.
50557         * io/posix_fallocate.c: Likewise.
50558         * io/posix_fallocate64.c: Likewise.
50559         * io/read.c: Likewise.
50560         * io/readlink.c: Likewise.
50561         * io/readlinkat.c: Likewise.
50562         * io/rmdir.c: Likewise.
50563         * io/sendfile.c: Likewise.
50564         * io/sendfile64.c: Likewise.
50565         * io/statfs.c: Likewise.
50566         * io/statfs64.c: Likewise.
50567         * io/statvfs.c: Likewise.
50568         * io/statvfs64.c: Likewise.
50569         * io/symlink.c: Likewise.
50570         * io/symlinkat.c: Likewise.
50571         * io/ttyname.c: Likewise.
50572         * io/ttyname_r.c: Likewise.
50573         * io/umask.c: Likewise.
50574         * io/unlink.c: Likewise.
50575         * io/unlinkat.c: Likewise.
50576         * io/utime.c: Likewise.
50577         * io/utimensat.c: Likewise.
50578         * io/write.c: Likewise.
50579         * io/xmknod.c: Likewise.
50580         * io/xmknodat.c: Likewise.
50581         * io/xstat.c: Likewise.
50582         * io/xstat64.c: Likewise.
50583         * login/getpt.c: Likewise.
50584         * login/grantpt.c: Likewise.
50585         * login/unlockpt.c: Likewise.
50586         * math/e_acoshl.c: Likewise.
50587         * math/e_acosl.c: Likewise.
50588         * math/e_asinl.c: Likewise.
50589         * math/e_atan2l.c: Likewise.
50590         * math/e_atanhl.c: Likewise.
50591         * math/e_coshl.c: Likewise.
50592         * math/e_expl.c: Likewise.
50593         * math/e_fmodl.c: Likewise.
50594         * math/e_gammal_r.c: Likewise.
50595         * math/e_hypotl.c: Likewise.
50596         * math/e_j0l.c: Likewise.
50597         * math/e_j1l.c: Likewise.
50598         * math/e_jnl.c: Likewise.
50599         * math/e_lgammal_r.c: Likewise.
50600         * math/e_log10l.c: Likewise.
50601         * math/e_log2l.c: Likewise.
50602         * math/e_logl.c: Likewise.
50603         * math/e_powl.c: Likewise.
50604         * math/e_rem_pio2l.c: Likewise.
50605         * math/e_sinhl.c: Likewise.
50606         * math/e_sqrtl.c: Likewise.
50607         * math/fclrexcpt.c: Likewise.
50608         * math/fedisblxcpt.c: Likewise.
50609         * math/feenablxcpt.c: Likewise.
50610         * math/fegetenv.c: Likewise.
50611         * math/fegetexcept.c: Likewise.
50612         * math/fegetround.c: Likewise.
50613         * math/feholdexcpt.c: Likewise.
50614         * math/fesetenv.c: Likewise.
50615         * math/fesetround.c: Likewise.
50616         * math/feupdateenv.c: Likewise.
50617         * math/fgetexcptflg.c: Likewise.
50618         * math/fraiseexcpt.c: Likewise.
50619         * math/fsetexcptflg.c: Likewise.
50620         * math/ftestexcept.c: Likewise.
50621         * math/k_cosl.c: Likewise.
50622         * math/k_rem_pio2l.c: Likewise.
50623         * math/k_sinl.c: Likewise.
50624         * math/k_tanl.c: Likewise.
50625         * math/s_asinhl.c: Likewise.
50626         * math/s_atanl.c: Likewise.
50627         * math/s_cbrtl.c: Likewise.
50628         * math/s_erfl.c: Likewise.
50629         * math/s_expm1l.c: Likewise.
50630         * math/s_log1pl.c: Likewise.
50631         * math/s_tanhl.c: Likewise.
50632         * misc/acct.c: Likewise.
50633         * misc/brk.c: Likewise.
50634         * misc/chflags.c: Likewise.
50635         * misc/chroot.c: Likewise.
50636         * misc/fchflags.c: Likewise.
50637         * misc/fgetxattr.c: Likewise.
50638         * misc/flistxattr.c: Likewise.
50639         * misc/fremovexattr.c: Likewise.
50640         * misc/fsetxattr.c: Likewise.
50641         * misc/fsync.c: Likewise.
50642         * misc/ftruncate.c: Likewise.
50643         * misc/futimes.c: Likewise.
50644         * misc/futimesat.c: Likewise.
50645         * misc/getdomain.c: Likewise.
50646         * misc/getdtsz.c: Likewise.
50647         * misc/gethostid.c: Likewise.
50648         * misc/gethostname.c: Likewise.
50649         * misc/getloadavg.c: Likewise.
50650         * misc/getpagesize.c: Likewise.
50651         * misc/getsysstats.c: Likewise.
50652         * misc/getxattr.c: Likewise.
50653         * misc/gtty.c: Likewise.
50654         * misc/ioctl.c: Likewise.
50655         * misc/lgetxattr.c: Likewise.
50656         * misc/listxattr.c: Likewise.
50657         * misc/llistxattr.c: Likewise.
50658         * misc/lremovexattr.c: Likewise.
50659         * misc/lsetxattr.c: Likewise.
50660         * misc/lutimes.c: Likewise.
50661         * misc/madvise.c: Likewise.
50662         * misc/mincore.c: Likewise.
50663         * misc/mlock.c: Likewise.
50664         * misc/mlockall.c: Likewise.
50665         * misc/mmap.c: Likewise.
50666         * misc/mprotect.c: Likewise.
50667         * misc/msync.c: Likewise.
50668         * misc/munlock.c: Likewise.
50669         * misc/munlockall.c: Likewise.
50670         * misc/munmap.c: Likewise.
50671         * misc/preadv.c: Likewise.
50672         * misc/preadv64.c: Likewise.
50673         * misc/ptrace.c: Likewise.
50674         * misc/pwritev.c: Likewise.
50675         * misc/pwritev64.c: Likewise.
50676         * misc/readv.c: Likewise.
50677         * misc/reboot.c: Likewise.
50678         * misc/remap_file_pages.c: Likewise.
50679         * misc/removexattr.c: Likewise.
50680         * misc/revoke.c: Likewise.
50681         * misc/select.c: Likewise.
50682         * misc/setdomain.c: Likewise.
50683         * misc/setegid.c: Likewise.
50684         * misc/seteuid.c: Likewise.
50685         * misc/sethostid.c: Likewise.
50686         * misc/sethostname.c: Likewise.
50687         * misc/setregid.c: Likewise.
50688         * misc/setreuid.c: Likewise.
50689         * misc/setxattr.c: Likewise.
50690         * misc/sstk.c: Likewise.
50691         * misc/stty.c: Likewise.
50692         * misc/swapoff.c: Likewise.
50693         * misc/swapon.c: Likewise.
50694         * misc/sync.c: Likewise.
50695         * misc/syncfs.c: Likewise.
50696         * misc/syscall.c: Likewise.
50697         * misc/truncate.c: Likewise.
50698         * misc/ualarm.c: Likewise.
50699         * misc/usleep.c: Likewise.
50700         * misc/ustat.c: Likewise.
50701         * misc/utimes.c: Likewise.
50702         * misc/vhangup.c: Likewise.
50703         * misc/writev.c: Likewise.
50704         * posix/_exit.c: Likewise.
50705         * posix/alarm.c: Likewise.
50706         * posix/execve.c: Likewise.
50707         * posix/fexecve.c: Likewise.
50708         * posix/fork.c: Likewise.
50709         * posix/fpathconf.c: Likewise.
50710         * posix/getaddrinfo.c: Likewise.
50711         * posix/getegid.c: Likewise.
50712         * posix/geteuid.c: Likewise.
50713         * posix/getgid.c: Likewise.
50714         * posix/getgroups.c: Likewise.
50715         * posix/getlogin.c: Likewise.
50716         * posix/getlogin_r.c: Likewise.
50717         * posix/getpgid.c: Likewise.
50718         * posix/getpid.c: Likewise.
50719         * posix/getppid.c: Likewise.
50720         * posix/getresgid.c: Likewise.
50721         * posix/getresuid.c: Likewise.
50722         * posix/getsid.c: Likewise.
50723         * posix/getuid.c: Likewise.
50724         * posix/glob64.c: Likewise.
50725         * posix/nanosleep.c: Likewise.
50726         * posix/pathconf.c: Likewise.
50727         * posix/pause.c: Likewise.
50728         * posix/posix_madvise.c: Likewise.
50729         * posix/pread.c: Likewise.
50730         * posix/pread64.c: Likewise.
50731         * posix/pwrite.c: Likewise.
50732         * posix/pwrite64.c: Likewise.
50733         * posix/sched_getaffinity.c: Likewise.
50734         * posix/sched_getp.c: Likewise.
50735         * posix/sched_gets.c: Likewise.
50736         * posix/sched_primax.c: Likewise.
50737         * posix/sched_primin.c: Likewise.
50738         * posix/sched_rr_gi.c: Likewise.
50739         * posix/sched_setaffinity.c: Likewise.
50740         * posix/sched_setp.c: Likewise.
50741         * posix/sched_sets.c: Likewise.
50742         * posix/sched_yield.c: Likewise.
50743         * posix/setgid.c: Likewise.
50744         * posix/setlogin.c: Likewise.
50745         * posix/setpgid.c: Likewise.
50746         * posix/setresgid.c: Likewise.
50747         * posix/setresuid.c: Likewise.
50748         * posix/setsid.c: Likewise.
50749         * posix/setuid.c: Likewise.
50750         * posix/sleep.c: Likewise.
50751         * posix/spawni.c: Likewise.
50752         * posix/sysconf.c: Likewise.
50753         * posix/times.c: Likewise.
50754         * posix/wait.c: Likewise.
50755         * posix/wait3.c: Likewise.
50756         * posix/wait4.c: Likewise.
50757         * posix/waitpid.c: Likewise.
50758         * resolv/gai_sigqueue.c: Likewise.
50759         * resource/getpriority.c: Likewise.
50760         * resource/getrlimit.c: Likewise.
50761         * resource/getrusage.c: Likewise.
50762         * resource/nice.c: Likewise.
50763         * resource/setpriority.c: Likewise.
50764         * resource/setrlimit.c: Likewise.
50765         * resource/ulimit.c: Likewise.
50766         * rt/aio_cancel.c: Likewise.
50767         * rt/aio_fsync.c: Likewise.
50768         * rt/aio_read.c: Likewise.
50769         * rt/aio_sigqueue.c: Likewise.
50770         * rt/aio_suspend.c: Likewise.
50771         * rt/aio_write.c: Likewise.
50772         * rt/clock_getres.c: Likewise.
50773         * rt/clock_gettime.c: Likewise.
50774         * rt/clock_nanosleep.c: Likewise.
50775         * rt/clock_settime.c: Likewise.
50776         * rt/lio_listio.c: Likewise.
50777         * rt/mq_close.c: Likewise.
50778         * rt/mq_getattr.c: Likewise.
50779         * rt/mq_notify.c: Likewise.
50780         * rt/mq_open.c: Likewise.
50781         * rt/mq_receive.c: Likewise.
50782         * rt/mq_send.c: Likewise.
50783         * rt/mq_setattr.c: Likewise.
50784         * rt/mq_timedreceive.c: Likewise.
50785         * rt/mq_timedsend.c: Likewise.
50786         * rt/mq_unlink.c: Likewise.
50787         * rt/shm_open.c: Likewise.
50788         * rt/shm_unlink.c: Likewise.
50789         * rt/timer_create.c: Likewise.
50790         * rt/timer_delete.c: Likewise.
50791         * rt/timer_getoverr.c: Likewise.
50792         * rt/timer_gettime.c: Likewise.
50793         * rt/timer_settime.c: Likewise.
50794         * setjmp/__longjmp.c: Likewise.
50795         * setjmp/setjmp.c: Likewise.
50796         * signal/kill.c: Likewise.
50797         * signal/killpg.c: Likewise.
50798         * signal/raise.c: Likewise.
50799         * signal/sigaction.c: Likewise.
50800         * signal/sigaltstack.c: Likewise.
50801         * signal/sigblock.c: Likewise.
50802         * signal/sigignore.c: Likewise.
50803         * signal/sigintr.c: Likewise.
50804         * signal/signal.c: Likewise.
50805         * signal/sigpause.c: Likewise.
50806         * signal/sigpending.c: Likewise.
50807         * signal/sigqueue.c: Likewise.
50808         * signal/sigreturn.c: Likewise.
50809         * signal/sigset.c: Likewise.
50810         * signal/sigsetmask.c: Likewise.
50811         * signal/sigstack.c: Likewise.
50812         * signal/sigsuspend.c: Likewise.
50813         * signal/sigtimedwait.c: Likewise.
50814         * signal/sigvec.c: Likewise.
50815         * signal/sigwait.c: Likewise.
50816         * signal/sigwaitinfo.c: Likewise.
50817         * signal/sysv_signal.c: Likewise.
50818         * socket/accept.c: Likewise.
50819         * socket/accept4.c: Likewise.
50820         * socket/bind.c: Likewise.
50821         * socket/connect.c: Likewise.
50822         * socket/getpeername.c: Likewise.
50823         * socket/getsockname.c: Likewise.
50824         * socket/getsockopt.c: Likewise.
50825         * socket/isfdtype.c: Likewise.
50826         * socket/listen.c: Likewise.
50827         * socket/recv.c: Likewise.
50828         * socket/recvfrom.c: Likewise.
50829         * socket/recvmsg.c: Likewise.
50830         * socket/send.c: Likewise.
50831         * socket/sendmsg.c: Likewise.
50832         * socket/sendto.c: Likewise.
50833         * socket/setsockopt.c: Likewise.
50834         * socket/shutdown.c: Likewise.
50835         * socket/sockatmark.c: Likewise.
50836         * socket/socket.c: Likewise.
50837         * socket/socketpair.c: Likewise.
50838         * stdio-common/ctermid.c: Likewise.
50839         * stdio-common/cuserid.c: Likewise.
50840         * stdio-common/remove.c: Likewise.
50841         * stdio-common/rename.c: Likewise.
50842         * stdio-common/renameat.c: Likewise.
50843         * stdio-common/tempname.c: Likewise.
50844         * stdlib/getcontext.c: Likewise.
50845         * stdlib/makecontext.c: Likewise.
50846         * stdlib/setcontext.c: Likewise.
50847         * stdlib/swapcontext.c: Likewise.
50848         * stdlib/system.c: Likewise.
50849         * streams/fattach.c: Likewise.
50850         * streams/fdetach.c: Likewise.
50851         * streams/getmsg.c: Likewise.
50852         * streams/getpmsg.c: Likewise.
50853         * streams/putmsg.c: Likewise.
50854         * streams/putpmsg.c: Likewise.
50855         * sysdeps/unix/bsd/getpt.c: Likewise.
50856         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50857         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50858         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50860         Likewise.
50861         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50862         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50863         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50864         * sysvipc/msgctl.c: Likewise.
50865         * sysvipc/msgget.c: Likewise.
50866         * sysvipc/msgrcv.c: Likewise.
50867         * sysvipc/msgsnd.c: Likewise.
50868         * sysvipc/semctl.c: Likewise.
50869         * sysvipc/semget.c: Likewise.
50870         * sysvipc/semop.c: Likewise.
50871         * sysvipc/semtimedop.c: Likewise.
50872         * sysvipc/shmat.c: Likewise.
50873         * sysvipc/shmctl.c: Likewise.
50874         * sysvipc/shmdt.c: Likewise.
50875         * sysvipc/shmget.c: Likewise.
50876         * termios/tcdrain.c: Likewise.
50877         * termios/tcflow.c: Likewise.
50878         * termios/tcflush.c: Likewise.
50879         * termios/tcgetattr.c: Likewise.
50880         * termios/tcgetpgrp.c: Likewise.
50881         * termios/tcsendbrk.c: Likewise.
50882         * termios/tcsetattr.c: Likewise.
50883         * termios/tcsetpgrp.c: Likewise.
50884         * time/adjtime.c: Likewise.
50885         * time/clock.c: Likewise.
50886         * time/getitimer.c: Likewise.
50887         * time/gettimeofday.c: Likewise.
50888         * time/setitimer.c: Likewise.
50889         * time/settimeofday.c: Likewise.
50890         * time/stime.c: Likewise.
50891         * time/time.c: Likewise.
50893 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50895         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50896         /usr/old/bin.
50898         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50899         instead of spaces.
50900         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50902 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50904         [BZ #14796]
50905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50906         FE_TONEAREST before applying Dekker multiplication and Knuth
50907         addition.  Clear inexact exceptions and check for exact zero
50908         results afterwards.
50909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50910         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50912         * math/libm-test.inc (fma_test): Add more tests.
50913         (fma_test_towardzero): Likewise.
50914         (fma_test_downward): Likewise.
50915         (fma_test_upward): Likewise.
50916         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50917         function.
50918         (libc_fesetround): New macro.
50919         (libc_fesetroundf): Likewise.
50920         (libc_fesetroundl): Likewise.
50921         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50922         function.
50923         (libc_fesetround_387): Likewise.
50924         (libc_fesetroundf): New macro.
50925         (libc_fesetround): Likewise.
50926         (libc_fesetroundl): Likewise.
50927         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50928         function.
50929         (libc_fesetroundf): New macro.
50930         (libc_fesetround): Likewise.
50931         (libc_fesetroundl): Likewise.
50932         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50933         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50934         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50935         libm_hidden_ver.
50936         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50937         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50938         libm_hidden_def.
50939         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50940         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50941         libm_hidden_ver.
50942         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50943         libm_hidden_def.
50945         [BZ #3439]
50946         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50947         integer constant usable in #if and use that to give value to enum
50948         constant.
50949         (FE_DIVBYZERO): Likewise.
50950         (FE_UNDERFLOW): Likewise.
50951         (FE_OVERFLOW): Likewise.
50952         (FE_INVALID): Likewise.
50953         (FE_INVALID_SNAN): Likewise.
50954         (FE_INVALID_ISI): Likewise.
50955         (FE_INVALID_IDI): Likewise.
50956         (FE_INVALID_ZDZ): Likewise.
50957         (FE_INVALID_IMZ): Likewise.
50958         (FE_INVALID_COMPARE): Likewise.
50959         (FE_INVALID_SOFTWARE): Likewise.
50960         (FE_INVALID_SQRT): Likewise.
50961         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50962         (FE_TONEAREST): Likewise.
50963         (FE_TOWARDZERO): Likewise.
50964         (FE_UPWARD): Likewise.
50965         (FE_DOWNWARD): Likewise.
50966         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50967         (FE_DIVBYZERO): Likewise.
50968         (FE_OVERFLOW): Likewise.
50969         (FE_UNDERFLOW): Likewise.
50970         (FE_INEXACT): Likewise.
50971         (FE_TONEAREST): Likewise.
50972         (FE_DOWNWARD): Likewise.
50973         (FE_UPWARD): Likewise.
50974         (FE_TOWARDZERO): Likewise.
50975         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50976         (FE_UNDERFLOW): Likewise.
50977         (FE_OVERFLOW): Likewise.
50978         (FE_DIVBYZERO): Likewise.
50979         (FE_INVALID): Likewise.
50980         (FE_TONEAREST): Likewise.
50981         (FE_TOWARDZERO): Likewise.
50982         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50983         (FE_OVERFLOW): Likewise.
50984         (FE_UNDERFLOW): Likewise.
50985         (FE_DIVBYZERO): Likewise.
50986         (FE_INEXACT): Likewise.
50987         (FE_TONEAREST): Likewise.
50988         (FE_TOWARDZERO): Likewise.
50989         (FE_UPWARD): Likewise.
50990         (FE_DOWNWARD): Likewise.
50991         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50992         (FE_DIVBYZERO): Likewise.
50993         (FE_OVERFLOW): Likewise.
50994         (FE_UNDERFLOW): Likewise.
50995         (FE_INEXACT): Likewise.
50996         (FE_TONEAREST): Likewise.
50997         (FE_DOWNWARD): Likewise.
50998         (FE_UPWARD): Likewise.
50999         (FE_TOWARDZERO): Likewise.
51001 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51003         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51005 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51007         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51008         commands.  Quote $PWD.
51009         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51010         -x" by "export".
51011         (remove_newlines): Remove.
51013 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51015         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51016         * stdlib/stdlib.h (atof): Moved to ...
51017         * include/bits/stdlib-float.h: Here.  New file.
51018         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51019         * stdlib/bits/stdlib-float.h: New file.
51020         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51021         -mno-sse -mno-mmx.
51022         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51023         <xmmintrin.h>.
51025 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51027         * conform/conformtest.pl (@headers): Add fenv.h.
51028         * conform/data/fenv.h-data: New file.
51029         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51030         include of <math/fenv.h>.
51032         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51033         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51034         && !UNIX98].  Enables tests for XOPEN2K8.
51035         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51036         POSIX2008]: Likewise.
51038         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51039         (struct rusage): Do not expect type or its members.
51041         [BZ #3439]
51042         * math/math.h (FP_NAN): Define macro to integer constant usable in
51043         #if and use that to give value to enum constant.
51044         (FP_INFINITE): Likewise.
51045         (FP_ZERO): Likewise.
51046         (FP_SUBNORMAL): Likewise.
51047         (FP_NORMAL): Likewise.
51049 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51051         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51052         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51053         arguments.
51055 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51057         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51058         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51059         autoconf-time if not.
51060         * configure.in: Remove AC_PREREQ.
51062 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51064         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51065         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51066         of the internal implementation.
51068 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51070         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51071         except include of <misc/sys/syslog.h>.
51073 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51076         function returns with a NULL context exit with zero.
51078 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51080         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51082 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51084         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51085         (run_program_cmd): This.
51086         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51087         (tst_langinfo): New variable.  Use it.
51089 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51091         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51092         floating point opcodes.
51094 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51096         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51097         variable.
51099         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51101         * sysdeps/mach/hurd/powerpc: Remove directory.
51102         * sysdeps/mach/powerpc: Likewise.
51104 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51106         * scripts/check-local-headers.sh: Ignore c++ headers.
51108 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51110         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51111         __libc_cleanup_region_start argument.
51113 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51115         [BZ #14784]
51116         [BZ #14785]
51117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51118         x * y using scaling, not as x * y + z.
51119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51121         * math/libm-test.inc (fma_test): Add more tests.
51122         (fma_test_towardzero): Likewise.
51123         (fma_test_downward): Likewise.
51124         (fma_test_upward): Likewise.
51126 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51128         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51130 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51132         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51133         New variable.
51135 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51137         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51139 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51142         Fix sort order.
51143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51144         Likewise.
51146 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51149         Fix the order of the list for glibc 2.17.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51151         Likewise.
51153 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51157 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51159         [BZ #14610]
51160         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51161         for low part of x being zero before using __atanl (y).
51162         * math/libm-test.inc (atan2_test): Add another test.
51164         * manual/install.texi (Configuring and compiling): Document
51165         general use of test-wrapper and test-wrapper-env.
51166         * INSTALL: Regenerated.
51168         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51169         (__fma): Do not extract and scale down low bits on after-rounding
51170         systems when result rounded to normal precision would have normal
51171         exponent.
51172         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51173         (__fmal): Do not extract and scale down low bits on after-rounding
51174         systems when result rounded to normal precision would have normal
51175         exponent.
51176         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51177         (__fmal): Do not extract and scale down low bits on after-rounding
51178         systems when result rounded to normal precision would have normal
51179         exponent.
51180         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51181         macro.
51182         (fma_test): Add more tests.
51183         (fma_test_towardzero): Likewise.
51184         (fma_test_downward): Likewise.
51185         (fma_test_upward): Likewise.
51187 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51189         * sysdeps/i386/tininess.h: Renamed to ...
51190         * sysdeps/x86/tininess.h: This.
51191         * sysdeps/x86_64/tininess.h: Removed.
51193 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51195         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51196         input.  Use $(build-program-cmd).
51197         ($(objpfx)tst-array1-static.out): Likewise.
51198         ($(objpfx)tst-array2.out): Likewise.
51199         ($(objpfx)tst-array3.out): Likewise.
51200         ($(objpfx)tst-array4.out): Likewise.
51201         ($(objpfx)tst-array5.out): Likewise.
51202         ($(objpfx)tst-array5-static.out): Likewise.
51204 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51206         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51207         if defined.
51209         * nss/nsswitch.h (nss_interface_function): Provide new
51210         macro for use with NSS functions.
51211         * grp/initgroups.c: Use new macro.
51212         * nss/getXXbyYY.c: Likewise.
51213         * nss/getXXbyYY_r.c: Likewise.
51214         * nss/getXXent.c: Likewise.
51215         * nss/getXXent_r.c: Likewise.
51216         * sysdeps/posix/getaddrinfo.c: Likewise.
51218 2012-10-30  Andreas Jaeger  <aj@suse.de>
51220         * po/ru.po: Update Russion translation from translation project.
51222 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51224         [BZ #14152]
51225         [BZ #14783]
51226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51227         result and shift together with sticky bit instead of replicating
51228         round-to-nearest rounding.
51229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51231         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51232         missing underflow exceptions.
51233         (fma_test_towardzero): Add more tests.
51234         (fma_test_downward): Likewise.
51235         (fma_test_upward): Likewise.
51237         [BZ #14047]
51238         * sysdeps/generic/tininess.h: New file.
51239         * sysdeps/i386/tininess.h: Likewise.
51240         * sysdeps/sh/tininess.h: Likewise.
51241         * sysdeps/x86_64/tininess.h: Likewise.
51242         * stdlib/tst-strtod-underflow.c: Likewise.
51243         * stdlib/tst-tininess.c: Likewise.
51244         * stdlib/strtod_l.c: Include <tininess.h>.
51245         (round_and_return): Do not set errno for exact underflow cases.
51246         Force an underflow exception when setting errno for underflow.
51247         Determine underflow based on rounding to normal precision if
51248         TININESS_AFTER_ROUNDING.
51249         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51250         ERANGE for exact underflow cases.
51251         * stdlib/Makefile (tests): Add tst-tininess and
51252         tst-strtod-underflow.
51253         ($(objpfx)tst-tininess): Use $(link-libm).
51254         ($(objpfx)tst-strtod-underflow): Likewise.
51256 2012-10-30  Andreas Jaeger  <aj@suse.de>
51258         [BZ#14767]
51259         * elf/Makefile (tests): Remove conditional for have-initfini-array
51260         since this is now always required and the variable does not exist
51261         anymore.
51262         (tests-static): Likewise.
51263         (modules-names): Likewise.
51265         * po/eo.po: Add Esperanto translation from translation project.
51267         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51268         merged with constructor/destructor.
51269         (init_array): Likewise.
51270         * elf/tst-array2dep.c (fini_array): Likewise.
51271         (init_array): Likewise.
51273 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51275         * manual/message.texi: Delete @cartouche tags.
51277 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51279         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51280         EOPNOTSUPP.
51281         * sysdeps/mach/hurd/fsync.c: Likewise.
51283         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51284         [_POSIX_REALTIME_SIGNALS]: Change condition to
51285         [_POSIX_REALTIME_SIGNALS > 0].
51287 2012-10-27  Andreas Jaeger  <aj@suse.de>
51289         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51290         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51292         [__WORDSIZE != 64]: Likewise.
51294 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51296         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51297         *  iconvdata/tst-tables.sh: Likewise.
51299 2012-10-25  David S. Miller  <davem@davemloft.net>
51301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51302         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51303         of strtoull.
51305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51306         ifunc-impl-list.c
51307         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51308         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51309         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51310         file.
51312 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51314         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51315         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51316         __getdirentries.
51318 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51319             Jim Blandy  <jimb@codesourcery.com>
51321         * scripts/cross-test-ssh.sh: New file.
51322         * manual/install.texi (Configuring and compiling): Document use of
51323         cross-test-ssh.sh.
51324         * INSTALL: Regenerated.
51326 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51328         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51329         EOPNOTSUPP.
51331 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51333         * Makeconfig (run-program-prefix): Fix comment.
51335 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51336             Jim Blandy  <jimb@codesourcery.com>
51338         * Makeconfig (test-wrapper): New variable,
51339         (test-wrapper-env): Likewise.
51340         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51341         (run-built-tests): Define to yes.
51342         (run-program-prefix): Use $(test-wrapper).
51343         (built-program-cmd): Likewise.
51344         * Rules (make-test-out): Use $(test-wrapper-env) and
51345         $(host-built-program-cmd).
51346         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51347         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51348         tst-pathopt.sh.
51349         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51350         $(test-wrapper-env) to tst-rtld-load-self.sh.
51351         ($(objpfx)order2.out): Use $(test-wrapper).
51352         ($(objpfx)tst-initorder.out): Likewise.
51353         ($(objpfx)tst-initorder2.out): Likewise.
51354         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51355         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51356         (test_wrapper_env): New variable.  Use it to run ld.so.
51357         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51358         Use it to run ld.so.
51359         (test_wrapper_env): Likewise.
51360         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51361         $(test-wrapper) to run-iconv-test.sh.
51362         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51363         (ICONV): Use $test_wrapper.
51364         * posix/Makefile ($(objpfx)globtest.out): Pass
51365         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51366         globtest.sh, not $(run-program-prefix).
51367         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51368         (test_wrapper): Likewise.
51369         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51370         set together with run_via_rtld_prefix.
51371         (run_program_prefix): Define in terms of test_wrapper and
51372         run_via_rtld_prefix.
51374 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51376         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51377         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51378         Targets removed.
51380         [BZ #14743]
51381         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51382         Declare __clock_getres, __clock_gettime, __clock_settime,
51383         __clock_nanosleep, and __clock_getcpuclockid.
51384         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51385         Remove librt_hidden_def (clock_gettime).
51386         * sysdeps/unix/clock_gettime.c: Likewise.
51387         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51388         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51389         * rt/clock_getres.c: Define __clock_getres as an alias.
51390         * sysdeps/posix/clock_getres.c: Likewise.
51391         * rt/clock_settime.c: Define __clock_settime as an alias.
51392         * sysdeps/unix/clock_settime.c: Likewise.
51393         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51394         * sysdeps/unix/clock_nanosleep.c: Likewise.
51395         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51396         * rt/clock-compat.c: New file.
51397         * rt/Makefile (librt-routines): Add clock-compat and move
51398         $(clock-routines) to ...
51399         (routines): ... here, new variable.
51400         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51401         Don't add get_clockfreq here.
51402         * rt/Versions (libc: GLIBC_2.17): New version set.
51403         Add clock_* symbols here.
51404         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51406         (GLIBC_2.17): Add clock_* symbols.
51407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51411         Likewise.
51412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51413         Likewise.
51414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51418         * NEWS: Mention the move.
51420         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51421         Use __open, __read, __close rather than their public counterparts.
51422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51423         (__get_clockfreq_via_cpuinfo): Likewise.
51424         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51425         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51427         * config.h.in (HAVE_IFUNC): New #undef.
51428         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51429         was successful.
51430         * configure: Regenerated.
51432 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51434         * configure.in: Move READELF check to start of file.
51435         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51436         libc_cv_asm_gnu_indirect_function in the process.
51437         * configure: Regenerated.
51439 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51441         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51442         send the output to /dev/null.
51443         (libc_cv_cc_with_libunwind): Likewise.
51444         (libc_cv_as_noexecstack): Likewise.
51445         * configure: Regenerate.
51447 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51449         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51451         * posix/globtest.sh (TMPDIR): Do not set.
51452         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51453         (testout): Likewise.
51455 2012-10-24  Andreas Jaeger  <aj@suse.de>
51457         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51458         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51459         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51460         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51461         posix_fadvise64, posix_fallocate64.
51463         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51464         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51465         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51466         Likewise.
51467         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51468         Likewise.
51469         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51472         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51473         <bits/fcntl-linux.h>.
51474         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51477         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51478         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51479         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51480         [__WORDSIZE != 64]: Likewise.
51482 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51484         * Makeconfig (run-built-tests): New variable.
51485         * Rules [$(cross-compiling) = yes]: Change condition to
51486         [$(run-built-tests) = no].
51487         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51488         to [$(run-built-tests) = yes].
51489         * elf/Makefile [$(cross-compiling) = no]: Likewise
51490         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51491         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51492         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51493         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51494         * io/Makefile [$(cross-compiling) = no]: Likewise.
51495         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51496         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51497         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51498         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51499         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51500         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51501         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51502         * string/Makefile [$(cross-compiling) = no]: Likewise.
51504         * posix/Makefile ($(objpfx)globtest.out): Pass
51505         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51506         $(rtld-installed-name).
51507         * posix/globtest.sh (elf_objpfx): Remove variable.
51508         (rtld_installed_name): Likewise.
51509         (library_path): Likewise.
51510         (run_program_prefix): New variable.  Use for running globtest
51511         binary.
51513 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51514             Joseph Myers  <joseph@codesourcery.com>
51516         * Makeconfig (host-built-program-cmd): New variable.
51517         * elf/Makefile (tst-stackguard1-ARGS): Use
51518         $(host-built-program-cmd).
51519         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51520         (tst-spawn-ARGS): Likewise.
51521         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51523 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51524             Jim Blandy  <jimb@codesourcery.com>
51526         * Makeconfig (run-via-rtld-prefix): New variable.
51527         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51528         (built-program-cmd): Likewise.
51530 2012-10-22  Andreas Jaeger  <aj@suse.de>
51532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51533         __O_RSYNC if it exists, otherwise to O_SYNC.
51535 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51536             Joseph Myers  <joseph@codesourcery.com>
51538         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51539         /dev/null.
51540         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51541         from /dev/null
51542         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51543         /dev/null.
51545 2012-10-22  Andreas Jaeger  <aj@suse.de>
51547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51548         Define always.
51549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51552         bits/fcntl-linux.h.
51554         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51555         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51558         to __O_LARGEFILE.
51559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51560         to __O_LARGEFILE.
51562 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51563             Joseph Myers  <joseph@codesourcery.com>
51565         * config.make.in (NM): New variable.
51567 2012-10-21  Andreas Jaeger  <aj@suse.de>
51569         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51570         definitions and declarations that are provided by
51571         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51573 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51575         [BZ #14683]
51576         * elf/Makefile (tests-static): Add tst-leaks1-static.
51577         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51578         ($(objpfx)tst-leaks1-static): New rule.
51579         ($(objpfx)tst-leaks1-static-mem): Likewise.
51580         (tst-leaks1-static-ENV): New macro.
51581         * elf/dl-open.c (dl_open_worker): Check the main application
51582         only if SHARED is defined.
51583         * elf/tst-leaks1-static.c: New file.
51585 2012-10-20  Andreas Jaeger  <aj@suse.de>
51587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51588         generic values for Linux.
51589         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51590         and declarations that are provided by <bits/fcntl-linux.h> and
51591         include <bits/fcntl-linux.h>.
51592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51593         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51595 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51597         * io/fcntl.h: Move include of <bits/types.h> to the top and
51598         include it unconditionally.
51600 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51602         * wcsmbs/Makefile (tests-ifunc): New variable.
51603         (tests): Add $(tests-ifunc).
51604         * wcsmbs/test-wcschr-ifunc.c: New file.
51605         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51606         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51607         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51608         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51609         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51611         * string/Makefile (tests-ifunc): New variable.
51612         (tests): Add $(tests-ifunc).
51613         * string/test-memccpy.c (TEST_NAME): New macro.
51614         * string/test-memchr.c (TEST_NAME): Likewise.
51615         * string/test-memcmp.c (TEST_NAME): Likewise.
51616         * string/test-memcpy.c (TEST_NAME): Likewise.
51617         * string/test-memmem.c (TEST_NAME): Likewise.
51618         * string/test-memmove.c (TEST_NAME): Likewise.
51619         * string/test-memset.c (TEST_NAME): Likewise.
51620         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51621         * string/test-stpcpy.c (TEST_NAME): Likewise.
51622         * string/test-stpncpy.c (TEST_NAME): Likewise.
51623         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51624         * string/test-strcasestr.c (TEST_NAME): Likewise.
51625         * string/test-strcat.c (TEST_NAME): Likewise.
51626         * string/test-strchr.c (TEST_NAME): Likewise.
51627         * string/test-strcmp.c(TEST_NAME): Likewise.
51628         * string/test-strcpy.c (TEST_NAME): Likewise.
51629         * string/test-strcspn.c (TEST_NAME): Likewise.
51630         * string/test-strlen.c (TEST_NAME): Likewise.
51631         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51632         * string/test-strncmp.c (TEST_NAME): Likewise.
51633         * string/test-strncpy.c (TEST_NAME): Likewise.
51634         * string/test-strnlen.c (TEST_NAME): Likewise.
51635         * string/test-strpbrk.c (TEST_NAME): Likewise.
51636         * string/test-strrchr.c (TEST_NAME): Likewise.
51637         * string/test-strspn.c (TEST_NAME): Likewise.
51638         * string/test-strstr.c (TEST_NAME): Likewise.
51639         * string/test-bcopy-ifunc.c: New file.
51640         * string/test-bzero-ifunc.c: Likewise.
51641         * string/test-memccpy-ifunc.c: Likewise.
51642         * string/test-memchr-ifunc.c: Likewise.
51643         * string/test-memcmp-ifunc.c: Likewise.
51644         * string/test-memcpy-ifunc.c: Likewise.
51645         * string/test-memmem-ifunc.c: Likewise.
51646         * string/test-memmove-ifunc.c: Likewise.
51647         * string/test-mempcpy-ifunc.c: Likewise.
51648         * string/test-memset-ifunc.c: Likewise.
51649         * string/test-rawmemchr-ifunc.c: Likewise.
51650         * string/test-stpcpy-ifunc.c: Likewise.
51651         * string/test-stpncpy-ifunc.c: Likewise.
51652         * string/test-strcasecmp-ifunc.c: Likewise.
51653         * string/test-strcasestr-ifunc.c: Likewise.
51654         * string/test-strcat-ifunc.c: Likewise.
51655         * string/test-strchr-ifunc.c: Likewise.
51656         * string/test-strchrnul-ifunc.c: Likewise.
51657         * string/test-strcmp-ifunc.c: Likewise.
51658         * string/test-strcpy-ifunc.c: Likewise.
51659         * string/test-strcspn-ifunc.c: Likewise.
51660         * string/test-strlen-ifunc.c: Likewise.
51661         * string/test-strncasecmp-ifunc.c: Likewise.
51662         * string/test-strncat-ifunc.c: Likewise.
51663         * string/test-strncmp-ifunc.c: Likewise.
51664         * string/test-strncpy-ifunc.c: Likewise.
51665         * string/test-strnlen-ifunc.c: Likewise.
51666         * string/test-strpbrk-ifunc.c: Likewise.
51667         * string/test-strrchr-ifunc.c: Likewise.
51668         * string/test-strspn-ifunc.c: Likewise.
51669         * string/test-strstr-ifunc.c: Likewise.
51671         * debug/Makefile (tests-ifunc): New variable.
51672         (tests): Add $(tests-ifunc).
51673         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51674         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51675         * debug/test-stpcpy_chk-ifunc.c: New file.
51676         * debug/test-strcpy_chk-ifunc.c: Likewise.
51678 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51680         [BZ #13601]
51681         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51682         header is not read in.
51684 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51686         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51687         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51688         directly.  Pass built executable to script as
51689         $(built-program-cmd).
51690         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51691         $testprogram without using LD_LIBRARY_PATH and $ldso.
51693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51694         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51695         $(rtld-installed-name).
51696         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51697         (rtld_installed_name): Likewise.
51698         (library_path): Likewise.
51699         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51700         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51701         $(run-program-prefix) to tst-tables.sh.
51702         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51703         it to run tst-table-from and tst-table-to.
51704         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51705         Pass it to tst-table.sh.
51706         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51707         $(run-program-prefix) to tst-gettext.sh.
51708         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51709         tst-translit.sh.
51710         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51711         tst-gettext2.sh.
51712         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51713         to run tst-gettext.
51714         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51715         to run tst-gettext2.
51716         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51717         to run tst-translit.
51718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51719         $(run-program-prefix) to tst-mtrace.sh.
51720         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51721         to run tst-mtrace.
51722         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51723         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51724         $(rtld-installed-name).
51725         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51726         (rtld_installed_name): Likewise.
51727         (run_program_prefix): New variable.  Use it to run wordexp-test.
51729         * Makeconfig (ARCH): Remove all definitions.
51730         (machine): Likewise.
51731         [ARCH]: Remove conditional code.
51732         [!objdir]: Give error.
51733         [!objdir] (objpfx): Remove.
51734         [!objdir] (common-objpfx): Likewise.
51735         [!objdir] (common-objdir): Likewise.
51736         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51737         AC_CONFIG_FILES call.
51738         * configure: Regenerated.
51740         [BZ #13888]
51741         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51742         or TMPDIR.
51743         (testout): Likewise.
51745         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51746         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51747         $(rtld-installed-name).
51748         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51749         (rtld_installed_name): Likwise.
51750         (runit): Remove function.
51751         (run_getconf): New variable,  Use it for running getconf binary.
51753 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51755         [BZ #14716]
51756         * string/test-memmem.c (check_result): New function.
51757         (do_one_test): Use it.
51758         (check1): New function.
51759         (test_main): Use it.
51761 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51763         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51765 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51767         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51768         (_G_LSEEK64): Likewise.
51769         (_G_MMAP64): Likewise.
51770         (_G_FSTAT64): Likewise.
51771         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51772         (_G_LSEEK64): Likewise.
51773         (_G_MMAP64): Likewise.
51774         (_G_FSTAT64): Likewise.
51775         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51776         unconditional.  Call __mmap64 directly.
51777         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51778         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51779         __lseek64 directly.
51780         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51781         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51782         __mmap64 directly.
51783         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51784         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51785         __lseek64 directly.
51786         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51787         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51788         __lseek64 directly.
51789         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51790         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51791         __lseek64 directly.
51792         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51793         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51794         __fxstat64 directly.
51795         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51796         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51797         unconditional.
51798         (freopen64) [!_G_OPEN64]: Remove conditional code.
51799         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51800         unconditional.
51801         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51802         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51803         unconditional.
51804         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51805         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51806         unconditional.
51807         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51808         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51809         unconditional.
51810         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51811         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51812         unconditional.
51813         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51814         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51815         unconditional.
51816         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51817         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51818         unconditional.
51819         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51821 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51823         [BZ #12140]
51824         * manual/memory.texi (Malloc Tunable Parameters): Add note
51825         about free list pointers overwriting some perturb bytes.
51826         Wording suggested by Roland McGrath.
51828 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51830         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51831         (lgamma_test): Likewise.
51832         (tgamma_test): Likewise.
51834 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51836         [BZ #14700]
51837         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51838         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51840 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51842         * NEWS: Mention BZ #14716.
51843         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51844         when removing AVAILABLE1_USES_J macro.
51846 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51848         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51849         (__bswap_64): __uint64_t for unsigned 64-bit int.
51851 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51853         * include/string.h (memmem): Declare libc hidden alias.
51854         * string/memmem.c (memmem): Define libc hidden alias.
51855         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51856         __read, __close instead of open, read, close.
51858 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51861         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51862         global and hidden.
51863         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51864         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51865         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51866         Likewise.
51867         (__rawmemchr_sse2): Likewise.
51868         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51869         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51870         (__strchr_sse2): Likewise.
51871         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51872         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51873         (__strcasecmp_sse2): Likewise.
51874         (__strncasecmp_sse2): Likewise.
51875         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51876         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51877         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51878         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51879         (__strrchr_sse2): Likewise.
51880         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51881         ifunc-impl-list.c.
51882         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51883         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51884         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51885         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51886         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51887         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51888         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51889         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51890         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51891         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51892         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51893         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51894         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51895         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51896         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51897         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51898         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51899         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51900         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51901         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51902         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51903         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51904         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51905         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51906         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51907         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51908         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51909         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51910         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51911         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51913         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51914         global and hidden.
51915         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51916         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51917         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51918         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51919         Likewise.
51920         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51921         Likewise.
51922         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51923         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51924         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51925         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51926         ifunc-impl-list.c.
51927         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51928         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51929         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51930         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51931         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51932         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51933         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51934         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51935         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51936         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51937         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51938         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51939         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51940         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51941         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51942         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51943         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51944         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51945         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51946         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51947         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51948         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51949         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51950         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51951         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51952         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51953         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51954         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51955         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51956         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51957         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51958         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51959         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51960         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51961         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51962         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51963         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51964         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51965         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51966         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51967         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51969         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51970         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51971         * include/ifunc-impl-list.h: New file.
51972         * misc/ifunc-impl-list.c: Likewise.
51973         * misc/Makefile (routines): Add ifunc-impl-list.
51974         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51975         * string/test-string.h: Include <ifunc-impl-list.h>.
51976         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51977         TEST_NAME]: New variables.
51978         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51979         are defined.
51980         (test_init): Call __libc_ifunc_impl_list to initialize
51981         func_list if TEST_IFUNC and TEST_NAME are defined.
51983         * string/Makefile (strop-tests): Add bcopy and bzero.
51984         * string/test-bcopy.c: New file.
51985         * string/test-bzero.c: Likewise.
51986         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51987         defined.
51988         * string/test-memset.c: Support bzero test if TEST_BZERO is
51989         defined.
51990         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51991         __libc_memmove.
51992         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51993         __libc_memset.
51994         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51995         of memset.
51997 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51999         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52000         * configure: Regenerated.
52002         * Makeconfig (+link-static-before-libc): Don't include
52003         $(link-static-libc).
52005         * libio/libio.h (_IO_pos_t): Remove.
52007 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52009         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52010         McGrath.
52012 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52014         * crypt/crypt-entry.c: Include fips-private.h.
52015         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52016         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52017         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52018         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52020 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52022         * crypt/crypt-private.h: Include stdbool.h.
52023         (_ufc_setup_salt_r): Return bool.
52024         * crypt/crypt-entry.c: Include errno.h.
52025         (__crypt_r): Return NULL with EINVAL for bad salt.
52026         * crypt/crypt_util.c (bad_for_salt): New.
52027         (_ufc_setup_salt_r): Check that salt is long enough and within
52028         the specified alphabet.
52029         * crypt/badsalttest.c: New file.
52030         * crypt/Makefile (tests): Add it.
52031         ($(objpfx)badsalttest): New.
52033 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52035         * NEWS: Add entry for BZ #14602.
52037 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52039         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52040         type-generic.
52041         * math/libm-test.inc: Update comment listing what functions and
52042         macros are tested.
52043         (isgreater_test): New function.
52044         (isgreaterequal_test): Likewise.
52045         (isless_test): Likewise.
52046         (islessequal_test): Likewise.
52047         (islessgreater_test): Likewise.
52048         (isunordered_test): Likewise.
52049         (main): Call the new functions.
52051 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52053         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52054         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52055         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52056         * sysdeps/i386/configure: Regenerated.
52057         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52058         * sysdeps/mach/configure: Regenerated.
52059         * sysdeps/mach/hurd/configure: Regenerated.
52060         * sysdeps/powerpc/configure: Regenerated.
52061         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52062         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52063         * sysdeps/s390/s390-32/configure: Regenerated.
52064         * sysdeps/s390/s390-64/configure: Regenerated.
52065         * sysdeps/sh/configure: Regenerated.
52066         * sysdeps/sparc/configure: Regenerated.
52067         * sysdeps/unix/sysv/linux/configure: Regenerated.
52068         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52069         * sysdeps/x86_64/configure: Regenerated.
52071         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52072         defined.  Don't check if MAP is NULL.
52074 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52076         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52077         (_G_stat64): Likewise.
52078         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52079         (_G_stat64): Likewise.
52080         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52081         instead of struct _G_stat64.
52082         * libio/fileops.c (mmap_remap_check): Likewise.
52083         (decide_maybe_mmap): Likewise.
52084         (_IO_new_file_seekoff): Likewise.
52085         (_IO_file_stat): Likewise.
52086         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52087         _G_off64_t.
52088         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52089         instead of struct _G_stat64.
52090         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52092 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52094         [BZ #14602]
52095         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52096         Replace with ...
52097         (CHECK_EOL): New macro.
52098         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52099         CHECK_EOL.
52100         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52101         Replace with CHECK_EOL.
52102         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52103         Replace with CHECK_EOL.
52105 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52107         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52108         type-generic.
52109         * math/libm-test.inc: Update comment listing what functions and
52110         macros are tested.
52111         (finite_test): New function.
52112         (isinf_test): Likewise.
52113         (isnan_test): Likewise.
52114         (fpclassify_test): Test subnormal input.
52115         (isfinite_test): Likewise.
52116         (isnormal_test): Likewise.
52117         (main): Call the new functions.
52119 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52121         [BZ #14660]
52122         * Makerules (%.dynsym): Force C locale when running
52123         $(OBJDUMP) --dynamic-syms.
52125 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52127         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52128         <stdint.h>.
52130 2012-10-06  David S. Miller  <davem@davemloft.net>
52132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52133         upper 32-bits of the length value in %o2 since we use branch-on-register
52134         tests which consider the entire 64-bit register.
52136 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52138         * string/test-strstr.c (check2): Add a test for page boundary.
52140 2012-10-05  David S. Miller  <davem@davemloft.net>
52142         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52143         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52144         file.
52145         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52146         sysdep_routines.
52147         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52148         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52149         and bzero when HWCAP_SPARC_CRYPTO is present.
52151 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52153         [BZ #14602]
52154         * string/test-strstr.c (check2): New function.
52155         (test_main): Call check2.
52157         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52158         and bug-strchr1.
52159         * string/bug-strcasestr1.c (do_test): Moved to ...
52160         * string/test-strcasestr.c (check1): Here.  New function.
52161         (do_one_test): Break out result checking code into ...
52162         (check_result): This.  New function.
52163         (do_one_test): Call check_result.
52164         (test_main): Call check1.
52165         * string/bug-strchr1.c (do_test): Moved to ...
52166         * string/test-strchr.c (check1): Here.  New function.
52167         (do_one_test): Break out result checking code into ...
52168         (check_result): This.  New function.
52169         (do_one_test): Call check_result.
52170         (test_main): Call check1.
52171         * string/bug-strstr1.c (main): Moved to ...
52172         * string/test-strstr.c (check1): Here.  New function.
52173         (do_one_test): Break out result checking code into ...
52174         (check_result): This.  New function.
52175         (do_one_test): Call check_result.
52176         (test_main): Call check1.
52177         * string/bug-strcasestr1.c: Removed.
52178         * string/bug-strchr1.c: Likewise.
52179         * string/bug-strstr1.c: Likewise.
52181         * elf/Makefile (dl-routines): Add hwcaps.
52182         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52183         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52184         (_dl_important_hwcaps): Moved to ...
52185         * elf/dl-hwcaps.c: Here.  New file.
52186         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52188         [BZ #14557]
52189         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52190         if IS_IN_rtld isn't defined.
52192         * elf/dl-support.c (_dl_sysinfo_map): New.
52193         Include "get-dynamic-info.h" and "setup-vdso.h".
52194         (_dl_non_dynamic_init): Call setup_vdso.
52195         * elf/dynamic-link.h: Don't include <assert.h>.
52196         (elf_get_dynamic_info): Moved to ...
52197         * elf/get-dynamic-info.h: Here.  New file.
52198         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52199         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52200         * elf/setup-vdso.h: Here.  New file.
52201         * elf/rtld.c: Include "setup-vdso.h".
52202         (dl_main): Call setup_vdso.
52204 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52206         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52207         creal in comment listing functions tested.  List finite, isinf,
52208         isnan, isless, islessequal, isgreater, isgreaterequal,
52209         islessgreater, isunordered, lgamma_r and pow10 as functions and
52210         macros not tested.  Mention which functions not tested are aliases
52211         for other functions.  Fix typo.  Note that signs of NaNs are not
52212         tested.
52214         * scripts/config.guess: Update from config.git.
52215         * scripts/config.sub: Likewise.
52217 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52219         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52220         * misc/madvise.c (madvise): Renamed to __madvise.
52221         Make madvise a weak alias.
52222         * include/sys/mman.h: Declare __madvise.
52223         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52224         * sysdeps/unix/syscalls.list
52225         (madvise): Make __madvise the strong name, and madvise a weak alias.
52226         * sysdeps/unix/sysv/linux/syscalls.list
52227         (madvise, mmap): Remove redundant entries.
52228         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52229         * malloc/malloc.c (mtrim): Likewise.
52230         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52232 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52234         * sysdeps/mach/hurd/dl-cache.c: File removed.
52235         * config.h.in (USE_LDCONFIG): New #undef.
52236         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52237         * configure: Regenerated.
52238         * elf/Makefile (dl-routines): Add dl-cache only under
52239         [$(use-ldconfig) = yes].
52240         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52241         cache on [USE_LDCONFIG].
52242         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52243         [USE_LDCONFIG].
52244         * elf/rtld.c (dl_main): Likewise.
52246 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52248         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52249         _SC_LEVEL4_CACHE_LINESIZE.
52251 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52253         * sysdeps/unix/bsd/confstr.h: File removed.
52255 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52257         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52258         sys/sdt-config.h.
52260 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52262         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52263         Make 'mapoff' field ElfW(Off) rather than off_t.
52265 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52267         * nscd/Makefile: Remove nscd-cflags and all its users.
52268         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52269         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52271         [BZ #10631]
52272         * malloc.c (malloc_printerr): Clarify error message.
52274 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52276         [BZ #14648]
52277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52278         Set bit_FMA_Usable if FMA is supported.
52279         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52280         macro.
52281         (bit_FMA4_Usable): Updated.
52282         (index_FMA_Usable): New macro.
52283         (CPUID_FMA): Likewise
52284         (HAS_FMA): Defined with bit_FMA_Usable.
52286 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52288         * bits/types.h (__swblk_t): Type removed.
52289         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52290         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52292         (__SWBLK_T_TYPE): Likewise.
52293         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52294         (__SWBLK_T_TYPE): Likewise.
52295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52296         (__SWBLK_T_TYPE): Likewise.
52297         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52298         (__SWBLK_T_TYPE): Likewise.
52300 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52301             Honza Horak <hhorak@redhat.com>
52303         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52304         (xdr_mapname): Use YPMAXMAP as maxsize.
52305         (xdr_peername): Use YPMAXPEER as maxsize.
52306         (xdr_keydat): Use YPAXRECORD as maxsize.
52307         (xdr_valdat): Use YPMAXRECORD as maxsize.
52309 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52311         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52313         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52314         * csu/init-first.c: ... here.
52315         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52316         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52317         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52318         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52319         * sysdeps/i386/init-first.c: File removed.
52320         * sysdeps/sh/init-first.c: File removed.
52322 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52324         [BZ #14645]
52325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52326         if x * y might underflow to zero and z is zero.
52327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52329         * math/libm-test.inc (min_subnorm_value): New variable.
52330         (fma_test): Add more tests.
52331         (fma_test_towardzero): Likewise.
52332         (fma_test_downward): Likewise
52333         (fma_test_upward): Likewise.
52334         (initialize): Set min_subnorm_value.
52336 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52338         [BZ #14638]
52339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52340         0 + 0.
52341         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52342         mode for addition resulting in exact zero.
52343         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52345         exact 0 + 0.
52346         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52348         * math/libm-test.inc (fma_test): Add more tests.
52349         (fma_test_towardzero): New function.
52350         (fma_test_downward): Likewise.
52351         (fma_test_upward): Likewise.
52352         (main): Call the new functions.
52354 2012-09-28  David S. Miller  <davem@davemloft.net>
52356         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52358 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52360         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52361         instead of SIGALRM.
52363         * sysdeps/gnu/_G_config.h: Moved to ...
52364         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52365         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52366         * sysdeps/generic/_G_config.h: ... here.
52368         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52370         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52372         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52373         Conditionalize target on [libnss_test1.so-version].
52375         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52377         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52378         (elfobjdir): Move out of conditionals.
52380         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52381         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52382         (__nss_lookup_function): Conditionalize label remove_from_tree on
52383         [!DO_STATIC_NSS || SHARED], matching its only use.
52385 2012-09-28  David S. Miller  <davem@davemloft.net>
52387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52388         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52389         file.
52390         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52391         sysdep_routines.
52392         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52394         when HWCAP_SPARC_CRYPTO is present.
52396 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52398         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52400 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52402         [BZ #6530]
52403         * stdio-common/vfprintf.c (process_string_arg): Revert
52404         2000-07-22 change.
52406 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52408         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52409         for testcase.
52410         * stdio-common/tst-sprintf.c: Include <locale.h>
52411         (main): Test sprintf's handling of incomplete multibyte
52412         characters.
52414 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52416         * elf/dl-runtime.c (VERSYMIDX): Removed.
52417         * elf/dl-version.c (VERSYMIDX): Likewise.
52418         * elf/do-rel.h (VERSYMIDX): Likewise.
52419         (VALIDX): Likewise.
52420         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52421         * elf/rtld.c (VALIDX): Likewise.
52422         (ADDRIDX): Likewise.
52423         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52424         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52425         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52426         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52427         (VALIDX): Likewise.
52428         (ADDRIDX): Likewise.
52430 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52432         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52434 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52436         [BZ #11438]
52437         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52438         to global scope.
52439         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52440         addresses are in the same scope as 192.0.2/24.
52441         * posix/gai.conf: Document new scope table defaults.
52443 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52445         [BZ #5298]
52446         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52447         for ftell.  Compute offsets from write pointers instead.
52448         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52450 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52452         [BZ #14543]
52453         * libio/Makefile (tests): New test case tst-fseek.
52454         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52455         combination works in wide mode.
52456         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52457         state when the external buffer state changes.
52459 2012-09-27  David S. Miller  <davem@davemloft.net>
52461         [BZ #14376]
52462         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52463         pass reloc->r_addend in as the 'high' argument to
52464         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52468 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52470         * rt/tst-aio2.c: Include <pthread.h>.
52471         * rt/tst-aio3.c: Likewise.
52473 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52475         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52477 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52479         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52480         contents on [SHARED].
52482 2012-09-26  Marek Polacek  <polacek@redhat.com>
52484         [BZ #14530]
52485         [BZ #13741]
52486         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52487         for C++ and GCC <4.3 as well as for non GCC compilers.
52489 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52493 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52495         * Makefile.in (all, install): Declare with .PHONY.
52496         Reported by Michael Hope <michael.hope@linaro.org>.
52498 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52500         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52501         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52502         system header.
52503         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52504         Likewise.
52505         (sydep_routines): Add the new and the internal functions.
52506         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52507         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52509         (GLIBC_2.17): Add the new function.
52510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52511         (GLIBC_2.17): Likewise.
52512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52513         (GLIBC_2.17): Likewise.
52514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52515         (GLIBC_2.17): Likewise.
52516         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52518 2012-09-25  Alan Modra  <amodra@gmail.com>
52520         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52521         Add release barrier before setting once_control to say
52522         initialisation is done.  Add hints on lwarx.  Use macro in
52523         place of isync.
52524         (clear_once_control): Add release barrier.
52526 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52528         [BZ #13629]
52529         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52530         specially.
52531         * math/s_clog10.c (__clog10): Likewise.
52532         * math/s_clog10f.c (__clog10f): Likewise.
52533         * math/s_clog10l.c (__clog10l): Likewise.
52534         * math/s_clogf.c (__clogf): Likewise.
52535         * math/s_clogl.c (__clogl): Likewise.
52536         * math/Makefile (libm-calls): Add x2y2m1.
52537         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52538         (__x2y2m1): Likewise.
52539         (__x2y2m1l): Likewise.
52540         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52541         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52542         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52543         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52544         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52545         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52546         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52547         * sysdeps/i386/fpu/libm-test-ulps: Update.
52548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52550         [BZ #14621]
52551         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52552         int as type of variable DEPTH.
52553         (glob): Use size_t instead of int as type of variables NEWCOUNT
52554         and OLD_PATHC.
52556 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52558         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52559         Add s_sincosf-sse2.
52560         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52561         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52562         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52563         macros for using routine as __sincosf_ia32.
52564         Use macro for function declaration and weak_alias.
52565         * sysdeps/i386/fpu/libm-test-ulps: Update.
52567         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52570         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52571         subnormal argument.
52572         * math/s_cexpf.c (__cexpf): Likewise.
52573         * math/s_csinf.c (__csinf): Likewise.
52574         * math/s_csinhf.c (__csinhf): Likewise.
52575         * math/s_ctanf.c (__ctanf): Likewise.
52576         * math/s_ctanhf.c (__ctanhf): Likewise.
52577         * math/s_ccosh.c (__ccoshf): Likewise.
52578         * math/s_cexp.c (__cexpl): Likewise.
52579         * math/s_csin.c (__csin): Likewise.
52580         * math/s_csinh.c (__csinh): Likewise.
52581         * math/s_ctan.c (__ctan): Likewise.
52582         * math/s_ctanh.c (ctanh): Likewise.
52583         * math/s_ccoshl.c (__ccoshl): Likewise.
52584         * math/s_cexpl.c (__cexpl): Likewise.
52585         * math/s_csinl.c (__csinl): Likewise.
52586         * math/s_csinhl.c (__csinhl): Likewise.
52587         * math/s_ctanl.c (__ctanl): Likewise.
52588         * math/s_ctanhl.c (__ctanhl): Likewise.
52590 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52592         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52593         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52594         (_IO_off_t): Define to __off_t, not _G_off_t.
52595         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52596         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52597         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52598         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52599         type of __dummy and __dummy2 fields.
52600         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52601         (_G_ssize_t): Likewise.
52602         (_G_off_t): Likewise.
52603         (_G_pid_t): Likewise.
52604         (_G_uid_t): Likewise.
52605         (_G_wchar_t): Likewise.
52606         (_G_wint_t): Likewise.
52607         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52608         (_G_ssize_t): Likewise.
52609         (_G_off_t): Likewise.
52610         (_G_pid_t): Likewise.
52611         (_G_uid_t): Likewise.
52612         (_G_wchar_t): Likewise.
52613         (_G_wint_t): Likewise.
52614         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52615         (_G_ssize_t): Likewise.
52616         (_G_off_t): Likewise.
52617         (_G_pid_t): Likewise.
52618         (_G_uid_t): Likewise.
52619         (_G_wchar_t): Likewise.
52620         (_G_wint_t): Likewise.
52622 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52624         * malloc/arena.c: Include malloc-sysdep.h.
52625         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52626         is sufficient to shrink the heap or an unmap is needed.
52627         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52628         new function check_may_shrink_heap.
52629         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52630         new function check_may_shrink_heap.
52632 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52634         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52635         comments.
52637 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52639         * catgets/test-gencat.sh: Add "set -e".
52640         * elf/tst-pathopt.sh: Likewise.
52641         * grp/tst_fgetgrent.sh: Likewise.
52642         * iconvdata/run-iconv-test.sh: Likewise.
52643         * intl/tst-gettext.sh: Likewise.
52644         * intl/tst-gettext2.sh: Likewise.
52645         * intl/tst-gettext4.sh: Likewise.
52646         * intl/tst-gettext6.sh: Likewise.
52647         * intl/tst-translit.sh: Likewise.
52648         * io/ftwtest-sh: Likewise.
52649         * libio/test-freopen.sh: Likewise.
52650         * malloc/tst-mtrace.sh: Likewise.
52651         * posix/globtest.sh: Likewise.
52652         * posix/tst-getconf.sh: Likewise.
52653         * posix/wordexp-tst.sh: Likewise.
52654         * stdio-common/tst-printf.sh: Likewise.
52655         * stdio-common/tst-unbputc.sh: Likewise.
52656         * stdlib/tst-fmtmsg.sh: Likewise.
52657         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52658         * catgets/Makefile: Do not specify -e option when running
52659         testsuite shell scripts.
52660         * elf/Makefile: Likewise.
52661         * grp/Makefile: Likewise.
52662         * iconvdata/Makefile: Likewise.
52663         * intl/Makefile: Likewise.
52664         * io/Makefile: Likewise.
52665         * libio/Makefile: Likewise.
52666         * malloc/Makefile: Likewise.
52667         * posix/Makefile: Likewise.
52668         * stdio-common/Makefile: Likewise.
52669         * stdlib/Makefile: Likewise.
52670         * sysdeps/x86_64/Makefile: Likewise.
52672         * io/ftwtest-sh: Add copyright header.
52673         * posix/globtest.sh: Likewise.
52674         * posix/tst-getconf.sh: Likewise.
52675         * posix/wordexp-tst.sh: Likewise.
52676         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52678 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52680         [BZ #13679]
52681         * Makeconfig (+link): Defined as $(+link-static) if
52682         $(build-shared) isn't yes.
52683         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52684         isn't yes.
52685         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52687         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52689         [BZ #14562]
52690         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52691         new chunk size with MALLOC_ALIGN_MASK.
52693 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52695         [BZ #5044]
52696         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52697         <rounding-mode.h>.
52698         (__printf_fphex): Determine rounding using get_rounding_mode and
52699         round_away.
52700         * stdio-common/tst-printf-round.c (struct hex_test): New
52701         structure.
52702         (hex_tests): New variable.
52703         (test_hex_in_one_mode): New function.
52704         (do_test): Also run tests for hex float output.
52706 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52708         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52709         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52710         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52711         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52712         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52713         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52714         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52715         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52717 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52719         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52720         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52721         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52722         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52724 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52726         [BZ #14579]
52727         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52728         mode only.
52729         * elf/tst-rtld-load-self.sh: New test.
52730         * elf/Makefile: Run it.
52732 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52734         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52735         (tst-writev-ENV): Remove.
52736         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52738 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52740         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52742 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52744         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52745         unconditional.
52746         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52747         Likewise.
52748         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52749         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52750         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52751         Likewise.
52753 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52755         [BZ #14587]
52756         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52757         * config.make.in (have-cpp-asm-debuginfo): Removed.
52758         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52759         * configure: Regenerated.
52761 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52763         [BZ #5044]
52764         * stdio-common/printf_fp.c: Include <stdbool.h> and
52765         <rounding-mode.h>.
52766         (___printf_fp): Determine rounding using get_rounding_mode and
52767         round_away.
52768         * stdio-common/tst-printf-round.c: New file.
52769         * stdio-common/Makefile (tests): Add tst-printf-round.
52770         (link-libm): New variable.
52771         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52773 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52775         [BZ #14576]
52776         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52777         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52778         Likewise.
52779         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52780         Likewise.
52782 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52784         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52785         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52786         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52789 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52791         [BZ #14518]
52792         * include/rounding-mode.h: New file.
52793         * sysdeps/generic/get-rounding-mode.h: Likewise.
52794         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52795         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52796         (MAX_VALUE): New macro.
52797         (MIN_VALUE): Likewise.
52798         (overflow_value): New function.
52799         (underflow_value): Likewise.
52800         (round_and_return): Use overflow_value and underflow_value to
52801         determine return values in overflow and underflow cases.  Use
52802         round_away to determine rounding depending on rounding mode.
52803         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52804         determine return values in overflow and underflow cases.
52805         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52806         (struct test_results): New structure.
52807         (struct test): Use struct test_results to store expected results
52808         for all rounding modes.
52809         (TEST): Include expected results for all rounding modes.
52810         (test_in_one_mode): New function.
52811         (do_test): Use test_in_one_mode to compute and check results.
52812         Check results for all rounding modes.
52813         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52814         $(link-libm).
52816 2012-12-09  Allan McRae  <allan@archlinux.org>
52818         * sysdeps/i386/fpu/libm-test-ulps: Update
52820 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52822         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52823         (_G_int32_t): Likewise.
52824         (_G_uint16_t): Likewise.
52825         (_G_uint32_t): Likewise.
52826         (_G_HAVE_BOOL): Likewise.
52827         (_G_HAVE_ATEXIT): Likewise.
52828         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52829         (_G_HAVE_IO_FILE_OPEN): Likewise.
52830         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52831         (_G_int32_t): Likewise.
52832         (_G_uint16_t): Likewise.
52833         (_G_uint32_t): Likewise.
52834         (_G_HAVE_BOOL): Likewise.
52835         (_G_HAVE_ATEXIT): Likewise.
52836         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52837         (_G_HAVE_IO_FILE_OPEN): Likewise.
52838         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52839         (_G_int32_t): Likewise.
52840         (_G_uint16_t): Likewise.
52841         (_G_uint32_t): Likewise.
52842         (_G_HAVE_BOOL): Likewise.
52843         (_G_HAVE_ATEXIT): Likewise.
52844         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52845         (_G_HAVE_IO_FILE_OPEN): Likewise.
52847 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52849         * csu/libc-tls.c: Update copyright years.
52851 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52853         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52854         [!_G_USING_THUNKS]: Remove conditional code.
52855         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52856         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52858         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52859         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52860         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52861         (_G_VTABLE_LABEL_PREFIX): Likewise.
52862         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52863         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52864         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52865         (_G_VTABLE_LABEL_PREFIX): Likewise.
52866         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52867         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52868         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52869         (_G_VTABLE_LABEL_PREFIX): Likewise.
52870         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52872 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52874         * libio/Makefile: Include ../Makeconfig before tests.
52875         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52876         only if $(build-shared) is yes.
52878         * iconv/gconv_db.c: Update copyright years.
52880 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52882         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52883         unwind info if defined PIC. Fix special cases description.
52884         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52886         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52887         DP_HI_MASK entry.
52888         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52890 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52892         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52894         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52895         is NULL.
52897         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52898         (LDLIBS-tst-chk4): This.
52899         (LDFLAGS-tst-chk5): Renamed to ...
52900         (LDLIBS-tst-chk5): This.
52901         (LDFLAGS-tst-chk6): Renamed to ...
52902         (LDLIBS-tst-chk6): This.
52903         (LDFLAGS-tst-lfschk4): Renamed to ...
52904         (LDLIBS-tst-lfschk4): This.
52905         (LDFLAGS-tst-lfschk5): Renamed to ...
52906         (LDLIBS-tst-lfschk5): This.
52907         (LDFLAGS-tst-lfschk6): Renamed to ...
52908         (LDLIBS-tst-lfschk6): This.
52910         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52911         on $(common-objpfx)soversions.mk.
52913 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52915         [BZ #10014]
52916         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52917         example host name.
52919 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52921         * malloc/arena.c (arena_get_retry): New function that gets
52922         another arena for the caller to try its request on.
52923         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52924         current arena cannot fulfill the request.
52925         (__libc_memalign): Likewise.
52926         (__libc_memalign): Likewise.
52927         (__libc_pvalloc): Likewise.
52928         (__libc_calloc): Likewise.
52930 2012-09-05  John Tobey  <john.tobey@gmail.com>
52932         [BZ #13542]
52933         * manual/arith.texi (Operations on Complex): Fix description
52934         of carg branch cut.
52936 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52938         [BZ #10014]
52939         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52940         host name.
52942         [BZ #10038]
52943         * manual/memory.texi (Memory): Make order of menu items match
52944         order of sections.
52946 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52948         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52949         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52950         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52952 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52954         * csu/libc-tls.c (static_dtv): Renamed to ...
52955         (_dl_static_dtv): This.  Make it global.
52956         (_dl_initial_dtv): Removed.
52957         (__libc_setup_tls): Updated.
52958         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52959         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52960         DL_INITIAL_DTV.
52962 2012-09-06  Petr Machata  <pmachata@redhat.com>
52964         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52965         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52966         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52967         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52969 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52971         [BZ #14545]
52972         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52973         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52974         freeing dtv[-1].
52976 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52978         [BZ #14544]
52979         * Makeconfig (link-static-before-libc): Replace $(+prector)
52980         with $(+prectorT).
52981         (link-static-after-libc): Replace $(+postctor) with
52982         $(+postctorT).
52983         (link-bounded): Replace $(+prector)/$(+postctor) with
52984         $(+prectorT)/$(+postctorT).
52985         (+prectorT): New macro.
52986         (+postctorT): Likewise.
52988 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52990         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52991         (round_str): Handle values above the maximum for IBM long double
52992         as inexact.
52993         * stdlib/tst-strtod-round.c (tests): Regenerated.
52995 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52997         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52998         assembler flag.
52999         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53000         zarch_nohighgprs around the zarch optimized routines.
53001         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53002         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53003         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53004         for zarch.
53006 2012-09-05  David S. Miller  <davem@davemloft.net>
53008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53010         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53011         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53012         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53013         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53014         entries.
53016 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53018         * malloc/arena.c: Fold copyright years.
53019         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53023         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53027         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53029 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53031         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53032         change internal state upon failure.
53034 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53036         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53037         * malloc/memusage.c (mmap): Likewise.
53038         (mmap64, mremap): Likewise.  Adjust name in comment.
53040 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53042         * libio/fileops.c: Fix typos in comments.
53043         * libio/oldfileops.c: Likewise.
53044         * libio/wfileops.c: Likewise.
53046 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53048         [BZ #1349]
53049         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53050         (tst-malloc-usable-ENV): Set environment for test case.
53051         * malloc/hooks.c (malloc_check_get_size): New function to get
53052         requested size.
53053         * malloc/malloc.c (musable): Use malloc_check_get_size.
53054         * malloc/tst-malloc-usable.c: New test case.
53056 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53058         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53060 2012-09-05  Allan McRae  <allan@archlinux.org>
53062         [BZ #13966]
53063         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53064         determine header location.
53065         * configure: Regenerated.
53067 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53069         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53070         float format.
53071         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53072         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53073         format.
53074         (test): Regenerate.
53076 2012-09-04  David S. Miller  <davem@davemloft.net>
53078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53080         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53082 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53084         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53085         failures.
53087         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53089 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53091         [BZ #9914]
53092         * libio/iogetdelim.c: Include <limits.h>.
53093         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53094         + len + 1 would overflow.
53096 2012-09-03  Andreas Jaeger  <aj@suse.de>
53098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53099         * sysdeps/i386/fpu/libm-test-ulps: Update.
53101 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53103         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53104         Add s_sinf-sse2, s_conf-sse2.
53106         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53107         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53108         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53109         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53111         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53112         for using routine as __sinf_ia32.
53113         Use macro for function declaration and weak_alias.
53114         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53115         for using routine as __cosf_ia32.
53116         Use macro for function declaration and weak_alias.
53118         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53119         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53121         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53122         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53125         * math/libm-test.inc (cos_test): Add more test cases.
53126         (sin_test): Likewise.
53127         (sincos_test): Likewise.
53129 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53132         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53133         hidden.
53134         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53136 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53138         [BZ #14538]
53139         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53140         first element of the GOT.
53141         (elf_machine_load_address): Return the difference between
53142         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53144 2012-09-01  Allan McRae  <allan@archlinux.org>
53146         [BZ #13412]
53147         * configure.in (AWK): Require gawk version 3.0 or later.
53148         * configure: Regenerated.
53150 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53152         * sysdeps/unix/sysv/linux/kernel-features.h
53153         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53155         [__NR_clock_getres]: Make code unconditional.
53156         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53157         (clock_getcpuclockid): Remove code left unreachable by removal of
53158         conditionals.
53159         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53160         code unconditional.
53161         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53163         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53164         Make code unconditional.
53165         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53166         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53167         * sysdeps/unix/sysv/linux/clock_settime.c
53168         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53169         conditional code.
53170         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53171         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53173 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53175         [BZ #14476]
53176         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53177         scripts/test-installation.pl.
53179         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53180         and $ld_so_version if it is set.
53182 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53184         [BZ #14516]
53185         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53186         failure if reading from procfs failed.
53187         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53189 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53191         * sysdeps/unix/sysv/linux/kernel-features.h
53192         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53193         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53194         Remove conditional code.
53195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53196         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53197         Remove conditional code.
53198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53199         * sysdeps/unix/sysv/linux/i386/fxstat.c
53200         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53202         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53203         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53205         * sysdeps/unix/sysv/linux/i386/lxstat.c
53206         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53208         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53209         Remove conditional code.
53210         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53211         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53212         Remove conditional code.
53213         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53214         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53215         <kernel-features.h>.
53216         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53217         Remove.
53218         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53219         Remove conditional code.
53220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53221         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53222         Remove conditional.
53224 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53226         [BZ #5400]
53227         * NEWS: Add fixed bug number.
53229 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53231         [BZ #14519]
53232         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53233         underflowing exponent in case of negative sign.
53234         * stdlib/tst-strtod-round-data: Add more tests.
53235         * stdlib/tst-strtod-round.c (tests): Regenerated.
53237         [BZ #3479]
53238         * stdlib/strtod_l.c (NDIG): Remove.
53239         (HEXNDIG): Likewise.
53240         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53241         smallest representable value.
53242         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53243         lie within an exact representation of 1/2 ulp of the result.
53244         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53245         unconditionally.
53246         (TENS_P9_IDX): Define unconditionally.
53247         (TENS_P9_SIZE): Likewise.
53248         (TENS_P10_IDX): Likewise.
53249         (TENS_P10_SIZE): Likewise.
53250         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53251         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53252         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53253         entries for 10^2^13 and 10^2^14.
53254         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53255         (TENS_P13_IDX): Define.
53256         (TENS_P13_SIZE): Likewise.
53257         (TENS_P14_IDX): Likewise.
53258         (TENS_P14_SIZE): Likewise.
53259         (_fpioconst_pow10): Change array size to
53260         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53261         unconditional.
53262         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53263         1024]: Add entries for 10^2^13 and 10^2^14.
53264         [LAST_POW10 > _LAST_POW10]: Remove #error.
53265         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53266         (_fpioconst_pow10): Change array size to
53267         FPIOCONST_POW10_ARRAY_SIZE.
53268         * stdlib/gen-fpioconst.c: New file.
53269         * stdlib/gen-tst-strtod-round.c: Likewise.
53270         * stdlib/tst-strtod-round-data: Likewise.
53271         * stdlib/tst-strtod-round.c: Likewise.
53272         * stdlib/Makefile (tests): Add tst-strtod-round.
53274         [BZ #14459]
53275         * stdlib/strtod_l.c: Include <stdint.h>.
53276         (NDEBUG): Do not define.
53277         (round_and_return): Change EXPONENT parameter to type intmax_t.
53278         Rearrange calculations to avoid internal overflow possibilities.
53279         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53280         Rearrange calculations to avoid internal overflow possibilities.
53281         Assert that number fits inside MPNSIZE limbs.
53282         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53283         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53284         calculations and add assertions to avoid internal overflow
53285         possibilities.  Add casts to avoid signed/unsigned operations.
53286         * stdlib/tst-strtod-overflow.c: New file.
53287         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53289 2012-08-25  Marek Polacek  <polacek@redhat.com>
53291         * time/time.h: Fix some typos in comments.
53293 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53295         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53296         * posix/tst-rfc3484-2.c: Likewise.
53297         * posix/tst-rfc3484-3.c: Likewise.
53299 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53301         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53302         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53304 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53306         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53307         #include of fxstatat64.c.
53309 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53311         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53312         * shadow/getspent_r.c: Likewise.
53313         * shadow/getspnam.c: Likewise.
53314         * shadow/getspnam_r.c: Likewise.
53315         * gshadow/getsgent.c: Likewise.
53316         * gshadow/getsgent_r.c: Likewise.
53317         * gshadow/getsgnam.c: Likewise.
53318         * gshadow/getsgnam_r.c: Likewise.
53319         * inet/getnetbyad.c: Likewise.
53320         * inet/getnetbyad_r.c: Likewise.
53321         * inet/getnetbynm.c: Likewise.
53322         * inet/getnetbynm_r.c: Likewise.
53323         * inet/getnetent.c: Likewise.
53324         * inet/getnetent_r.c: Likewise.
53325         * inet/getproto.c: Likewise.
53326         * inet/getproto_r.c: Likewise.
53327         * inet/getprtent.c: Likewise.
53328         * inet/getprtent_r.c: Likewise.
53329         * inet/getprtname.c: Likewise.
53330         * inet/getprtname_r.c: Likewise.
53331         * inet/getrpcbyname.c: Likewise.
53332         * inet/getrpcbyname_r.c: Likewise.
53333         * inet/getrpcbynumber.c: Likewise.
53334         * inet/getrpcbynumber_r.c: Likewise.
53335         * inet/getrpcent.c: Likewise.
53336         * inet/getrpcent_r.c: Likewise.
53337         * inet/getaliasent.c: Likewise.
53338         * inet/getaliasent_r.c: Likewise.
53339         * inet/getaliasname.c: Likewise.
53340         * inet/getaliasname_r.c: Likewise.
53341         * nscd/getgrgid_r.c: Likewise.
53342         * nscd/getgrnam_r.c: Likewise.
53343         * nscd/gethstbyad_r.c: Likewise.
53344         * nscd/gethstbynm3_r.c: Likewise.
53345         * nscd/getpwnam_r.c: Likewise.
53346         * nscd/getpwuid_r.c: Likewise.
53347         * nscd/getsrvbynm_r.c: Likewise.
53348         * nscd/getsrvbypt_r.c: Likewise.
53349         * nscd/gai.c: Likewise.
53351         * configure.in (build_nscd): New substituted variable, set
53352         by --disable-build-nscd and defaults to $use_nscd.
53353         * configure: Regenerated.
53354         * config.make.in (build-nscd): New substituted variable.
53355         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53356         Change conditional to require [$(build-nscd) = yes] as well.
53357         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53359         [BZ# 13696]
53360         * configure.in (use_nscd): New substituted variable, set by
53361         --disable-nscd.  If enabled, define USE_NSCD.
53362         * configure: Regenerated.
53363         * config.h.in: Add USE_NSCD.
53364         * config.make.in (use-nscd): New substituted variable.
53365         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53366         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53367         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53368         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53369         (CFLAGS-getgrnam_r.c): Likewise.
53370         (CFLAGS-initgroups.c): Likewise.
53371         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53372         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53373         Variables removed.
53374         * inet/getnetgrent_r.c
53375         (nscd_setnetgrent): New function, broken out of ...
53376         (setnetgrent): ... here.  Call it.
53377         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53378         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53379         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53380         * nscd/Makefile (routines, aux): Move definitions after include of
53381         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53382         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53383         Conditionalize on [USE_NSCD].
53384         (is_nscd, nscd_init_cb): Likewise.
53385         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53386         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53387         * nss/nss_db/db-init.c: Likewise.
53388         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53389         [USE_NSCD].
53390         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53391         (make_request): Use it.
53392         (cache_valid_p): New function.
53393         (__check_pf): Use it.
53394         * NEWS: Add item for --disable-nscd.
53396 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53398         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53399         to support sed >= 4.2.1-20-ga9bf076.
53400         * configure: Regenerated.
53402 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53404         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53405         Conditionalize whole body on [IREL].
53407 2012-08-22  Jeff Law <law@redhat.com>
53409         [BZ #14505]
53410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53411         if the family is PF_UNSPEC.
53413 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53415         * Makerules (lib-version): Rename from V.
53416         (install-lib-nosubdir): Change V to lib-version.
53418 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53420         [BZ #14252]
53421         * powerpc32/power6/wcschr.c: New file.
53422         * powerpc32/power6/wcscpy.c: New file.
53423         * powerpc32/power6/wcsrchr.c: New file.
53424         * powerpc64/power6/wcschr.c: New file.
53425         * powerpc64/power6/wcscpy.c: New file.
53426         * powerpc64/power6/wcsrchr.c: New file.
53428 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53430         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53431         (two_way_short_needle): Use it.
53432         * string/strstr.c (AVAILABLE1_USES_J): Define.
53433         * string/strcasestr.c: Likewise.
53435         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53436         array references.
53437         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53439         [BZ #11607]
53440         * NEWS: Add an entry.
53441         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53442         define their defaults.
53443         (two_way_short_needle): Detect end-of-string on-the-fly.
53444         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53445         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53446         * string/bug-strcasestr1.c: New test.
53447         * string/Makefile: Run it.
53449 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53451         [BZ #11607]
53452         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53453         the first character.
53455 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53457         * csu/elf-init.c (__libc_csu_irel): Function removed.
53458         * csu/libc-start.c (apply_irel): New function.
53459         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53461 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53463         * sysdeps/unix/sysv/linux/kernel-features.h
53464         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53465         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53466         <kernel-features.h>.
53467         [__NR_fadvise64_64]: Make code unconditional.
53468         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53469         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53470         !__NR_fadvise64_64)]: Likewise.
53471         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53472         !__NR_fadvise64_64))]: Likewise.
53473         [__NR_fadvise64]: Make code unconditional.
53474         [!__NR_fadvise64]: Remove conditional code.
53475         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53476         <kernel-features.h>.
53477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53478         unconditional.
53479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53480         conditional code.
53481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53482         not include <kernel-features.h>.
53483         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53484         unconditional.
53485         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53486         conditional code.
53487         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53488         include <kernel-features.h>.
53489         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53490         unconditional.
53491         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53492         conditional code.
53494 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53497         slight instruction rearrangements per scrollpipe analysis.
53498         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53500 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53502         * manual/syslog.texi (syslog; vsyslog, closelog):
53503         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53504         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53506         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53507         DSOCAPS to match condition on defining it.
53509 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53511         * sysdeps/unix/sysv/linux/kernel-features.h
53512         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53514         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53515         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53517         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53518         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53520         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53521         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53523         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53524         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53526         * sysdeps/unix/sysv/linux/kernel-features.h
53527         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53528         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53529         unconditional.
53530         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53531         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53532         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53533         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53534         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53535         Make code unconditional.
53536         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53537         (__mmap64) [!__NR_mmap2]: Likewise.
53538         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53539         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53540         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53541         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53542         [__NR_mmap2]: Make code unconditional.
53543         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53544         (__mmap64) [!__NR_mmap2]: Likewise.
53546 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53548         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53550 2012-08-18  Andreas Jaeger  <aj@suse.de>
53552         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53554 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53556         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53557         * include/unistd.h (__have_sock_cloexec): Likewise.
53558         (__have_pipe2): Likewise.
53559         (__have_dup3): Likewise.
53561 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53563         [BZ #9685]
53564         * include/unistd.h (__have_pipe2): Change define into an extern int.
53565         (__have_dup3): Likewise.
53566         * socket/have_sock_cloexec.c: Include fcntl.h.
53567         (__have_pipe2): New variable.
53568         (__have_dup3): Likewise.
53570 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53572         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53574 2012-08-17  Marek Polacek  <polacek@redhat.com>
53576         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53577         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53579 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53581         * configure.in: Add AC_SUBST for sysheaders.
53582         * configure: Regenerated.
53583         * config.make.in (sysheaders): New substituted variable.
53585         * sysdeps/unix/mkfifo.c: Moved ...
53586         * sysdeps/posix/mkfifo.c: ... here.
53587         * sysdeps/unix/mkfifoat.c: Moved ...
53588         * sysdeps/posix/mkfifoat.c: ... here.
53590         * sysdeps/unix/utime.c: Moved ...
53591         * sysdeps/posix/utime.c: ... here.
53593         * sysdeps/unix/time.c: Moved ...
53594         * sysdeps/posix/time.c: ... here.
53595         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53596         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53598         * sysdeps/unix/nice.c: Moved ...
53599         * sysdeps/posix/nice.c: ... here.
53601         * sysdeps/unix/alarm.c: Moved ...
53602         * sysdeps/posix/alarm.c: ... here.
53604         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53606 2012-08-17  Jeff Law <law@redhat.com>
53608         * intl/Makefile (codeset_mo): New variable.
53609         ($(codeset_mo)): New target.
53610         (tst-codeset.out): Depend on that.  Remove explicit rule.
53611         (tst-gettext3.out, tst-gettext5.out): Likewise.
53612         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53613         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53614         * intl/tst-codeset.sh: Remove.
53615         * intl/tst-gettext3.sh: Likewise.
53616         * intl/tst-gettext5.sh: Likewise.
53618 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53620         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53621         * sysdeps/unix/syscalls.list: ... here.
53623         * sysdeps/posix/getaddrinfo.c
53624         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53625         (gaiconf_init, gaiconf_reload): Use them.
53626         [!_STATBUF_ST_NSEC]
53627         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53628         Define using time_t rather than struct timespec.
53630         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53631         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53632         Macros removed.
53633         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53634         [!NO_THREADS].
53635         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53636         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53637         Likewise.
53639         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53640         __libc_cleanup_push argument.
53642         * bits/param.h: New file.
53643         * misc/sys/param.h: New file.
53644         * include/sys/param.h: New file.
53645         * misc/Makefile (headers): Add bits/param.h.
53646         * sysdeps/generic/sys/param.h: File removed.
53647         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53648         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53649         * sysdeps/mach/hurd/bits/param.h: New file.
53650         * sysdeps/mach/hurd/sys/param.h: File removed.
53652         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53653         last change.
53655         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53656         [_IO_MTSAFE_IO].
53657         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53658         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53659         New macros.
53661         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53662         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53663         rather than -D_IO_MTSAFE_IO conditionally.
53664         * stdio-common/Makefile (CPPFLAGS): Likewise.
53665         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53666         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53667         Use $(libio-mtsafe).
53668         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53669         of -D_IO_MTSAFE_IO.
53670         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53671         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53672         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53673         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53674         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53675         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53676         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53677         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53678         (CFLAGS-fread_u_chk.c): Likewise.
53679         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53680         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53681         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53682         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53683         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53684         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53685         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53686         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53687         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53689         * libio/Makefile: Test [$(libc-reentrant) = yes]
53690         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53692         * Makeconfig
53693         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53694         * sysdeps/pthread/configure: File removed.
53695         * sysdeps/pthread/Makeconfig: New file.
53696         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53697         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53699 2012-08-16  Gary Benson  <gbenson@redhat.com>
53701         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53702         unmapping the first object in a namespace.
53704 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53706         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53707         (__internal_setnetgrent): ... this.  Add internal_function to
53708         definition.  Add libc_hidden_def.
53709         (setnetgrent): Update caller.
53710         (internal_endnetgrent): Renamed to ...
53711         (__internal_endnetgrent): ... this.  Add internal_function to
53712         definition.  Add libc_hidden_def.
53713         (endnetgrent): Update caller.
53714         (internal_getnetgrent_r): Renamed to ...
53715         (__internal_getnetgrent_r): ... this.  Add internal_function to
53716         definition.  Add libc_hidden_def.
53717         (__getnetgrent_r): Update caller.
53718         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53720 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53722         * stdlib/longlong.h: Update from GCC.
53724 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53726         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53727         on _QL, which is set by umul_ppmm but never used.
53728         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53729         variables, which are set by GMP macros but never used.
53730         * stdio-common/_itowa.c (_itowa): Likewise.
53731         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53732         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53734 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53736         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53737         struct La_sh_regs is not constant.
53738         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53739         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53740         and struct La_sparc64_regs are not constant.
53742 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53744         * sysdeps/unix/sysv/linux/kernel-features.h
53745         (__ASSUME_POSIX_TIMERS): Remove.
53746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53748         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53749         Make code unconditional.
53750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53751         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53752         Make code unconditional.
53753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53754         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53755         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53756         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53757         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53758         Make code unconditional.
53759         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53760         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53761         (__libc_missing_posix_timers): Remove.
53763 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53765         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53766         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53768         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53770         * elf/dl-sym.c: Include <stdlib.h>.
53772         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53773         constants, which avoids warnings in 32-bit builds.
53775         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53776         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53778         * misc/lseek.c: File moved to ...
53779         * io/lseek.c: ... here.
53781         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53783         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53784         shifting LEN more than 31 bits at once.
53786 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53788         [BZ #14195]
53789         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53790         segmentation fault for a case of two empty input strings.
53791         * string/test-strncasecmp.c (check1): Renamed to...
53792         (bz12205): ...this.
53793         (bz14195): Add new testcase for two empty input strings and N > 0.
53794         (test_main): Call new testcase, adapt for renamed function.
53796 2012-08-15  Andreas Jaeger  <aj@suse.de>
53798         [BZ #14090]
53799         * crypt/md5test2.c: New test, based on test supplied by Serge
53800         Belyshev <belyshev@depni.sinp.msu.ru>.
53801         * crypt/Makefile (xtests): Add md5test-giant..
53802         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53804 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53806         [BZ #14090]
53807         * crypt/md5.c (md5_process_block): Don't assume the buffer
53808         length is less than 2**32.
53809         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53810         length is less than 2**64.
53812 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53814         * string/str-two-way.h: Include <sys/param.h>.
53815         (MAX): Macro removed.
53817         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53818         Move #define and #undef of memmove to just before and after
53819         including <string.h>.
53821         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53822         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53823         and after including <string.h>.  Move declarations of
53824         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53825         to before #include "string/memmove.c".
53827         * include/dirent.h: Declare __getdirentries.
53829         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53830         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53832 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53834         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53835         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53836         * sysdeps/i386/configure: Regenerated.
53837         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53838         STABS_CURRENT_FILE, and STABS_FUN.
53839         (END): Remove call to STABS_FUN_END.
53840         (STABS_CURRENT_FILE1): Delete.
53841         (STABS_CURRENT_FILE): Likewise.
53842         (STABS_FUN): Likewise.
53843         (STABS_FUN_END): Likewise.
53844         (STABS_FUN2): Likewise.
53845         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53846         * sysdeps/x86_64/configure: Regenerated.
53848 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53850         * elf/dl-open.c: Include <atomic.h>.
53851         * elf/dl-lookup.c: Likewise.
53853 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53855         * sysdeps/unix/sysv/linux/kernel-features.h
53856         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53857         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53858         unconditionally.
53859         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53860         unconditionally.
53861         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53862         condition on __ASSUME_CLONE_THREAD_FLAGS.
53864 2012-08-14  Andreas Jaeger  <aj@suse.de>
53866         * sysdeps/i386/fpu/libm-test-ulps: Update.
53868 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53870         * include/atomic.h (atomic_exchange_and_add): Split into ...
53871         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53872         New atomic macros.
53874 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53878 2012-08-13  Jeff Law <law@redhat.com>
53880         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53881         null byte in the output string.
53883 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53885         * sysdeps/unix/sysv/linux/kernel-features.h
53886         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53887         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53888         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53889         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53890         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53891         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53892         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53894 2012-08-09  Jeff Law <law@redhat.com>
53896         [BZ #13939]
53897         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53898         When avoid_arena is set, don't retry in the that arena.  Pick the
53899         next one, whatever it might be.
53900         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53901         (arena_lock): Pass in new parameter to arena_get2.
53902         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53903         arena_get2.
53904         (__libc_malloc): Unify retrying after main arena failure with
53905         __libc_memalign version.
53906         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53908 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53910         [BZ #14166]
53911         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53912         to __redirect_strstr.
53913         (__strstr_sse42): Use typeof __redirect_strstr.
53914         (__strstr_ia32): Likewise.
53915         (__libc_strstr): New prototype.
53916         (strstr): Renamed to ...
53917         (__libc_strstr): This.
53918         (strstr): New strong alias of __libc_strstr.
53919         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53920         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53921         __redirect_time.
53922         Include <time.h>.
53923         (__libc_time): New prototype.
53924         (time_ifunc): Replace time with __libc_time.
53925         (time): New strong alias and hidden definition of __libc_time.
53926         (__GI_time): Remove strong alias.
53927         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53928         Include <stddef.h>.
53929         (memmove): Redefined to __redirect_memmove.
53930         (__memmove_sse2): Use typeof __redirect_memmove.
53931         (__memmove_ssse3): Likewise.
53932         (__memmove_ssse3_back): Likewise.
53933         (__libc_memmove): New prototype.
53934         (memmove): Renamed to ...
53935         (__libc_memmove): This.
53936         (memmove): New strong alias of __libc_memmove.
53938 2012-08-08  Mark Salter  <msalter@redhat.com>
53940         * elf/elf.h
53941         (R_MN10300_TLS_GD): Define.
53942         (R_MN10300_TLS_LD): Likewise.
53943         (R_MN10300_TLS_LDO): Likewise.
53944         (R_MN10300_TLS_GOTIE): Likewise.
53945         (R_MN10300_TLS_IE): Likewise.
53946         (R_MN10300_TLS_LE): Likewise.
53947         (R_MN10300_TLS_DTPMOD): Likewise.
53948         (R_MN10300_TLS_DTPOFF): Likewise.
53949         (R_MN10300_TLS_TPOFF): Likewise.
53950         (R_MN10300_SYM_DIFF): Likewise.
53951         (R_MN10300_ALIGN): Likewise.
53952         (R_MN10300_NUM): Update.
53954 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53957         Remove.
53959 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53961         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53963         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53964         sysdeps/unix -> sysdeps/posix move.
53965         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53967 2012-08-07      Allan McRae     <allan@archlinux.org>
53969         [BZ #14303]
53970         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53971         (SUNOS_CPP): Likewise.
53972         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53973         not found.
53974         (open_input): Call CPP using execvp.
53976 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53978         * sysdeps/unix/sysv/linux/kernel-features.h
53979         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53980         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53981         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53982         (__ASSUME_WAITID_SYSCALL): Likewise.
53983         * sysdeps/unix/sysv/linux/dl-execstack.c
53984         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53985         code unconditional.
53986         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53987         conditional code.
53988         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53989         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53990         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53991         code.
53992         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53993         unconditional.
53994         [__ASSUME_WAITID_SYSCALL]: Likewise.
53995         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53997 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53999         * sysdeps/unix/closedir.c: Renamed to ...
54000         * sysdeps/posix/closedir.c: ... here.
54001         * sysdeps/unix/dirfd.c: Renamed to ...
54002         * sysdeps/posix/dirfd.c: ... here.
54003         * sysdeps/unix/dirstream.h: Renamed to ...
54004         * sysdeps/posix/dirstream.h: ... here.
54005         * sysdeps/unix/fdopendir.c: Renamed to ...
54006         * sysdeps/posix/fdopendir.c: ... here.
54007         * sysdeps/unix/opendir.c: Renamed to ...
54008         * sysdeps/posix/opendir.c: ... here.
54009         * sysdeps/unix/readdir.c: Renamed to ...
54010         * sysdeps/posix/readdir.c: ... here.
54011         * sysdeps/unix/readdir_r.c: Renamed to ...
54012         * sysdeps/posix/readdir_r.c: ... here.
54013         * sysdeps/unix/rewinddir.c: Renamed to ...
54014         * sysdeps/posix/rewinddir.c: ... here.
54015         * sysdeps/unix/seekdir.c: Renamed to ...
54016         * sysdeps/posix/seekdir.c: ... here.
54017         * sysdeps/unix/telldir.c: Renamed to ...
54018         * sysdeps/posix/telldir.c: ... here.
54019         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54020         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54021         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54022         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54024         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54025         * bits/fcntl.h: ... here.
54027         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54028         not 0.
54029         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54030         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54031         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54032         (struct flock): Move l_start, l_len to the beginning.
54033         Use __pid_t for l_pid.
54034         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54035         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54036         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54037         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54038         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54039         [__USE_LARGEFILE64] (struct flock64): New type.
54040         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54042         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54043         * bits/dirent.h: ... here.
54045         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54046         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54048 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54051         Change from 2.6.0 to 2.6.16.
54052         * sysdeps/unix/sysv/linux/configure: Regenerated.
54053         * sysdeps/unix/sysv/linux/kernel-features.h
54054         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54055         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54056         version.
54057         (__ASSUME_UTIMES): Likewise.
54058         (__ASSUME_CLONE_STOPPED): Remove.
54059         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54060         architectures, not kernel version.
54061         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54062         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54063         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54064         (__ASSUME_WAITID_SYSCALL): Likewise.
54065         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54066         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54067         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54068         refer to older versions.
54070 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54072         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54073         Define alphasort64 as an alias.
54074         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54075         Define versionsort64 as an alias.
54076         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54077         Define scandir64 as an alias.
54078         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54079         Define scandirat64 as an alias.
54080         * dirent/alphasort64.c (alphasort64):
54081         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54082         * dirent/versionsort64.c: Likewise.
54083         * dirent/scandir64.c: Likewise.
54084         * dirent/scandirat64.c: Likewise.
54085         * sysdeps/wordsize-64/alphasort.c: File removed.
54086         * sysdeps/wordsize-64/alphasort64.c: File removed.
54087         * sysdeps/wordsize-64/scandir.c: File removed.
54088         * sysdeps/wordsize-64/scandir64.c: File removed.
54089         * sysdeps/wordsize-64/scandirat.c: File removed.
54090         * sysdeps/wordsize-64/scandirat64.c: File removed.
54091         * sysdeps/wordsize-64/versionsort.c: File removed.
54092         * sysdeps/wordsize-64/versionsort64.c: File removed.
54093         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54094         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54095         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54096         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54097         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54098         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54099         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54100         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54102         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54104         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54106         [defined __arch64__ || defined __sparcv9]
54107         (__INO_T_MATCHES_INO64_T): New macro.
54108         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54109         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54110         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54111         * sysdeps/unix/sysv/linux/bits/dirent.h
54112         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54113         (_DIRENT_MATCHES_DIRENT64): New macro.
54115         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54116         Define lockf64 as an alias.
54117         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54118         Define fseeko64 as an alias.
54119         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54120         Define ftello64 as an alias.
54121         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54122         Define _IO_fgetpos64 and fgetpos64 as aliases.
54123         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54124         Define _IO_fsetpos64 and fsetpos64 as aliases.
54125         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54126         Conditionalize body on this.
54127         * libio/fseeko64.c: Likewise.
54128         * libio/ftello64.c: Likewise.
54129         * libio/iofgetpos64.c: Likewise.
54130         * libio/iofsetpos64.c: Likewise.
54131         * sysdeps/wordsize-64/lockf.c: File removed.
54132         * sysdeps/wordsize-64/lockf64.c: File removed.
54133         * sysdeps/wordsize-64/fseeko.c: File removed.
54134         * sysdeps/wordsize-64/fseeko64.c: File removed.
54135         * sysdeps/wordsize-64/ftello.c: File removed.
54136         * sysdeps/wordsize-64/ftello64.c: File removed.
54137         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54138         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54139         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54140         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54143         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54145         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54147         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54148         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54149         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54150         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54152         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54154         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54155         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54156         [defined __arch64__ || defined __sparcv9]
54157         (__OFF_T_MATCHES_OFF64_T): New macro.
54158         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54159         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54161         (__OFF_T_MATCHES_OFF64_T): New macro.
54163 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54165         * stdlib/secure-getenv.c (__secure_getenv): Replace
54166         GLIBC_2_16 with GLIBC_2_17.
54168 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54170         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54171         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54173 2012-08-03  David S. Miller  <davem@davemloft.net>
54175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54177 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54180         Remove.
54181         (__ASSUME_CORRECT_SI_PID): Likewise.
54182         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54183         (__ASSUME_TMPFS_NAME): Likewise.
54184         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54185         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54186         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54187         (HAVE_AUX_SECURE): Make definition unconditional.
54188         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54189         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54191 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54193         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54194         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54195         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54196         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54197         __eloop_threshold instead of SYMLOOP_MAX.
54199         * sysdeps/generic/eloop-threshold.h: New file.
54200         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54201         of MAXSYMLINKS.
54202         * elf/chroot_canon.c (chroot_canon): Likewise.
54204 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54206         [BZ #13717]
54207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54208         Change to 2.6.0 everywhere.
54209         * sysdeps/unix/sysv/linux/configure: Regenerated.
54210         * sysdeps/unix/sysv/linux/kernel-features.h
54211         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54212         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54213         kernel versions.
54214         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54215         (__ASSUME_FUTEX_REQUEUE): Remove.
54216         (__ASSUME_STATFS64): Define unconditionally.
54217         (__ASSUME_AT_SECURE): Likewise.
54218         (__ASSUME_CORRECT_SI_PID): Likewise.
54219         (__ASSUME_TGKILL): Define without depending on kernel version for
54220         i386.
54221         (__ASSUME_UTIMES): Likewise.
54222         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54223         kernel version.
54224         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54225         (__ASSUME_TMPFS_NAME): Likewise.
54226         * README: Update reference to Linux kernel versions.
54228 2012-08-02  Marek Polacek  <polacek@redhat.com>
54230         [BZ# 14150]
54231         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54232         libc_cv_asm_type_prefix with %.
54233         * configure: Regenerated.
54234         * include/libc-symbols.h: Remove comment about
54235         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54236         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54237         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54238         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54239         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54240         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54241         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54242         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54243         * elf/tst-unique2mod1.c: Likewise.
54244         * elf/tst-unique1mod2.c: Likewise.
54245         * elf/tst-unique1mod1.c: Likewise.
54246         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54247         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54248         Replace ASM_TYPE_DIRECTIVE with .type.
54249         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54250         * sysdeps/i386/sysdep.h: Likewise.
54251         * sysdeps/x86_64/sysdep.h: Likewise.
54252         * sysdeps/sh/sysdep.h: Likewise.
54253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54254         Do not define ASM_TYPE_DIRECTIVE.
54255         * sysdeps/powerpc/sysdep.h: Likewise.
54256         * sysdeps/powerpc/powerpc32/sysdep.h:
54257         Replace ASM_TYPE_DIRECTIVE with .type.
54258         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54259         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54260         * sysdeps/i386/fpu/e_powf.S: Likewise.
54261         * sysdeps/i386/fpu/e_expl.S: Likewise.
54262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54263         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54264         * sysdeps/i386/fpu/e_pow.S: Likewise.
54265         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54266         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54267         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54268         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54269         * sysdeps/i386/fpu/e_log2.S: Likewise.
54270         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54271         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54272         * sysdeps/i386/fpu/e_powl.S: Likewise.
54273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54274         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54275         * sysdeps/i386/fpu/e_logl.S: Likewise.
54276         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54277         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54278         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54280         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54281         * sysdeps/i386/fpu/e_log.S: Likewise.
54282         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54283         * sysdeps/i386/fpu/e_logf.S: Likewise.
54284         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54285         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54286         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54287         * sysdeps/i386/fpu/e_log10.S: Likewise.
54288         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54289         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54290         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54291         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54292         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54293         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54294         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54295         * sysdeps/i386/i686/strtok.S: Likewise.
54296         * sysdeps/i386/i386-mcount.S: Likewise.
54297         * sysdeps/i386/strtok.S: Likewise.
54298         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54299         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54300         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54301         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54302         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54303         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54304         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54305         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54306         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54307         * sysdeps/x86_64/_mcount.S: Likewise.
54308         * sysdeps/x86_64/strtok.S: Likewise.
54309         * sysdeps/sh/_mcount.S: Likewise.
54311 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54313         * libio/iofopen.c: Include <fcntl.h>.
54314         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54315         (_IO_fopen64, fopen64): Define as aliases.
54316         * libio/iofopen64.c: Include <fcntl.h>.
54317         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54318         Conditionalize body on this.
54319         * sysdeps/wordsize-64/iofopen.c: File removed.
54320         * sysdeps/wordsize-64/iofopen64.c: File removed.
54322 2012-08-01  Marek Polacek  <polacek@redhat.com>
54324         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54325         Use dlfcn directly instead of a variable.
54326         (binfmt-subdir): Do not define.
54327         (dlfcn): Likewise.
54329 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54332         Remove all definitions.
54333         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54334         <kernel-features.h>.
54335         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54336         (miss_F_GETOWN_EX): Remove all definitions.
54337         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54338         macro definition.
54339         [!__ASSUME_FCNTL64]: Remove conditional code.
54340         [__ASSUME_FCNTL64]: Make code unconditional.
54341         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54342         <kernel-features.h>.
54343         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54344         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54345         (lockf64) [__NR_fcntl64]: Make code unconditional.
54346         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54348         * sysdeps/unix/sysv/linux/kernel-features.h
54349         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54350         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54351         Make code unconditional.
54352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54355         [__NR_vfork]: Make code unconditional.
54356         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54357         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54359         [__NR_vfork]: Make code unconditional.
54360         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54361         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54363 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54365         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54366         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54368         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54369         Define mkstemp64 as an alias.
54370         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54371         Define mkstemps64 as an alias.
54372         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54373         Define mkostemp64 as an alias.
54374         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54375         Define mkostemps64 as an alias.
54376         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54377         Conditionalize body on this.
54378         * misc/mkostemp64.c: Likewise.
54379         * misc/mkostemps64.c: Likewise.
54380         * misc/mkstemps64.c: Likewise.
54381         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54382         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54383         * sysdeps/wordsize-64/mkostemp.c: File removed.
54384         * sysdeps/wordsize-64/mkstemp.c: File removed.
54385         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54386         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54387         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54388         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54390         [BZ #14138]
54391         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54392         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54393         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54394         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54396         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54397         compat_symbol macros from <shlib-compat.h> rather than the underlying
54398         default_symbol_version and symbol_version macros, so that DEFAULT
54399         lines in shlib-versions are respected.
54400         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54402 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54404         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54405         Declare with warn_unused_result.
54406         (setgid, setregid, setegid, setresgid): Likewise.
54407         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54408         Likewise.
54409         * WUR-REPORT: Remove set*id functions.
54411 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54413         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54415 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54417         [BZ #10191]
54418         * include/sys/socket.h (__libc_accept, __libc_accept4):
54419         Add attribute_hidden.
54420         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54422         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54423         use of PTR_MANGLE.
54424         * inet/getnetgrent_r.c (setup): Likewise.
54426         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54428 2012-07-31  David S. Miller  <davem@davemloft.net>
54430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54432 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54434         [BZ #13629]
54435         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54436         value between 1.0 and 2.0 and smaller part has absolute value less
54437         than 1.0.
54438         * math/s_clog10.c (__clog10): Likewise.
54439         * math/s_clog10f.c (__clog10f): Likewise.
54440         * math/s_clog10l.c (__clog10l): Likewise.
54441         * math/s_clogf.c (__clogf): Likewise.
54442         * math/s_clogl.c (__clogl): Likewise.
54443         * math/libm-test.inc (clog_test): Add more tests.
54444         (clog10_test): Likewise.
54445         * sysdeps/i386/fpu/libm-test-ulps: Update.
54446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54448 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54450         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54451         Exit with zero in case no suitable GID is found, and write a
54452         message to standard error.
54454 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54456         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54457         rather than to 1.
54458         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54459         (MAXPATHLEN): Removed.
54460         (NOGROUP, NODEV): New macros.
54461         (setbit, clrbit, isset, isclr): New macros.
54462         (howmany, roundup, powerof2): New macros.
54463         (DEV_BSIZE): New macro.
54465         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54466         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54468         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54469         definition on [!__NO_LONG_DOUBLE_MATH].
54471         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54472         PTR_MANGLE and PTR_DEMANGLE.
54474         * socket/accept4.c (accept4): Rename to __libc_accept4.
54475         Define accept4 as a weak alias.
54477         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54478         on [_DIRENT_HAVE_D_TYPE].
54479         * io/ftw.c (ftw_dir): Likewise.
54481         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54483         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54485         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54486         Use the BSD numbers rather than the arbitrary ones we had.
54487         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54488         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54489         (SIGXCPU, SIGXFSZ): New macros.
54490         (_NSIG): Now 32.
54492         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54493         initializer on [_LIBC_REENTRANT].
54495         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54496         definitions inside [_POSIX_MAPPED_FILES].
54498         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54500         * dirent/opendir.c: Include <fcntl.h>.
54502         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54503         (__libc_getspecific): Likewise.
54504         (__libc_key_create): Likewise.
54506         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54507         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54508         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54509         (tmpfile64): Define as alias.
54510         * sysdeps/wordsize-64/tmpfile.c: File removed.
54511         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54512         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54515         * stdio-common/vfscanf.c: Include <stdbool.h>.
54516         * nss/makedb.c: Likewise.
54517         * stdio-common/_i18n_number.h: Likewise.
54518         * argp/argp-help.c: Likewise.
54519         * posix/wordexp.c: Likewise.
54520         * sysdeps/posix/spawni.c: Likewise.
54521         * nss/nss_files/files-initgroups.c: Likewise.
54522         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54523         * nss/nss_files/files-initgroups.c: Likewise.
54524         * nss/nss_db/db-netgrp.c: Likewise.
54525         * nss/nss_db/db-initgroups.c: Likewise.
54526         * io/fchmodat.c: Include <sys/stat.h>.
54528         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54529         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54531         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54532         [HAVE_MMAP].
54534         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54535         Add multiple inclusion protection.
54537 2012-07-27  David S. Miller  <davem@davemloft.net>
54539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54541 2012-07-27  Gary Benson  <gbenson@redhat.com>
54543         [BZ #14298]
54544         * elf/rtld.c: Include <stap-probe.h>.
54545         (dl_main): Added static probes "init_start" and "init_complete".
54546         * elf/dl-load.c: Include <stap-probe.h>.
54547         (lose): Take new parameter "nsid".
54548         Added static probe "map_failed".
54549         (_dl_map_object_from_fd): Pass namespace id to lose.
54550         Added static probe "map_start".
54551         (open_verify): Pass namespace id to lose.
54552         * elf/dl-open.c: Include <stap-probe.h>.
54553         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54554         and "reloc_complete".
54555         * elf/dl-close.c: Include <stap-probe.h>.
54556         (_dl_close_worker): Added static probes "unmap_start" and
54557         "unmap_complete".
54558         * elf/rtld-debugger-interface.txt: New file documenting the above.
54560 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54562         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54563         rather than a string variable.
54564         * sunrpc/rpc_main.c (h_output): Likewise.
54565         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54567 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54569         * inet/check_native.c: New file.
54571 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54573         [BZ #13629]
54574         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54575         if larger part has absolute value 1.0.
54576         * math/s_clog10.c (__clog10): Likewise.
54577         * math/s_clog10f.c (__clog10f): Likewise.
54578         * math/s_clog10l.c (__clog10l): Likewise.
54579         * math/s_clogf.c (__clogf): Likewise.
54580         * math/s_clogl.c (__clogl): Likewise.
54581         * math/libm-test.inc (clog_test): Add more tests.
54582         (clog10_test): Likewise.
54583         * sysdeps/i386/fpu/libm-test-ulps: Update.
54584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54586         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54587         (pltexit): Likewise.
54588         (La_regs): Likewise.
54589         (La_retval): Likewise.
54590         (int_retval): Likewise.
54591         Update #error for removed macros to refer only to definitions in
54592         tst-audit.h.
54593         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54594         macro.
54595         (pltexit): Likewise.
54596         (La_regs): Likewise.
54597         (La_retval): Likewise.
54598         (int_retval): Likewise.
54599         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54600         macro.
54601         (pltexit): Likewise.
54602         (La_regs): Likewise.
54603         (La_retval): Likewise.
54604         (int_retval): Likewise.
54605         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54606         macro.
54607         (pltexit): Likewise.
54608         (La_regs): Likewise.
54609         (La_retval): Likewise.
54610         (int_retval): Likewise.
54611         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54612         macro.
54613         (pltexit): Likewise.
54614         (La_regs): Likewise.
54615         (La_retval): Likewise.
54616         (int_retval): Likewise.
54617         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54618         macro.
54619         (pltexit): Likewise.
54620         (La_regs): Likewise.
54621         (La_retval): Likewise.
54622         (int_retval): Likewise.
54623         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54624         macro.
54625         (pltexit): Likewise.
54626         (La_regs): Likewise.
54627         (La_retval): Likewise.
54628         (int_retval): Likewise.
54629         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54630         macro definitions in tst-audit.h.
54631         * sysdeps/i386/tst-audit.h: New file.
54632         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54633         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54634         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54635         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54636         * sysdeps/sh/tst-audit.h: Likewise.
54637         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54638         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54639         * sysdeps/x86_64/tst-audit.h: Likewise.
54641 2012-07-26  Andreas Jaeger  <aj@suse.de>
54643         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54644         ptrace.
54646         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54647         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54648         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54649         PTRACE_O_MASK.
54650         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54651         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54652         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54654         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54655         value.
54657         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54658         _sigsys.
54659         (si_call_addr, si_syscall, si_arch): Define new macro.
54660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54661         _sigsys.
54662         (si_call_addr, si_syscall, si_arch): Define new marcro.
54663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54664         _sigsys.
54665         (si_call_addr, si_syscall, si_arch): Define new macro.
54666         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54667         _sigsys.
54668         (si_call_addr, si_syscall, si_arch): Define new macro.
54670 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54672         [BZ #13717]
54673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54674         Change to 2.4.21 where previously 2.4.1.
54675         * sysdeps/unix/sysv/linux/configure: Regenerated.
54676         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54677         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54678         Linux kernel version.
54679         (__ASSUME_STD_AUXV): Remove.
54680         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54681         kernel version.
54682         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54683         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54684         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54685         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54686         (__ASSUME_NETLINK_SUPPORT): Likewise.
54687         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54688         (__no_netlink_support): Remove conditional definition.
54689         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54690         Remove.
54691         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54692         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54693         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54694         (if_nameindex_ioctl): Remove.
54695         (if_nameindex_netlink): Do not handle __no_netlink_support.
54696         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54697         code.
54698         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54699         Remove conditional code.
54700         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54701         code.
54702         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54703         unconditional.
54704         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54705         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54706         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54707         Remove.
54708         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54709         [!__ASSUME_STD_AUXV]: Remove conditional code.
54710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54711         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54712         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54714         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54715         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54716         code.
54717         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54719         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54720         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54721         conditional code.
54722         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54724         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54725         code.
54726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54727         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54728         conditional code.
54729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54730         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54731         code unconditional.
54732         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54733         conditional code.
54734         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54735         unconditional.
54736         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54737         conditional code.
54738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54739         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54740         unconditional.
54741         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54742         conditional code.
54743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54744         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54745         code unconditional.
54746         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54747         conditional code.
54748         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54749         unconditional.
54750         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54751         conditional code.
54752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54753         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54754         code unconditional.
54755         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54756         conditional code.
54757         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54758         unconditional.
54759         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54760         conditional code.
54762 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54764         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54765         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54766         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54767         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54768         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54769         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54770         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54771         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54772         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54773         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54774         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54775         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54776         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54777         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54778         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54779         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54780         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54782         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54784         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54785         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54786         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54788 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54790         * Versions.def: Add GLIBC_2.17.
54791         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54792         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54793         Introduce __libc_secure_getenv.
54794         * stdlib/Versions (2.17): Add secure_getenv
54795         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54796         * stdlib/secure-getenv.c: Rename __secure_getenv to
54797         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54798         symbol __secure_getenv for GLIBC_2.0.
54799         * stdlib/tst-secure-getenv.c: New.
54800         * stdlib/Makefile (tests): Add testcase.
54801         * manual/startup.texi (Environment Access): Document
54802         secure_getenv.
54803         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54804         __libc_secure_getenv.
54805         * inet/ruserpass.c (ruserpass): Likewise.
54806         * malloc/mtrace.c (mtrace): Likewise.
54807         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54808         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54809         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54810         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54811         HAVE_SECURE_GETENV.
54812         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54813         __secure_getenv to __libc_secure_getenv.
54814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54816         Likewise.
54817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54818         Likewise.
54819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54827 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54829         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54830         (struct La_i86_retval): Likewise.
54831         (struct La_x86_64_regs): Likewise.
54832         (struct La_x86_64_retval): Likewise.
54833         (struct La_x32_regs): Likewise.
54834         (struct La_x32_retval): Likewise.
54835         (struct La_ppc32_regs): Likewise.
54836         (struct La_ppc32_retval): Likewise.
54837         (struct La_ppc64_regs): Likewise.
54838         (struct La_ppc64_retval): Likewise.
54839         (struct La_sh_regs): Likewise.
54840         (struct La_sh_retval): Likewise.
54841         (struct La_s390_32_regs): Likewise.
54842         (struct La_s390_32_retval): Likewise.
54843         (struct La_s390_64_regs): Likewise.
54844         (struct La_s390_64_retval): Likewise.
54845         (struct La_sparc32_regs): Likewise.
54846         (struct La_sparc32_retval): Likewise.
54847         (struct La_sparc64_regs): Likewise.
54848         (struct La_sparc64_retval): Likewise.
54849         (struct audit_ifaces): Remove architecture-specific pltenter and
54850         pltexit members.
54851         * sysdeps/i386/ldsodefs.h: New file.
54852         * sysdeps/powerpc/ldsodefs.h: Likewise.
54853         * sysdeps/s390/ldsodefs.h: Likewise.
54854         * sysdeps/sh/ldsodefs.h: Likewise.
54855         * sysdeps/sparc/ldsodefs.h: Likewise.
54856         * sysdeps/x86_64/ldsodefs.h: Likewise.
54858 2012-07-25  Marek Polacek  <polacek@redhat.com>
54860         [BZ #6808]
54861         * math/libm-test.inc (yn_test): Add another test.
54862         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54863         to ERANGE when the result is +-Inf.
54864         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54866         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54867         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54869 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54871         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54872         equal to 0.
54873         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54874         clock_t.
54875         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54877 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54879         * configure.in <sysdeps resolving>: Correct printing
54880         Implies_before.
54881         * configure: Regenerate.
54883 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54885         * math/w_ilogb.c: Include <limits.h>.
54886         * math/w_ilogbl.c: Likewise.
54888 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54890         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54891         va_copy.  Document allowing for unavailable va_copy only as
54892         pre-C99 compatibility.
54893         * manual/string.texi (Copying and Concatenation): Use va_copy
54894         instead of __va_copy in concat example.
54896 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54898         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54899         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54900         it if not null.
54902         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54903         with O_NOLINK passed to __file_name_lookup.
54905         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54906         with O_NOLINK passed to __file_name_lookup.
54908         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54909         negative N or less than NGIDS.
54911         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54912         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54913         enough.  Use memcpy instead of strncpy.
54915 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54917         * elf/Makefile (check-data): Remove.
54918         (localplt.data): New vpath directive.
54919         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54920         instead of $(check-data).
54921         * scripts/data/localplt-generic.data: Move to ...
54922         * sysdeps/generic/localplt.data: ... here.
54923         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54924         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54925         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54927         ... here.
54928         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54930         ... here.
54931         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54933         ... here.
54934         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54936         ... here.
54937         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54939         ... here.
54940         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54942         ... here.
54944 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54946         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54947         PPC32 and PPC64 files.
54948         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54949         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54951 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54953         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54954         __makecontext_ret to ...
54955         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54956         ... here and call exit if uc_link is NULL.  New file.
54957         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54958         __makecontext_ret.S.
54959         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54960         __makecontext_ret to ...
54961         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54962         ... here and call exit if uc_link is NULL.  New file.
54963         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54964         __makecontext_ret.S.
54966 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54968         * elf/elf.h (R_390_IRELATIVE): New definition.
54969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54970         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54971         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54973         (elf_machine_lazy_rel): Likewise.
54974         * sysdeps/s390/dl-irel.h: New file.
54975         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54976         * sysdeps/s390/s390-64/memset.S: New asm code.
54977         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54978         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54979         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54980         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54981         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54982         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54984         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54985         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54986         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54987         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54988         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54989         * sysdeps/s390/s390-32/memset.S: New asm code.
54990         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54992 2012-07-17  Marek Polacek  <polacek@redhat.com>
54994         [BZ #14349]
54995         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54996         * sysdeps/s390/s390-64/configure.in: Likewise.
54997         * sysdeps/sparc/configure.in: Likewise.
54998         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54999         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55000         * sysdeps/i386/configure.in: Likewise.
55001         * sysdeps/x86_64/configure.in: Likewise.
55002         * sysdeps/sh/configure.in: Likewise.
55003         * sysdeps/s390/s390-32/configure: Regenerated.
55004         * sysdeps/s390/s390-64/configure: Likewise.
55005         * sysdeps/x86_64/configure: Likewise.
55006         * sysdeps/sh/configure: Likewise.
55007         * sysdeps/powerpc/powerpc64/configure: Likewise.
55008         * sysdeps/powerpc/powerpc32/configure: Likewise.
55009         * sysdeps/sparc/configure: Likwise.
55010         * sysdeps/i386/configure: Likewise.
55012         * elf/dl-open.c: Comment fixes.
55014 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55016         * Makefile [CXX] (check-data): Remove.
55017         [CXX] (c++-types.data): New vpath directive.
55018         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55019         vpath.  Do not allow for C++ type data being missing.
55020         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55021         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55022         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55023         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55024         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55025         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55026         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55028         ... here.
55029         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55031         ... here.
55032         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55034         ... here.
55035         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55037         ... here.
55038         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55040         ... here.
55041         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55043         ... here.
55044         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55046         ... here.
55047         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55050         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55051         definitions to architecture-specific files.
55052         (TLS_IE): Likewise.
55053         (TLS_LD): Likewise.
55054         (TLS_GD): Likewise.
55055         * sysdeps/i386/tls-macros.h: New file.
55056         * sysdeps/powerpc/tls-macros.h: Likewise.
55057         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55058         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55059         * sysdeps/sh/tls-macros.h: Likewise.
55060         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55061         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55062         * sysdeps/x86_64/tls-macros.h: Likewise.
55064 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55066         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55067         zero value for regular exit case.
55069         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55070         (__start_context): Preserve zero value for regular exit case.
55072 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55073             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55075         * manual/setjmp.texi (setcontext): Clarify normal process
55076         termination when uc_link is the null pointer.
55077         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55078         exit call.
55080 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55082         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55083         preprocessor.  Test for each exception mask separately.
55085 2012-07-16  Andreas Jaeger  <aj@suse.de>
55087         * po/ru.po: Update from translation team.
55089 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55091         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55092         equal to 0.
55093         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55094         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55095         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55096         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55099 2012-07-13  Andreas Jaeger  <aj@suse.de>
55101         * po/fr.po: Update from translation team.
55103 2012-07-12  Marek Polacek  <polacek@redhat.com>
55105         [BZ #14173]
55106         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55107         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55108         loop condition.
55110 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55112         [BZ #13717]
55113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55114         Change to 2.4.1 where previously 2.4.0.
55115         * sysdeps/unix/sysv/linux/configure: Regenerated.
55116         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55117         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55118         version.
55119         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55120         (__ASSUME_AT_CLKTCK): Remove.
55121         (__ASSUME_AT_PAGESIZE): Likewise.
55122         (__ASSUME_AT_XID): Likewise.
55123         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55124         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55125         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55126         unconditionally.
55127         (HAVE_AUX_PAGESIZE): Likewise.
55128         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55129         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55130         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55132 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55134         [BZ #14307]
55135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55136         the temporary buffer used to invoke __gethostbyname2_r,
55137         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55138         host_data / struct gaih_addrtuple.
55139         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55140         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55141         header file nss/nsswitch.h.
55142         * nss/nsswitch.h (global scope): Add definition of implementation
55143         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55144         resolv/nss_dns/dns-host.c).
55146 2012-07-11  Andreas Jaeger  <aj@suse.de>
55148         * po/fr.po: Update from translation team.
55150         * po/sv.po: Update from translation team
55151         * po/fr.po: Another update from translation team.
55153 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55155         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55156         for subnormals or multiply small sinh result by itself.
55157         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55160 2012-07-11  David S. Miller  <davem@davemloft.net>
55162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55164 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55166         [BZ #14347]
55167         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55168         (INTERNAL_MARK): Shift it here.
55170 2012-07-10  Marek Polacek  <polacek@redhat.com>
55172         [BZ #14151]
55173         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55174         libc_cv_asm_global_directive with .globl.
55175         * configure: Regenerated.
55176         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55177         with .globl.
55178         * sysdeps/i386/configure: Regenerated.
55179         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55180         with .globl.
55181         * sysdeps/x86_64/configure: Regenerated.
55182         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55183         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55184         * elf/tst-unique2mod2.c: Likewise.
55185         * elf/tst-unique2mod1.c: Likewise.
55186         * elf/tst-unique1mod2.c: Likewise.
55187         * elf/tst-unique1mod1.c: Likewise.
55188         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55189         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55190         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55191         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55192         * sysdeps/mach/sysdep.h: Likewise.
55193         * sysdeps/i386/sysdep.h: Likewise.
55194         * sysdeps/i386/i386-mcount.S: Likewise.
55195         * sysdeps/x86_64/_mcount.S: Likewise.
55196         * sysdeps/x86_64/sysdep.h: Likewise.
55197         * sysdeps/sh/_mcount.S: Likewise.
55198         * sysdeps/sh/sysdep.h: Likewise.
55199         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55200         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55201         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55202         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55203         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55204         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55205         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55206         * locale/localeinfo.h: Likewise.
55207         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55208         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55210 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55212         [BZ #14336]
55213         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55214         system".
55215         * manual/message.texi (The Uniforum approach): Likewise.
55216         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55217         (glibc iconv Implementation): Likewise.
55219 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55221         [BZ #14337]
55222         * math/s_clog.c (__clog): Avoid scaling a value down where that
55223         could result in underflow.
55224         * math/s_clog10.c (__clog10): Likewise.
55225         * math/s_clog10f.c (__clog10f): Likewise.
55226         * math/s_clog10l.c (__clog10l): Likewise.
55227         * math/s_clogf.c (__clogf): Likewise.
55228         * math/s_clogl.c (__clogl): Likewise.
55229         * math/libm-test.inc (clog_test): Add more tests.
55230         (clog10_test): Likewise.
55231         * sysdeps/i386/fpu/libm-test-ulps: Update.
55232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55234 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55236         [BZ #14283]
55237         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55238         by 7 not 8 to examine high bit of fractional part.
55240         [BZ #14042]
55241         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55242         for call to __mcount_internal.
55243         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55244         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55245         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55247 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55249         [BZ #14154]
55250         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55251         approximation for values within 0x1p-13f of an odd multiple of
55252         pi/4.
55253         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55254         exception.  Add more tests.
55255         * sysdeps/i386/fpu/libm-test-ulps: Update.
55257         [BZ #6778]
55258         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55259         inputs and return -1 for them.  Do not check for +Inf in case not
55260         reachable for +Inf.
55261         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55262         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55263         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55264         and return -1 for them.  Do not check for +Inf in case not
55265         reachable for +Inf.
55266         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55267         define.
55268         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55269         and return -1 for them.  Do not check for +Inf in case not
55270         reachable for +Inf.
55271         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55272         spurious underflow.
55273         * sysdeps/i386/fpu/libm-test-ulps: Update.
55274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55276 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55278         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55280 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55282         [BZ #14157]
55283         [BZ #14331]
55284         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55285         could result in spurious underflow.  Scale down values above
55286         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55287         * math/s_csqrtf.c (__csqrtf): Likewise.
55288         * math/s_csqrtl.c (__csqrtl): Likewise.
55289         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55290         spurious underflow.
55291         * sysdeps/i386/fpu/libm-test-ulps: Update.
55292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55294 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55296         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55297         xopen-msg.sed.
55298         * catgets/xopen-msg.awk: New file.
55299         * catgets/xopen-msg.sed: Removed.
55301         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55302         po2text.sed.
55303         * intl/po2test.awk: New file.
55304         * intl/po2test.sed: Removed.
55306 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55308         [BZ #14328]
55309         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55310         or multiply small sinh result by itself.
55311         * math/s_ctanf.c (__ctanf): Likewise.
55312         * math/s_ctanh.c (__ctanh): Likewise.
55313         * math/s_ctanhf.c (__ctanhf): Likewise.
55314         * math/s_ctanhl.c (__ctanhl): Likewise.
55315         * math/s_ctanl.c (__ctanl): Likewise.
55316         * math/libm-test.inc (ctan_test_tonearest): New function.
55317         (ctan_test_towardzero): Likewise.
55318         (ctan_test_downward): Likewise.
55319         (ctan_test_upward): Likewise.
55320         (ctanh_test_tonearest): Likewise.
55321         (ctanh_test_towardzero): Likewise.
55322         (ctanh_test_downward): Likewise.
55323         (ctanh_test_upward): Likewise.
55324         (main): Call these new functions.
55325         * sysdeps/i386/fpu/libm-test-ulps: Update.
55326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55328 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55330         * .gitignore: Delete /ports entry.
55332 2012-07-03  Andreas Jaeger  <aj@suse.de>
55334         * po/bg.po: Update from translation team.
55335         * po/cs.po: Likewise.
55336         * po/de.po: Likewise.
55337         * po/hr.po: Likewise.
55338         * po/nl.pl: Likewise.
55339         * po/pl.po: Likewise.
55340         * po/vi.po: Likewise.
55342 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55344         * Makeconfig [!+link] (+link-before-libc): New variable.
55345         [!+link] (+link-after-libc): Likewise.
55346         [!+link] (+link-tests): Likewise.
55347         [!+link] (+link): Define in terms of $(+link-before-libc) and
55348         $(+link-after-libc).
55349         [!+link-static] (+link-static-before-libc): New variable.
55350         [!+link-static] (+link-static-after-libc): Likewise.
55351         [!+link-static] (+link-static-tests): Likewise.
55352         [!+link-static] (+link-static): Define in terms of
55353         $(+link-static-before-libc) and $(+link-static-after-libc).
55354         [build-shared] (link-libc-before-gnulib): New variable.
55355         [build-shared] (link-libc-tests): Likewise.
55356         [build-shared] (link-libc): Define in terms of
55357         $(link-libc-before-gnulib).
55358         [!build-shared] (link-libc-tests): New variable.
55359         (link-libc-static-tests): New variable.
55360         [!gnulib] (gnulib-arch): New variable.
55361         [!gnulib] (gnulib-tests): Likewise.
55362         [!gnulib] (static-gnulib-arch): Likewise.
55363         [!gnulib] (static-gnulib-tests): Likewise.
55364         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55365         Define with "=" instead of ":=".
55366         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55367         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55368         * Rules (binaries-all-notests): New variable.
55369         (binaries-all-tests): Likewise.
55370         (binaries-static-notests): Likewise.
55371         (binaries-static-tests): Likewise.
55372         (binaries-all): Define using $(binaries-all-notests) and
55373         $(binaries-all-tests).
55374         (binaries-static): Define using $(binaries-static-notests) and
55375         $(binaries-static-tests).
55376         (binaries-shared-tests): New variable.
55377         (binaries-shared-notests): Likewise.
55378         (binaries-shared): Remove variable.
55379         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55380         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55381         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55382         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55383         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55384         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55385         * elf/Makefile (sln-modules): New variable.
55386         (extra-objs): Add $(sln-modules:=.o).
55387         (ldconfig-modules): Add static-stubs.
55388         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55389         * elf/static-stubs.c: New file.
55391         [BZ #14283]
55392         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55393         by 7 not 8 to examine high bit of fractional part.  Use volatile
55394         variables when splitting into final array of floats if
55395         __FLT_EVAL_METHOD__ != 0.
55396         * math/libm-test.inc (cos_test): Add another test.
55397         (sin_test): Likewise.
55398         * sysdeps/i386/fpu/libm-test-ulps: Update.
55400         [BZ #14273]
55401         * math/libm-test.inc (cosh_test): Add more tests.
55403         * version.h (RELEASE): Set to "development".
55404         (VERSION): Set to "2.16.90".
55406 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55408         * NEWS: Update copyright. Remove last-updated date.
55409         Mention math library bug fixes and timezone data changes.
55410         * README: Mention GNU/Hurd, x32, and HPPA support status.
55412 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55414         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55416 2012-06-27  Andreas Jaeger  <aj@suse.de>
55418         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55420 2012-06-25  Andreas Jaeger  <aj@suse.de>
55422         * sysdeps/s390/fpu/libm-test-ulps: Update.
55424 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55425             Thomas Schwinge  <thomas@codesourcery.com>
55427         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55428         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55429         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55430         fanotify_mark.
55432 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55434         * sysdeps/mach/start.c: Remove file.
55435         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55436         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55437         * sysdeps/sh/init-first.c: Likewise.
55439         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55440         registers for frame unwinding purposes, add CFI directives.
55441         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55442         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55443         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55444         Likewise.
55446         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55447         __fortify_fail returning.
55448         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55450         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55451         sysdeps/sh/____longjmp_chk.S.
55452         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55453         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55454         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55455         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55457         * sysdeps/sh/abort-instr.h: New file.
55458         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55459         process in case exit returns.
55461         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55462         initialize the GOT register before use.
55464         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55465         calculation of ARGC > 4.
55467         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55468         meaningful names to some local labels.
55470 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55471             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55473         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55474         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55475         (__arch_compare_and_exchange_val_16_acq): Likewise.
55476         (__arch_compare_and_exchange_val_32_acq): Likewise.
55477         (atomic_exchange_and_add): Fix gUSA sequence.
55478         (atomic_add): Likewise.
55479         (atomic_add_negative): Likewise.
55480         (atomic_add_zero): Likewise.
55481         (atomic_bit_test_set): Likewise.
55483 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55485         [BZ #13579]
55486         * include/link.h (struct link_map): Add l_free_initfini.
55487         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55488         l_initfini.
55489         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55490         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55491         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55492         set.
55494 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55496         * configure.in: Use AC_LANG_SOURCE.
55497         * configure: Regenerate.
55499 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55501         * configure.in (libc_cv_localstatedir): New substituted variable.
55502         * configure: Regenerated.
55503         * config.make.in (localstatedir): New variable, substituted from
55504         libc_cv_localstatedir.
55505         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55506         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55507         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55508         * sysdeps/gnu/configure: Regenerated.
55510 2012-06-21  Jeff Law  <law@redhat.com>
55512         [BZ #14277]
55513         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55514         free.  Simplify list management for _LIBC case.
55516 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55518         [BZ #14273]
55519         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55520         Clear sign bit of 64-bit integer value before comparing against
55521         overflow value.
55523         * sysdeps/mach/configure: Regenerated.
55525 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55527         [BZ #14278]
55528         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55530 2012-06-21  Jeff Law  <law@redhat.com>
55532         [BZ #13882]
55533         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55534         uint16_t for elements in the "seen" array to avoid char overflows.
55535         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55536         * elf/dl-open.c (dl_open_worker): Likewise.
55538 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55540         * scripts/list-sources.sh: Scan PORTS for translations.
55541         * po/libc.pot: Regenerated.
55543 2012-06-21  Andreas Jaeger  <aj@suse.de>
55545         [BZ #12194]
55546         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55547         warning.
55548         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55549         * bits/byteswap-16.h (__bswap_16): Likewise.
55550         * bits/byteswap.h (__bswap_constant_16): Likewise.
55552 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55554         [BZ #14117]
55555         * sysdeps/i386/fpu_control.h: Removed.
55556         * sysdeps/x86_64/fpu_control.h: Moved to ...
55557         * sysdeps/x86/fpu_control.h: Here.
55559         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55560         (_FPU_SETCW): Likewise.
55562 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55564         [BZ #14117]
55565         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55566         * sysdeps/x86/fpu/bits/mathinline.h: This.
55567         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55569         [BZ #14050]
55570         [BZ #14117]
55571         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55572         functions if __x86_64__ is defined.
55574 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55576         * string/endian.h: Add !__ASSEMBLER__ condition for including
55577         conversion interfaces.
55579 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55581         [BZ #14241]
55582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55583         of ABS(x) in calculating zero to negative powers other than odd
55584         integers.
55585         * math/libm-test.inc (pow_test): Add more tests.
55587 2012-06-15  Andreas Jaeger  <aj@suse.de>
55589         * manual/contrib.texi (Contributors): Update entry of Liubov
55590         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55591         Machado Filho.
55593 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55595         * string/string.h: Add __wur to GNU version of strerror_r.
55597 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55599         [BZ #14229]
55600         * string/Makefile (tests): Add tst-strtok_r.
55601         * string/tst-strtok_r.c: New file.
55602         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55603         RAX_LP/RDX_LP on SAVE_PTR.
55605 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55607         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55609 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55611         * libm_test.inc (csqrt_test): Allow more spurious underflow
55612         exceptions.
55613         (j0_test): Likewise.
55614         (j1_test): Likewise.
55615         (y0_test): Likewise.
55616         (y1_test): Likewise.
55618 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55620         * po/Makefile (libc.pot): Use UTF-8 charset.
55622 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55624         [BZ #14210]
55625         Suppress sign-conversion warning from FD_SET.
55626         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55627         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55628         not unsigned long int.
55629         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55631 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55633         [BZ #14050]
55634         [BZ #14117]
55635         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55636         __extern_always_inline instead of __extern_inline.
55637         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55638         (__signbit): Likewise.
55639         (__signbitl): Support C++ namespace.
55640         (lrintf): New inline function.
55641         (lrint): Likewise.
55642         (llrintf): Likewise.
55643         (llrint): Likewise.
55644         (fmaxf): Likewise.
55645         (fmax): Likewise.
55646         (fminf): Likewise.
55647         (fmin): Likewise.
55648         (rint): Likewise.
55649         (rintf): Likewise.
55650         (ceil): Likewise.
55651         (ceilf): Likewise.
55652         (floor): Likewise.
55653         (floorf): Likewise.
55654         (nearbyint): Likewise.
55655         (nearbyintf): Likewise.
55657 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55659         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55660         non-default versions.
55662 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55664         [BZ #14218]
55665         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55667 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55669         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55670         (FE_UPWARD, FE_DOWNWARD): Don't define.
55671         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55672         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55674         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55675         reading it.
55676         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55677         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55679 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55681         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55683         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55686 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55688         [BZ #14117]
55689         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55690         * sysdeps/i386/fpu/Implies: New file.
55691         * sysdeps/x86_64/fpu/Implies: Likewise.
55692         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55693         * sysdeps/x86/fpu/bits/fenv.h: This.
55695         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55696         __SSE_MATH__.
55698 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55700         [BZ #14134]
55701         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55702         character 0xffff that matches the last element of the
55703         conversion table.
55705 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55707         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55708         fmodl commit.
55710 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55713         values higher than 25.6283.
55715 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55717         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55718         subnormal exponent extraction and add some __builtin_expect.
55719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55720         Fix for subnormal mantissa calculation.
55722 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55724         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55725         cpu2 is -1 and errno is not ENOSYS.
55727 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55729         [BZ #14117]
55730         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55731         * sysdeps/x86/bits/string.h: This.
55732         * sysdeps/x86_64/bits/string.h: Removed.
55734         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55735         if not compiling for x86-64, but compiling for >= i486.
55737         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55738         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55740         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55741         New macro from Linux kernel 3.4.0.
55742         (FP_XSTATE_MAGIC2): Likewise.
55743         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55744         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55745         (struct _fpx_sw_bytes): New struct.
55746         (struct _xsave_hdr): Likewise.
55747         (struct _ymmh_state): Likewise.
55748         (struct _xstate): Likewise.
55750         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55751         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55752         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55753         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55754         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55755         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55757         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55758         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55759         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55760         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55761         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55762         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55764 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55766         [BZ #13743]
55767         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55768         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55769         (sysdep_headers): Include sys/platform/ppc.h.
55770         * sysdeps/powerpc/test-gettimebase.c: Test for
55771         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55772         * manual/Makefile (appendices): Include platform.texi.
55773         * manual/contrib.texi (Contributors): Update @node pointers.
55774         * manual/maint.texi (Maintenance): Likewise.
55775         (Platform): New node.
55776         * manual/platform.texi: New file.  Document the new features.
55778 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55779             Jakub Jelinek  <jakub@redhat.com>
55781         [BZ #14188]
55782         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55783         where __builtin_expect is unavailable.
55785 2012-06-03  David S. Miller  <davem@davemloft.net>
55787         * stdlib/longlong.h: Updated from GCC.
55789 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55791         [BZ #14042]
55792         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55793         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55794         __mcount_internal.
55795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55796         (GLIBC_2.16): Likewise.
55798 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55800         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55802 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55805         (default-abi): New variable.
55806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55807         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55808         variable.
55809         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55810         Likewise.
55811         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55812         Likewise.
55813         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55814         Likewise.
55816         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55817         definition.  Document in comment.
55819 2012-06-01  David S. Miller  <davem@davemloft.net>
55821         * stdlib/longlong.h: Updated from GCC.
55823 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55825         [BZ #14117]
55826         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55827         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55828         sys/debugreg.h sys/io.h here.
55829         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55830         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55831         sys/io.h.
55832         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55833         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55834         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55835         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55836         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55837         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55839         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55840         Define only if __x86_64__ is defined.
55842 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55844         [BZ #14048]
55845         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55846         Use int64_t for variable i.
55847         * math/libm-test.inc (fmod_test): Add more tests.
55849         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55850         z computation is not scheduled after fetestexcept.
55851         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55852         Use math_force_eval instead of asm to ensure calculation scheduled
55853         before exception test.
55854         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55855         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55857 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55860         computation is not scheduled after fetestexcept.
55862 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55864         [BZ #14117]
55865         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55866         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55868 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55870         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55871         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55873 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55875         [BZ #14117]
55876         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55877         <bits/wordsize.h>.
55878         (__WCHAR_MIN): Support __WORDSIZE == 64.
55879         (__WCHAR_MAX): Likewise.
55881         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55884         [BZ #14183]
55885         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55886         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55888         [BZ #14117]
55889         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55890         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55892         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55893         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55895         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55896         Defined to 1 if __x86_64__ isn't defined.
55897         (_STAT_VER_LINUX_OLD): New.
55898         (st_atime): Remove duplicate.
55899         (st_mtime): Likewise.
55900         (st_ctime): Likewise.
55902 2012-05-31  David S. Miller  <davem@davemloft.net>
55904         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55905         entries.
55907 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55909         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55910         gen-libm-test.pl.
55912         [BZ #14132]
55913         * elf/dl-reloc.c: Include <_itoa.h>.
55914         (_dl_reloc_bad_type): Remove use of INTUSE.
55915         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55916         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55917         * stdio-common/psiginfo.c (psiginfo): Likewise.
55918         * stdio-common/psignal.c (psignal): Likewise.
55919         * string/strsignal.c (strsignal): Likewise.
55920         * include/signal.h (_sys_siglist): Declare hidden proto.
55921         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55922         INTVARDEF with libc_hidden_data_def.
55923         * stdio-common/itoa-udigits.c: Likewise.
55924         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55925         (_itoa_lower_digits_internal): Remove declaration.
55926         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55927         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55928         (_sys_sigabbrev_internal): Remove aliases.
55929         (_sys_siglist): Define hidden alias.
55931 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55934         bits/sysctl.h.
55936 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55938         [BZ #14117]
55939         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55940         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55942         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55943         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55944         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55945         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55947         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55949         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55950         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55951         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55953         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55954         with __addr.
55955         (insw): Likewise.
55956         (insl): Likewise.
55957         (outsb): Likewise.
55958         (outsw): Likewise.
55959         (outsl): Likewise.
55961         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55963         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55965         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55966         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55967         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55968         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55969         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55970         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55972         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55973         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55975         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55976         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55978         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55979         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55982         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55983         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55984         to ...
55985         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55987         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55988         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55989         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55991         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55992         for x86-64.
55993         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55995 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55997         * math/math.h (M_El): Use two more decimal places.
55998         (M_LOG2El): Likewise.
55999         (M_LOG10El): Likewise.
56000         (M_LN2l): Likewise.
56001         (M_LN10l): Likewise.
56002         (M_PIl): Likewise.
56003         (M_PI_2l): Likewise.
56004         (M_PI_4l): Likewise.
56005         (M_1_PIl): Likewise.
56006         (M_2_PIl): Likewise.
56007         (M_2_SQRTPIl): Likewise.
56008         (M_SQRT2l): Likewise.
56009         (M_SQRT1_2l): Likewise.
56011 2012-05-31  David S. Miller  <davem@davemloft.net>
56013         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56014         values between float registers.
56015         * sysdeps/sparc/sparc64/memset.S: Likewise.
56016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56018 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56020         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56021         -D_FORTIFY_SOURCE=1.
56022         (CPPFLAGS-tst-longjmp_chk.c): Define.
56023         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56024         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56025         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56026         CFLAGS-tst-wchar-h.c.
56028 2012-05-31  Marek Polacek  <polacek@redhat.com>
56030         [BZ #14132]
56031         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56032         __endmntent_internal): Remove declaration.
56033         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56034         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56035         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56037 2012-05-30  David S. Miller  <davem@davemloft.net>
56039         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56040         (___Q_simulate_exceptions): Use real FP ops rather than writing
56041         into the %fsr.
56042         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56043         Likewise.
56045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56047         [BZ #14117]
56048         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56049         * sysdeps/x86/bits/xtitypes.h: This.
56051         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56052         * sysdeps/x86/bits/wordsize.h: This.
56054         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56055         * sysdeps/x86/bits/huge_vall.h: This.
56057         * sysdeps/i386/bits/select.h: Removed.
56058         * sysdeps/x86_64/bits/select.h: Renamed to ...
56059         * sysdeps/x86/bits/select.h: This.
56061         * sysdeps/i386/bits/setjmp.h: Removed.
56062         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56063         * sysdeps/x86/bits/setjmp.h: This.
56065         * sysdeps/i386/bits/mathdef.h: Removed.
56066         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56067         * sysdeps/x86/bits/mathdef.h: This.
56069 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56071         [BZ #14132]
56072         * include/sys/socket.h (__connect_internal)
56073         (__libc_sa_len_internal): Remove declaration.
56074         (__connect, __libc_sa_len): Declare hidden_proto.
56075         (SA_LEN): Remove use of INTUSE.
56076         * socket/connect.c: Add libc_hidden_def.
56077         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56078         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56079         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56080         alias.
56081         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56083         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56084         of adding _internal alias.
56086 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56088         [BZ #14117]
56089         * sysdeps/i386/bits/link.h: Removed.
56090         * sysdeps/i386/bits/linkmap.h: Likewise.
56091         * sysdeps/x86_64/bits/link.h: Renamed to ...
56092         * sysdeps/x86/bits/link.h: This.
56093         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56094         * sysdeps/x86/bits/linkmap.h: This.
56096         * sysdeps/i386/bits/endian.h: Removed.
56097         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56098         * sysdeps/x86/bits/endian.h: This.
56100         * sysdeps/i386/bits/byteswap.h: Removed.
56101         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56102         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56103         * sysdeps/x86/bits/byteswap.h: This.
56104         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56105         * sysdeps/x86/bits/byteswap-16.h: This.
56106         * sysdeps/i386/Implies: Add x86.
56107         * sysdeps/x86_64/Implies: Likewise.
56109 2012-05-30  David S. Miller  <davem@davemloft.net>
56111         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56112         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56114         (FP_TRAPPING_EXCEPTIONS): Define.
56115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56116         (FP_TRAPPING_EXCEPTIONS): Define.
56117         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56118         subnormals only when inexact has been signalled or underflow
56119         exceptions are enabled.
56120         (_FP_PACK_CANONICAL): Likewise.
56122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56124         [BZ #14183]
56125         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56126         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56128 2012-05-30  Richard Henderson  <rth@twiddle.net>
56130         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56131         with #ifndef NOT_IN_libc.
56133         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56134         marked to avoid plt entry.
56136 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56138         [BZ #14112]
56139         * Makeconfig (default-abi): New macro.
56140         (abi-includes): Likewise.
56141         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56142         $(abi-$(default-abi)-lib-soname) for soname if defined.
56143         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56144         abi-variants.
56145         * Makefile (installed-stubs): Likewise.
56146         * include/stubs-biarch.h: Removed.
56147         * scripts/lib-names.awk: Only handle one library at a time.
56148         * scripts/soversions.awk: Remove WORDSIZE support.
56149         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56150         entries.
56151         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56152         Removed.
56153         (syscall-list-default-condition): Likewise.
56154         (syscall-list-default-condition): Likewise.
56155         (syscall-list-includes): Likewise.
56156         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56157         syscall-list-* with abi-*.  Handle undefined abi-variants.
56158         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56159         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56160         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56161         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56162         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56163         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56164         Removed.
56165         (syscall-list-32-options): Likewise.
56166         (syscall-list-32-condition): Likewise.
56167         (syscall-list-64-options): Likewise.
56168         (syscall-list-64-condition): Likewise.
56169         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56170         macro.
56171         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56172         Renamed to ...
56173         (abi-*): This.
56174         (abi-64-ld-soname): New macro.
56175         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56176         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56177         Renamed to ...
56178         (abi-*): This.
56179         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56180         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56182 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56184         * sysdeps/unix/sysv/linux/kernel-features.h
56185         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56186         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56187         include <kernel-features.h>.
56188         [!__NR_ftruncate64]: Remove conditional code.
56189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56190         [__NR_ftruncate64]: Make code unconditional.
56191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56192         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56193         include <kernel-features.h>.
56194         [!__NR_ftruncate64]: Remove conditional code.
56195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56196         [__NR_ftruncate64]: Make code unconditional.
56197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56199         include <kernel-features.h>.
56200         [!__NR_ftruncate64]: Remove conditional code.
56201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56202         [__NR_ftruncate64]: Make code unconditional.
56203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56205         include <kernel-features.h>.
56206         [!__NR_ftruncate64]: Remove conditional code.
56207         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56208         [__NR_ftruncate64]: Make code unconditional.
56209         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56211         * configure.in (libc_cv_fpie): Weaken to a compile test using
56212         LIBC_TRY_CC_OPTION.
56213         * configure: Regenerated.
56215 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56221         Refreshed.
56222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56228         Refreshed.
56230 2012-05-27  David S. Miller  <davem@davemloft.net>
56232         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56233         (___Q_zero): New.
56234         (__Q_simulate_exceptions): Return void.  Change to simulate
56235         exceptions by writing into the %fsr.
56236         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56237         (__Qp_handle_exceptions): Likewise.
56238         (numbers): Delete.
56239         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56240         __Qp_handle_exceptions.
56241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56242         __Qp_handle_exceptions.
56243         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56244         as unused and give dummy FP_RND_NEAREST initializer.
56245         (FP_INHIBIT_RESULTS): Define.
56246         (___Q_simulate_exceptions): Update declaration.
56247         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56248         formatting.
56249         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56250         as unused and give dummy FP_RND_NEAREST initializer.
56251         (__Qp_handle_exceptions): Update declaration.
56252         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56253         formatting.
56255 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56257         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56258         the temporary FPU control word.
56259         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56260         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56262         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56263         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56264         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56265         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56266         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56267         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56268         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56269         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56271 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56273         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56274         fields.
56276 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56278         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56279         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56280         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56281         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56282         Likewise.
56283         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56284         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56285         Likewise.
56287 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56289         * po/h.po: Update from translation team.
56291 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56293         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56295         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56296         handling of denormals.
56297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56298         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56299         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56300         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56304         Likewise.
56306 2012-05-26  Marek Polacek  <polacek@redhat.com>
56308         [BZ #14152]
56309         * math/libm-test.inc (fma_test): Don't always expect underflow
56310         exception.
56312 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56314         [BZ #12416]
56315         * elf/tst-execstack.c: Include stackinfo.h.
56316         (do_test): Adjust test case to ensure that pthread_getattr_np
56317         behaviour remains the same after marking stack executable.
56319 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56321         * sysdeps/unix/sysv/linux/kernel-features.h
56322         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56323         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56324         kernel-features.h.
56325         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56326         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56327         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56328         kernel-features.h.
56329         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56330         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56332 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56334         * configure.in: Define the default includes to being none.
56335         * configure: Regenerated.
56337 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56339         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56340         * sysdeps/x86_64/setjmp.S: Likewise.
56341         * sysdeps/i386/bsd-setjmp.S: Likewise.
56342         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56343         * sysdeps/i386/setjmp.S: Likewise.
56344         * sysdeps/i386/__longjmp.S: Likewise.
56345         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56346         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56348         * include/stap-probe.h: New file.
56349         * configure.in: Handle --enable-systemtap.
56350         * configure: Regenerated.
56351         * config.h.in (USE_STAP_PROBE): New #undef.
56352         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56353         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56354         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56356 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56358         [BZ #13717]
56359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56360         to 2.4.0 where earlier.
56361         * sysdeps/unix/sysv/linux/configure: Regenerated.
56362         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56363         <kernel-features.h>.
56364         [__ASSUME_32BITUIDS]: Make code unconditional.
56365         [!__ASSUME_32BITUIDS]: Remove conditional code.
56366         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56367         <kernel-features.h>.
56368         [__ASSUME_32BITUIDS]: Make code unconditional.
56369         [!__ASSUME_32BITUIDS]: Remove conditional code.
56370         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56371         [__ASSUME_32BITUIDS]: Make code unconditional.
56372         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56373         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56374         <kernel-features.h>.
56375         [__ASSUME_32BITUIDS]: Make code unconditional.
56376         [!__ASSUME_32BITUIDS]: Remove conditional code.
56377         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56378         <kernel-features.h>.
56379         [__ASSUME_32BITUIDS]: Make code unconditional.
56380         [!__ASSUME_32BITUIDS]: Remove conditional code.
56381         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56382         <kernel-features.h>.
56383         [__ASSUME_32BITUIDS]: Make code unconditional.
56384         [!__ASSUME_32BITUIDS]: Remove conditional code.
56385         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56386         <kernel-features.h>.
56387         [__ASSUME_32BITUIDS]: Make code unconditional.
56388         [!__ASSUME_32BITUIDS]: Remove conditional code.
56389         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56390         <kernel-features.h>.
56391         [__ASSUME_32BITUIDS]: Make code unconditional.
56392         [!__ASSUME_32BITUIDS]: Remove conditional code.
56393         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56394         <kernel-features.h>.
56395         [__ASSUME_32BITUIDS]: Make code unconditional.
56396         [!__ASSUME_32BITUIDS]: Remove conditional code.
56397         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56398         <kernel-features.h>.
56399         [__ASSUME_32BITUIDS]: Make code unconditional.
56400         [!__ASSUME_32BITUIDS]: Remove conditional code.
56401         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56402         <kernel-features.h>.
56403         [__ASSUME_32BITUIDS]: Make code unconditional.
56404         [!__ASSUME_32BITUIDS]: Remove conditional code.
56405         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56406         <kernel-features.h>.
56407         [__ASSUME_32BITUIDS]: Make code unconditional.
56408         [!__ASSUME_32BITUIDS]: Remove conditional code.
56409         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56410         <kernel-features.h>.
56411         [__ASSUME_32BITUIDS]: Make code unconditional.
56412         [!__ASSUME_32BITUIDS]: Remove conditional code.
56413         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56414         <kernel-features.h>.
56415         [__NR_setresgid] (__setresgid): Do not declare.
56416         [__ASSUME_32BITUIDS]: Make code unconditional.
56417         [!__ASSUME_32BITUIDS]: Remove conditional code.
56418         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56419         <kernel-features.h>.
56420         [__NR_setresuid] (__setresuid): Do not declare.
56421         [__ASSUME_32BITUIDS]: Make code unconditional.
56422         [!__ASSUME_32BITUIDS]: Remove conditional code.
56423         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56424         <kernel-features.h>.
56425         [__ASSUME_32BITUIDS]: Make code unconditional.
56426         [!__ASSUME_32BITUIDS]: Remove conditional code.
56427         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56428         <kernel-features.h>.
56429         [__ASSUME_32BITUIDS]: Make code unconditional.
56430         [!__ASSUME_32BITUIDS]: Remove conditional code.
56431         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56432         <kernel-features.h>.
56433         [__ASSUME_32BITUIDS]: Make code unconditional.
56434         [!__ASSUME_32BITUIDS]: Remove conditional code.
56435         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56436         <kernel-features.h>.
56437         [__ASSUME_32BITUIDS]: Make code unconditional.
56438         [!__ASSUME_32BITUIDS]: Remove conditional code.
56439         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56440         <kernel-features.h>.
56441         [__ASSUME_32BITUIDS]: Make code unconditional.
56442         [!__ASSUME_32BITUIDS]: Remove conditional code.
56443         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56444         <kernel-features.h>.
56445         [__ASSUME_32BITUIDS]: Make code unconditional.
56446         [!__ASSUME_32BITUIDS]: Remove conditional code.
56447         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56448         <kernel-features.h>.
56449         [__ASSUME_32BITUIDS]: Make code unconditional.
56450         [!__ASSUME_32BITUIDS]: Remove conditional code.
56451         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56452         <kernel-features.h>.
56453         [__ASSUME_32BITUIDS]: Make code unconditional.
56454         [!__ASSUME_32BITUIDS]: Remove conditional code.
56455         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56456         <kernel-features.h>.
56457         [__ASSUME_32BITUIDS]: Make code unconditional.
56458         [!__ASSUME_32BITUIDS]: Remove conditional code.
56459         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56460         <kernel-features.h>.
56461         [__ASSUME_32BITUIDS]: Make code unconditional.
56462         [!__ASSUME_32BITUIDS]: Remove conditional code.
56463         * sysdeps/unix/sysv/linux/kernel-features.h
56464         (__ASSUME_SETRESUID_SYSCALL): Remove.
56465         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56466         (__ASSUME_32BITUIDS): Likewise.
56467         (__ASSUME_LDT_WORKS): Likewise.
56468         (__ASSUME_O_DIRECTORY): Likewise.
56469         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56470         architecture but not kernel version.
56471         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56472         (__ASSUME_MMAP2_SYSCALL): Likewise.
56473         (__ASSUME_STAT64_SYSCALL): Likewise.
56474         (__ASSUME_IPC64): Likewise.
56475         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56476         <kernel-features.h>.
56477         [__ASSUME_32BITUIDS]: Make code unconditional.
56478         [!__ASSUME_32BITUIDS]: Remove conditional code.
56479         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56480         <kernel-features.h>.
56481         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56482         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56483         132096]: Remove conditional code.
56484         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56485         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56486         <kernel-features.h>.
56487         [__ASSUME_32BITUIDS]: Make code unconditional.
56488         [!__ASSUME_32BITUIDS]: Remove conditional code.
56489         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56490         <kernel-features.h>.
56491         [__ASSUME_32BITUIDS]: Make code unconditional.
56492         [!__ASSUME_32BITUIDS]: Remove conditional code.
56493         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56494         <kernel-features.h>.
56495         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56496         unconditional.
56497         (__setresgid): Do not declare.
56498         [__ASSUME_32BITUIDS]: Make code unconditional.
56499         [!__ASSUME_32BITUIDS]: Remove conditional code.
56500         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56501         <kernel-features.h>.
56502         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56503         unconditional.
56504         (__setresuid): Do not declare.
56505         [__ASSUME_32BITUIDS]: Make code unconditional.
56506         [!__ASSUME_32BITUIDS]: Remove conditional code.
56507         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56508         <kernel-features.h>.
56509         [__ASSUME_32BITUIDS]: Make code unconditional.
56510         [!__ASSUME_32BITUIDS]: Remove conditional code.
56511         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56512         <kernel-features.h>.
56513         [__ASSUME_32BITUIDS]: Make code unconditional.
56514         [!__ASSUME_32BITUIDS]: Remove conditional code.
56516 2012-05-25  Richard Henderson  <rth@twiddle.net>
56518         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56519         dl_hwcap to ifunc resolver.
56520         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56521         elf_ifunc_invoke.
56522         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56523         dl_hwcap to ifunc resolver.
56524         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56526 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56528         [BZ #14153]
56529         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56530         for |x| <= 2**-26, not 2**-57.
56531         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56532         exception.
56534 2012-05-24  Jeff Law  <law@redhat.com>
56536         * stdio-common/Makefile (tests): Add bug25.
56537         * stdio-common/bug25.c: New test.
56539 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56541         [BZ #13576]
56542         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56543         multiple of MALLOC_ALIGNMENT in size.
56544         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56546 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56548         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56549         Require >= 256.
56550         (FILENAME_MAX): Use macro-int-constant.
56551         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56552         (_IOFBF): Use macro-int-constant.
56553         (_IOLBF): Likewise.
56554         (_IONBF): Likewise.
56555         (SEEK_CUR): Likewise.
56556         (SEEK_END): Likewise.
56557         (SEEK_SET): Likewise.
56558         (TMP_MAX): Likewise.
56559         (EOF): Use macro-int-constant.  Require < 0.
56560         (NULL): Use macro-constant.  Require == 0.
56561         (stdin): Require type to be FILE *.
56562         (stdout): Likewise.
56563         (stderr): Likewise.
56564         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56565         macro-int-constant.
56566         (EXIT_SUCCESS): Likewise.
56567         (NULL): Use macro-constant.  Require == 0.
56568         (RAND_MAX): Use macro-int-constant.
56569         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56570         [C99-based standards] (strtof): Require function.
56571         [C99-based standards] (strtold): Likewise.
56572         [C99-based standards] (strtoll): Likewise.
56573         [C99-based standards] (strtoull): Likewise.
56574         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56575         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56576         [ISO || ISO99 || ISO11] (math.h): Likewise.
56577         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56578         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56581 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56583         [BZ #14132]
56584         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56585         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56586         * intl/dgettext.c (DCGETTEXT): Likewise.
56587         * intl/gettext.c (DCGETTEXT): Likewise.
56588         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56589         * posix/regex_internal.h (gettext): Likewise.
56590         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56591         Remove declaration.
56592         * include/argz.h (__argz_count_internal)
56593         (__argz_stringify_internal): Remove declaration.
56594         (__argz_count, __argz_stringify): Declare hidden proto.
56595         * intl/dcgettext.c: Remove use of INTDEF.
56596         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56597         * string/argz-stringify.c: Likewise.
56598         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56599         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56600         Declare hidden proto.
56601         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56602         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56603         Declare hidden proto.
56604         * include/stdio.h (__asprintf_internal): Don't declare.
56605         (__asprintf): Don't define as macro.  Declare hidden proto.
56606         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56607         (__fsetlocking): Declare hidden proto.
56608         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56609         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56610         hidden proto.
56611         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56612         (_IO_setlinebuf): Remove use of INTUSE.
56613         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56614         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56615         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56616         Remove declaration.
56617         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56618         (_IO_do_flush): Remove use of INTUSE.
56619         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56620         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56621         (_IO_adjust_column, _IO_least_wmarker)
56622         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56623         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56624         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56625         (_IO_default_doallocate, _IO_wdefault_doallocate)
56626         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56627         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56628         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56629         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56630         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56631         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56632         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56633         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56634         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56635         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56636         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56637         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56638         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56639         proto.
56640         (_IO_flush_all_internal, _IO_adjust_column_internal)
56641         (_IO_default_uflow_internal, _IO_default_finish_internal)
56642         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56643         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56644         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56645         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56646         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56647         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56648         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56649         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56650         (_IO_file_close_internal, _IO_file_close_it_internal)
56651         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56652         (_IO_file_init_internal, _IO_file_attach_internal)
56653         (_IO_file_fopen_internal, _IO_file_read_internal)
56654         (_IO_file_sync_internal, _IO_file_seek_internal)
56655         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56656         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56657         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56658         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56659         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56660         (_IO_list_all_internal, _IO_link_in_internal)
56661         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56662         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56663         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56664         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56665         (_IO_do_write_internal, _IO_padn_internal)
56666         (_IO_getline_info_internal, _IO_getline_internal)
56667         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56668         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56669         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56670         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56671         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56672         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56673         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56674         with libc_hidden_ver, remove use of INTUSE.
56675         * libio/genops.c: Likewise.
56676         * libio/freopen.c: Likewise.
56677         * libio/freopen64.c: Likewise.
56678         * libio/iofclose.c: Likewise.
56679         * libio/iofdopen.c: Likewise.
56680         * libio/iofflush.c: Likewise.
56681         * libio/iofflush_u.c: Likewise.
56682         * libio/iofgets.c: Likewise.
56683         * libio/iofgets_u.c: Likewise.
56684         * libio/iofopen.c: Likewise.
56685         * libio/iofopncook.c: Likewise.
56686         * libio/iofread.c: Likewise.
56687         * libio/iofread_u.c: Likewise.
56688         * libio/ioftell.c: Likewise.
56689         * libio/iofwrite.c: Likewise.
56690         * libio/iogetline.c: Likewise.
56691         * libio/iogets.c: Likewise.
56692         * libio/iogetwline.c: Likewise.
56693         * libio/iopadn.c: Likewise.
56694         * libio/iopopen.c: Likewise.
56695         * libio/ioseekoff.c: Likewise.
56696         * libio/ioseekpos.c: Likewise.
56697         * libio/iosetbuffer.c: Likewise.
56698         * libio/iosetvbuf.c: Likewise.
56699         * libio/ioungetc.c: Likewise.
56700         * libio/ioungetwc.c: Likewise.
56701         * libio/iovdprintf.c: Likewise.
56702         * libio/iovsprintf.c: Likewise.
56703         * libio/iovsscanf.c: Likewise.
56704         * libio/memstream.c: Likewise.
56705         * libio/obprintf.c: Likewise.
56706         * libio/oldfileops.c: Likewise.
56707         * libio/oldiofclose.c: Likewise.
56708         * libio/oldiofdopen.c: Likewise.
56709         * libio/oldiofopen.c: Likewise.
56710         * libio/oldiopopen.c: Likewise.
56711         * libio/oldstdfiles.c: Likewise.
56712         * libio/putc.c: Likewise.
56713         * libio/setbuf.c: Likewise.
56714         * libio/setlinebuf.c: Likewise.
56715         * libio/stdfiles.c: Likewise.
56716         * libio/strops.c: Likewise.
56717         * libio/vasprintf.c: Likewise.
56718         * libio/vscanf.c: Likewise.
56719         * libio/vsnprintf.c: Likewise.
56720         * libio/vswprintf.c: Likewise.
56721         * libio/wfiledoalloc.c: Likewise.
56722         * libio/wfileops.c: Likewise.
56723         * libio/wgenops.c: Likewise.
56724         * libio/wmemstream.c: Likewise.
56725         * libio/wstrops.c: Likewise.
56726         * libio/__fpurge.c: Likewise.
56727         * libio/__fsetlocking.c: Likewise.
56728         * assert/assert.c: Likewise.
56729         * debug/fgets_chk.c: Likewise.
56730         * debug/fgets_u_chk.c: Likewise.
56731         * debug/fread_chk.c: Likewise.
56732         * debug/fread_u_chk.c: Likewise.
56733         * debug/gets_chk.c: Likewise.
56734         * debug/obprintf_chk.c: Likewise.
56735         * debug/vasprintf_chk.c: Likewise.
56736         * debug/vdprintf_chk.c: Likewise.
56737         * debug/vsnprintf_chk.c: Likewise.
56738         * debug/vsprintf_chk.c: Likewise.
56739         * malloc/mtrace.c: Likewise.
56740         * misc/error.c: Likewise.
56741         * misc/syslog.c: Likewise.
56742         * stdio-common/asprintf.c: Likewise.
56743         * stdio-common/fxprintf.c: Likewise.
56744         * stdio-common/getw.c: Likewise.
56745         * stdio-common/isoc99_fscanf.c: Likewise.
56746         * stdio-common/isoc99_scanf.c: Likewise.
56747         * stdio-common/isoc99_vfscanf.c: Likewise.
56748         * stdio-common/isoc99_vscanf.c: Likewise.
56749         * stdio-common/isoc99_vsscanf.c: Likewise.
56750         * stdio-common/printf-prs.c: Likewise.
56751         * stdio-common/printf_fp.c: Likewise.
56752         * stdio-common/printf_fphex.c: Likewise.
56753         * stdio-common/printf_size.c: Likewise.
56754         * stdio-common/putw.c: Likewise.
56755         * stdio-common/scanf.c: Likewise.
56756         * stdio-common/sprintf.c: Likewise.
56757         * stdio-common/tmpfile.c: Likewise.
56758         * stdio-common/vfprintf.c: Likewise.
56759         * stdio-common/vfscanf.c: Likewise.
56760         * stdlib/strfmon_l.c: Likewise.
56761         * sunrpc/openchild.c: Likewise.
56762         * sunrpc/xdr_stdio.c: Likewise.
56763         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56764         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56766 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56768         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56770         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56771         in the third column, to generate for the shared library an IFUNC
56772         that uses _dl_vdso_vsym.
56773         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56774         * Makeconfig (object-suffixes-noshared): New variable.
56776         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56777         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56778         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56779         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56781         [BZ #14132]
56782         * include/sys/time.h (__gettimeofday): Remove macro.
56783         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56784         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56785         Remove INTDEF.
56786         (__gettimeofday): Add libc_hidden_def.
56787         (gettimeofday): Add libc_hidden_weak.
56788         * sysdeps/mach/gettimeofday.c: Likewise.
56789         * sysdeps/posix/gettimeofday.c: Likewise.
56790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56791         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56792         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56793         (__gettimeofday_internal): Remove strong_alias.
56794         (__gettimeofday): Add libc_hidden_def.
56795         (gettimeofday): Add libc_hidden_weak.
56796         * sysdeps/unix/syscalls.list (gettimeofday):
56797         Remove __gettimeofday_internal alias.
56799 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56800             H.J. Lu  <hongjiu.lu@intel.com>
56802         [BZ #12495]
56803         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56804         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56805         (largebin_index_32_big): New.
56806         (largebin_index): Use it for 16-byte alignment.
56807         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56808         correction with front_misalign.
56810 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56814         Likewise.
56815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56816         Likewise.
56817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56818         Likewise.
56819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56820         Likewise.
56821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56822         Likewise.
56823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56824         Likewise.
56825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56826         Likewise.
56827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56828         Likewise.
56829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56830         Likewise.
56831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56832         Likewise.
56833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56834         Likewise.
56835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56836         Likewise.
56838         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56839         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56843         [BZ #10846]
56844         [BZ #14036]
56845         * math/libm-test.inc (exp_test): Add test from bug 14036.
56846         (pow_test): Add test from bug 10846.
56848         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56849         and other flags.
56850         (special_function): Do not include flags in test name.
56851         (parse_args): Likewise.
56852         * sysdeps/i386/fpu/libm-test-ulps: Update.
56853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56854         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56855         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56858         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56859         exceptions.
56860         * math/libm-test.inc ("Philosophy"): Update comment about
56861         exception testing.
56862         (UNDERFLOW_EXCEPTION): New macro.
56863         (UNDERFLOW_EXCEPTION_OK): Likewise.
56864         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56865         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56866         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56867         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56868         (INVALID_EXCEPTION_OK): Update value.
56869         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56870         (OVERFLOW_EXCEPTION_OK): Likewise.
56871         (IGNORE_ZERO_INF_SIGN): Likewise.
56872         (test_exceptions): Handle underflow exceptions.
56873         (acos_test): Update for underflow exception expectations.
56874         (cexp_test): Likewise.
56875         (clog_test): Likewise.
56876         (clog10_test): Likewise.
56877         (csqrt_test): Likewise.
56878         (ctan_test): Likewise.
56879         (ctanh_test): Likewise.
56880         (exp_test): Likewise.
56881         (exp10_test): Likewise.
56882         (exp2_test): Likewise.
56883         (expm1_test): Likewise.
56884         (fma_test): Likewise.
56885         (j0_test): Likewise.
56886         (jn_test): Likewise.
56887         (nexttoward_test): Likewise.
56888         (pow_test): Likewise.
56889         (scalbn_test): Likewise.
56890         (scalbln_test): Likewise.
56891         (tan_test): Likewise.
56892         (y1_test): Likewise.
56893         * sysdeps/i386/fpu/libm-test-ulps: Update.
56894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56896 2012-05-23  David S. Miller  <davem@davemloft.net>
56898         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56899         (__libc_sigaction): Remove unused local variables.
56901 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56903         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56905 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56907         mktime: avoid signed integer overflow
56908         * time/mktime.c (__mktime_internal): Do not mishandle the case
56909         where diff == INT_MIN.
56911         mktime: simplify computation of average
56912         * time/mktime.c (ranged_convert): Use new time_t_avg function
56913         instead of rolling our own (probably-slower) code.
56915         mktime: do not assume signed right shift propagates sign bit
56916         * time/mktime.c (isdst_differ): New static function.
56917         (__mktime_internal): No need to normalize tm_isdst now.
56918         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56919         tm_isdst values.
56921         mktime: merge another wrapv change from gnulib
56922         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56923         from some compilers.
56925         mktime: remove incorrect attempt at unusual arithmetics
56926         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56927         The code didn't really work on such machines anyway.
56928         (TYPE_MINIMUM): Assume two's complement.
56929         (twos_complement_arithmetic): Verify that long_int and time_t
56930         are two's complement (or unsigned, in the latter case).
56932         mktime: check signed shifts on long_int and time_t, too
56933         * time/mktime.c (SHR): Check that shifts work as desired
56934         on the types long_int and time_t too, as SHR is used on
56935         such types.
56937         mktime: do not assume 'long' is wide enough
56938         * time/mktime.c (verify): Move decl up.
56939         (long_int): New type.
56940         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56941         to remove assumption in the code that 'long' is wide enough to
56942         store year values.  This assumption is not true on x32 and on
56943         some non-glibc platforms.
56945         mktime: merge wrapv change from gnulib
56946         * time/mktime.c (WRAPV): New macro.
56947         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56948         (guess_time_tm, __mktime_internal): Do not assume that signed
56949         integer overflow wraps around; modern compilers generate code
56950         where this assumption is no longer valid.
56952 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56954         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56955         Replace "jmp L(pseudo_end)" with "ret".
56956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56957         Likewise.
56959 2012-05-23  Andreas Jaeger  <aj@suse.de>
56961         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56962         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56964 2012-05-23  Andreas Jaeger  <aj@suse.de>
56965             Maximilian Attems  <max@stro.at>
56967         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56968         New macros.
56970 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56972         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56973         code so that pseudo_end is just ret and the stack pointer is
56974         correct also for static library in error case.
56976 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56978         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56979         move to syscalls.list.
56980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56985         * manual/install.texi (Running make install): Do not mention Linux
56986         kernel version for which pt_chown is not needed.
56987         (Linux): Do not mention problems with nscd with 2.0 kernels.
56988         * INSTALL: Regenerated.
56990 2012-05-23  Andreas Jaeger  <aj@suse.de>
56992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56993         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56994         macro.
56995         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56997         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56999         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57000         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57002         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57003         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57004         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57005         * sysdeps/unix/sysv/linux/bits/in.h
57006         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57008 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57010         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57011         (PREPARE_VERSION): Just use assert instead, it will be elided
57012         under [NDEBUG] anyway.
57014 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57016         * sysdeps/unix/sysv/linux/Makefile: Include
57017         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57018         (sysdep_routines): Remove sysctl.
57019         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57020         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57021         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57022         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57023         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57025 2012-05-22  Andreas Jaeger  <aj@suse.de>
57027         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57028         that pseudo_end is just ret and the stack pointer is correct also
57029         for static library in error case.
57031 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57033         [BZ #14122]
57034         * nss/nsswitch.c (defconfig_entries): New variable.
57035         (__nss_database_lookup): Don't leak defconfig entries.
57036         (nss_parse_service_list): Don't leak on error paths.
57037         (free_database_entries): New function.
57038         (free_defconfig): New function.
57039         (free_mem): Move common code to free_database_entries.
57041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57043         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57044         Add arch_prctl.
57045         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57047         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57048         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57050         New macro.
57051         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57052         (INTERNAL_SYSCALL_TYPES): Likewise.
57053         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57054         (LOAD_REGS_TYPES_[1-6]): Likewise.
57055         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57056         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57058 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57060         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57061         copysignl for GLIBC_2_0.
57062         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57063         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57065         logbl for GLIBC_2_0.
57066         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57067         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57069 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57071         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57072         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57074         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57075         Use "neg %eax".
57077         * time/mktime.c: Update copyright years.
57079 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57081         mktime: merge comment-quoting-style change from gnulib
57082         * time/mktime.c: Quote 'like this' in comments.
57083         The GNU coding standards suggest that we no longer quote `like this',
57084         as "`" and "'" are typically rendered asymmetrically nowadays.
57085         The typical gnulib style is to quote 'like this' when quoting
57086         code, and "like this" when quoting English.
57088         * time/mktime.c (compile-command): Add "-I.".
57090         mktime: merge mktime-internal.h change from gnulib
57091         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57093         mktime: merge time_r change from gnulib
57094         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57096         mktime: merge DEBUG change from gnulib
57097         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57098         case system <time.h> has a #define.
57100         mktime: merge <sys/types.h> change from gnulib
57101         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57102         since <time.t> is now guaranteed to define time_t.
57104         mktime: merge HAVE_CONFIG_H change from gnulib
57105         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57107 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57110         Use "neg %eax".
57112         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57113         __rlim_t cast.
57114         (struct rusage): Use anonymous union to pad each field to
57115         __syscall_slong_t.
57117 2012-05-21  David S. Miller  <davem@davemloft.net>
57119         * Makefules (o-iterator): Remove .s cases.
57120         (compile-command.s): Delete.
57121         (COMPILE.s): Delete.
57122         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57124 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57126         * configure.in (libc_cv_predef_stack_protector): Only consider
57127         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57128         * configure: Regenerated.
57130 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57133         New macro.  Use R*LP on int and pointer.
57134         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57135         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57136         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57137         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57139         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57140         [__WORDSIZE_TIME64_COMPAT32] instead of
57141         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57142         (struct utmp): Likewise.
57143         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57144         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57145         Renamed to ...
57146         (__WORDSIZE_TIME64_COMPAT32): This.
57147         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57148         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57149         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57150         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57151         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57152         (__WORDSIZE_TIME64_COMPAT32): New macro.
57154 2012-05-21  Andreas Jaeger  <aj@suse.de>
57156         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57157         only if [SHARED]. Add prototype for __wcschr_ia32.
57159 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57161         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57162         of %rbp unmolested in the jmp_buf while mangling the low bits.
57163         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57164         unmolested high bits of %rbp while demangling the low bits.
57165         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57167 2012-05-21  Andreas Jaeger  <aj@suse.de>
57169         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57170         * sunrpc/svc_simple.c: Use it for registerrpc.
57171         * sunrpc/xcrypt.c: Use it for passwd2des.
57173         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57175 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57177         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57178         Don't define if [__SYSCALL_WORDSIZE != 32].
57179         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57180         New macro.
57182 2012-05-21  Bruno Haible  <bruno@clisp.org>
57183             Andreas Jaeger  <aj@suse.de>
57185         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57186         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57187         inptr and inend for must_buffer_ch.
57188         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57189         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57190         * stdio-common/Makefile (tests): Remove bug15.
57191         (bug15-ENV): Remove macro.
57192         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57193         anymore.
57195 2012-05-19  Andreas Jaeger  <aj@suse.de>
57196             Roland McGrath  <roland@hack.frob.com>
57198         * manual/contrib.texi: Completely rewritten. It contains now an
57199         alphabetical list of contributors and their contributions.
57201 2012-05-21  Richard Henderson  <rth@twiddle.net>
57203         * misc/getauxval.c (__getauxval): Use unsigned long int.
57204         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57205         (getauxval): Use unsigned long int.
57207 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57209         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57211 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57213         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57214         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57215         __alignof__ (long double).
57217 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57221 2012-05-20  Richard Henderson  <rth@twiddle.net>
57223         * misc/getauxval.c: New file.
57224         * misc/sys/auxv.h: New file.
57225         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57226         (routines): Add getauxval.
57227         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57228         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57229         * elf/dl-sysdep.c (_dl_auxv): Remove.
57230         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57231         * elf/dl-support.c (_dl_auxv): New variable.
57232         (_dl_aux_init): Initialize it.
57233         * manual/startup.texi (Auxiliary Vector): New node.
57234         * sysdeps/generic/bits/hwcap.h: New file.
57235         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57236         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57237         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57238         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57239         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57240         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57242         Update.
57243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57246         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57252 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57256 2012-05-19  David S. Miller  <davem@davemloft.net>
57258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57260 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57262         [BZ #14123]
57263         * math/s_ccosh.c: Include <float.h>
57264         (__ccosh): Avoid internal overflow calculating sinh and cosh
57265         values before multiplying by sin and cos values.
57266         * math/s_ccoshf.c: Likewise.
57267         * math/s_ccoshl.c: Likewise.
57268         * math/s_csin.c: Likewise.
57269         * math/s_csinf.c: Likewise.
57270         * math/s_csinl.c: Likewise.
57271         * math/s_csinh.c: Likewise.
57272         * math/s_csinhf.c: Likewise.
57273         * math/s_csinhl.c: Likewise.
57274         * math/libm-test.inc (ccos_test): Add more tests.
57275         (ccosh_test): Likewise.
57276         (csin_test): Likewise.
57277         (csinh_test): Likewise.
57278         * sysdeps/i386/fpu/libm-test-ulps: Update.
57279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57281 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57283         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57284         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57286         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57288 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57290         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57291         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57292         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57293         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57294         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57295         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57296         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57297         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57298         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57299         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57300         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57301         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57302         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57303         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57304         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57305         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57306         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57307         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57308         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57309         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57310         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57311         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57312         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57313         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57314         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57315         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57316         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57317         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57318         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57319         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57320         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57322 2012-05-18  Andreas Jaeger  <aj@suse.de>
57324         * csu/.gitignore: Delete.
57326 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57328         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57329         (timex): Use __syscall_slong_t.
57331 2012-05-18  Andreas Jaeger  <aj@suse.de>
57332             Carlos O'Donell  <carlos_odonell@mentor.com>
57334         * manual/install.texi (Configuring and compiling): Update
57335         description about files modified in the source directory.
57336         * INSTALL: Regenerated.
57338 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57340         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57341         value.  Use "or" to set return value to -1.
57342         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57343         negate return value.
57345 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57347         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57348         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57349         failure if the compiler has Graphite support disabled.
57350         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57351         Likewise.
57352         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57353         (CFLAGS-memmove.c): Likewise.
57354         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57355         Likewise.
57357 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57359         * sysdeps/x86_64/x32/_itoa.h: New file.
57361         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57362         getdents system call only if kernel and user dirents have the
57363         same d_ino and d_off.
57365         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57366         LLONG_MAX != LONG_MAX.
57367         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57368         (_fitoa_word): Likewise.
57370         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57371         years.
57372         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57373         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57374         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57376         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57377         include <bits/wordsize.h>.  Check __x86_64__ instead of
57378         __WORDSIZE.
57379         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57380         if __x86_64__ is defined.  Use anonymous union on fpstate.
57382         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57383         anonymous union.
57385 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57387         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57388         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57389         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57390         Refer to _rtld_local_ro instead of _rtld_global_ro.
57391         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57392         Likewise.
57393         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57394         Likewise.
57395         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57396         Likewise.
57397         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57398         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57399         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57401         [BZ #10882]
57402         * sysdeps/powerpc/powerpc32/dl-machine.c
57403         (__elf_machine_runtime_setup) [PROF]: Don't reference
57404         _dl_prof_resolve.
57406 2012-05-18  Andreas Jaeger  <aj@suse.de>
57408         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57409         function only available for GCCs before 3.4 since GCC 3.4
57410         introduced a builtin.
57411         (lrint): Likewise.
57412         (llrintf): Likewise.
57413         (llrint): Likewise.
57414         (fmaxf): Likewise.
57415         (fmax): Likewise.
57416         (fminf): Likewise.
57417         (fmin): Likewise.
57418         (rint): Likewise.
57419         (rintf): Likewise.
57420         (nearbyint): Likewise.
57421         (nearbyintf): Likewise.
57422         (ceil): Likewise.
57423         (ceilf): Likewise.
57424         (floor): Likewise.
57425         (floorf): Likewise.
57427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57429         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57430         on both fields and cast pointer to __syscall_ulong_t.
57432         * bits/types.h (__fsword_t): New type.
57433         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57434         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57436         (__FSWORD_T_TYPE): Likewise.
57437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57438         (__FSWORD_T_TYPE): Likewise.
57439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57440         (__FSWORD_T_TYPE): Likewise.
57441         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57442         (__FSWORD_T_TYPE): Likewise.
57443         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57444         __SWORD_TYPE with __fsword_t.
57445         (statfs64): Likewise.
57447 2012-05-17  David S. Miller  <davem@davemloft.net>
57449         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57451 2012-05-17  Andreas Jaeger  <aj@suse.de>
57453         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57454         warning.
57456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57458         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57460 2012-05-17  Andreas Jaeger  <aj@suse.de>
57462         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57463         when it is used.
57465 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57467         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57471         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57472         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57474 2012-05-17  Andreas Jaeger  <aj@suse.de>
57475             Carlos O'Donell  <carlos_odonell@mentor.com>
57477         [BZ #14059]
57478         * sysdeps/x86_64/multiarch/init-arch.h
57479         (bit_YMM_Usable): Rename to...
57480         (bit_AVX_Usable): ... this.
57481         (bit_FMA4_Usable): New macro.
57482         (bit_XMM_state): New macro.
57483         (bit_YMM_state): New macro.
57484         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57485         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57486         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57487         (CPUID_OSXSAVE): New macro.
57488         (CPUID_AVX): New macro.
57489         (CPUID_FMA4): New macro.
57490         (index_YMM_Usable): Rename to...
57491         (index_AVX_Usable): ... this.
57492         (HAS_AVX): Use HAS_ARCH_FEATURE.
57493         (HAS_FMA4): Likewise.
57494         (HAS_YMM_USABLE): Remove.
57495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57496         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57497         are present.
57498         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57499         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57500         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57501         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57502         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57504 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57506         * math/libm-test.c: Support platforms without multiple rounding modes.
57507         * math/bug-nextafter.c: Support platforms without FP exceptions.
57508         * math/bug-nexttoward.c: Likewise.
57509         * math/test-fenv.c: Likewise.
57510         * math/test-misc.c: Likewise.
57511         * stdlib/bug-getcontext.c: Likewise.
57513 2012-05-17  Andreas Jaeger  <aj@suse.de>
57515         * manual/examples/search.c (critter_cmp): Change signature to
57516         avoid warnings.
57517         * manual/string.texi (Collation Functions): Likewise.
57519 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57521         * bits/types.h: Fold copyright years.
57522         * bits/typesizes.h: Likewise.
57523         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57527         * time/time.h: Likewise.
57529 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57531         [BZ #208]
57532         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57533         in instead of returning them.  Return void.
57534         (__libc_mallinfo): Accumulate over all arenas.
57535         (__malloc_stats): Adjust for change in int_mallinfo interface.
57537 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57539         [BZ #10375]
57540         * configure.in (NM): Add AC_CHECK_TOOL for it.
57541         (libc_extra_cflags): New substituted variable.
57542         Check for -fstack-protector being used implicitly.
57543         * configure: Regenerated.
57544         * config.make.in (config-extra-cflags): New variable,
57545         gets @libc_extra_cflags@.
57546         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57548         [BZ #10375]
57549         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57550         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57551         * configure: Regenerated.
57552         * config.make.in (CPPUNDEFS): New substituted variable.
57553         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57554         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57555         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57557 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57559         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57560         (mq_attr): Use __syscall_slong_t.
57562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57564         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57565         Check __x86_64__ instead of __WORDSIZE.
57566         (_STAT_VER_LINUX): Likewise.
57567         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57568         __syscall_ulong_t and __syscall_slong_t.
57569         (stat64): Likewise.
57571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57577         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57579 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57581         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57582         __syscall_ulong_t.
57584         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57585         include <bits/wordsize.h>.  Check __x86_64__ instead of
57586         __WORDSIZE.
57587         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57588         defined.
57589         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57591         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57592         include <bits/wordsize.h>.  Check __x86_64__ instead of
57593         __WORDSIZE.
57594         (user_regs_struct): Use "__extension__ unsigned long long"
57595         instead of "unsigned long" if __x86_64__ is defined.
57596         (user): Likewise.  Pad after pointer field if __ILP32__ is
57597         defined.
57599 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57601         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57602         versions 5 to 9.
57603         * configure: Regenerated.
57604         * manual/install.texi (texinfo): Increase version requirement to
57605         4.5 or later.
57606         * INSTALL: Regenerated.
57608         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57612         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57614         * sysdeps/x86_64/x32/ffs.c: New file.
57616         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57617         __syscall_ulong_t.
57618         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57619         defined.  Use __syscall_ulong_t.
57620         (shminfo): Use __syscall_ulong_t.
57621         (shm_info): Likewise.
57623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57624         __syscall_ulong_t.
57626         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57627         <bits/wordsize.h>.
57628         (msgqnum_t): Use __syscall_ulong_t.
57629         (msglen_t): Likewise.
57630         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57631         __syscall_ulong_t.
57633         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57634         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57636         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57638         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57639         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57641         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57642         __syscall_slong_t.
57644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57645         include <bits/wordsize.h>.  Check __x86_64__ instead of
57646         __WORDSIZE.
57648         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57649         "unsigned long long int" if __x86_64__ is defined.
57650         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57653         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57654         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57656         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57657         <stdint.h>.
57658         (GET_PC): Cast to uintptr_t first.
57659         (GET_FRAME): Likewise.
57660         (GET_STACK): Likewise.
57662         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57663         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57664         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57665         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57666         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57667         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57668         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57669         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57670         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57671         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57673         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57677         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57679         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57680         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57682         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57683         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57685         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57687         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57688         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57689         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57692 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57694         * Makerules (+depfiles): Also collect depfiles from .oS in
57695         $(extra-objs).
57696         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57697         .oS, $(libnldbl-routines)).
57699         * Makerules (native-compile-mkdep-flags): Define.
57700         * sunrpc/Makefile (extra-objs): Add $(addprefix
57701         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57702         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57703         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57704         calling $(make-target-directory).
57706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57708         * bits/types.h (__snseconds_t): Removed.
57709         * time/time.h (struct timespec): Replace __snseconds_t with
57710         __syscall_slong_t.
57711         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57712         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57713         Likewise.
57714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57715         (__SNSECONDS_T_TYPE): Likewise.
57716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57717         (__SNSECONDS_T_TYPE): Likewise.
57718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57719         (__SNSECONDS_T_TYPE): Likewise.
57721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57723         * sysdeps/mach/hurd/bits/typesizes.h
57724         (__SYSCALL_SLONG_TYPE): New macro.
57725         (__SYSCALL_ULONG_TYPE): Likewise.
57727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57729         * bits/types.h (__syscall_slong_t): New type.
57730         (__syscall_ulong_t): Likewise.
57732         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57733         (__SYSCALL_ULONG_TYPE): Likewise.
57734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57735         (__SYSCALL_SLONG_TYPE): Likewise.
57736         (__SYSCALL_ULONG_TYPE): Likewise.
57737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57738         (__SYSCALL_SLONG_TYPE): Likewise.
57739         (__SYSCALL_ULONG_TYPE): Likewise.
57740         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57741         (__SYSCALL_SLONG_TYPE): Likewise.
57742         (__SYSCALL_ULONG_TYPE): Likewise.
57744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57746         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57747         Add sigaltstack-offsets.sym.
57748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57749         <sigaltstack-offsets.h>.
57750         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57751         longjmp_msg pointer.
57752         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57753         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57754         signal stack.
57755         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57759         * elf/stackguard-macros.h: Remove file.
57760         * sysdeps/generic/stackguard-macros.h: New file.
57761         * sysdeps/i386/stackguard-macros.h: Likewise.
57762         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57763         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57764         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57765         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57766         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57767         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57768         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57769         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57770         <elf/stackguard-macros.h>.
57772         [BZ #14109]
57773         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57774         __aligned__ in attribute.
57775         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57776         (gregset_t): Likewise.
57778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57780         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57781         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57782         * sysdeps/x86_64/x32/Implies-after: New file.
57784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57786         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57787         and access return value for _dl_profile_fixup.  Use R10_LP to
57788         load frame size.
57790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57792         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57796         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57797         * sysdeps/x86_64/x32/sysdep.h: New file.
57799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57801         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57802         * sysdeps/x86_64/setjmp.S: Likewise.
57804 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57806         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57807         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57808         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57809         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57810         remove unused global constant.
57812 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57814         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57815         include of <not-cancel.h>.
57817 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57819         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57821 2012-05-15  Jeff Law  <law@redhat.com>
57822             Andreas Jaeger  <aj@suse.de>
57824         [BZ #13594]
57825         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57826         out from...
57827         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57828         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57829         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57830         code changing __hst_map_handle.map.
57832 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57834         * configure.in (sysnames): Look for Implies-before and Implies-after
57835         files.
57836         * configure: Regenerated.
57838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57840         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57841         8-byte data alignment with LP_SIZE alignment.
57843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57846         into R10_LP.
57848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57850         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57854         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57855         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57857         Likewise.
57858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57862         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57863         (stackinfo_sub_sp): Likewise.
57865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57868         RAX_LP.
57870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57873         into R*_LP.
57875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57878         sizes into R*_LP.
57880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57882         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57886         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57887         into R11_LP and load __x86_64_shared_cache_size_half into
57888         R8_LP.
57890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57892         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57893         R8_LP.
57895 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57898         logb for POWER7.
57899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57900         logbf for POWER7.
57901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57902         logbl for POWER7.
57903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57904         powerpc32/power7/fpu/s_logb.c via #include.
57905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57906         powerpc32/power7/fpu/s_logbf.c via #include.
57907         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57908         powerpc32/power7/fpu/s_logbl.c via #include.
57910 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57912         * README.libm: Remove file.
57914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57916         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57917         count for x32.  Use R*_LP and omit operand-size suffix.
57919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57921         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57922         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57923         * sysdeps/x86_64/x32/shlib-versions: New file.
57925 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57927         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57928         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57929         Use _dl_fatal_printf instead.
57931 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57933         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57934         set if not set by the user.  Do not allow for being unset.
57935         * sysdeps/unix/sysv/linux/configure: Regenerated.
57937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57939         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57940         the `q' suffix from lea and replace .quad with ASM_ADDR.
57942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57945         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57946         instead of $17.
57947         (PTR_DEMANGLE): Likewise.
57949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57951         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57952         (LP_OP): Likewise.
57953         (ASM_ADDR): Likewise.
57954         (RAX_LP): Likewise.
57955         (RBP_LP): Likewise.
57956         (RBX_LP): Likewise.
57957         (RCX_LP): Likewise.
57958         (RDI_LP): Likewise.
57959         (RSI_LP): Likewise.
57960         (RSP_LP): Likewise.
57961         (R8_LP): Likewise.
57962         (R9_LP): Likewise.
57963         (R10_LP): Likewise.
57964         (R10_LP): Likewise.
57965         (R11_LP): Likewise.
57966         (R12_LP): Likewise.
57967         (R13_LP): Likewise.
57968         (R14_LP): Likewise.
57969         (R15_LP): Likewise.
57971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57973         * sysdeps/x86_64/x32/dl-machine.h: New file.
57975 2012-05-14  Andreas Jaeger  <aj@suse.de>
57977         * manual/Makefile (subdir): Remove export of subdir.
57978         (all): Remove target.
57979         (.PHONY): Remove all from list.
57980         (mkinstalldirs): Remove.
57981         (.PHONY): Remove installdirs from list.
57982         ($(inst_infodir)/libc.info): Use make-target-directory.
57983         (installdirs): Remove.
57984         (subdir_%): Remove.
57985         (glibc-targets): Remove.
57986         (lib): Remove.
57987         (stubs): Remove.
57988         ($(objpfx)stubs ../po/manual.pot): Remove.
57989         ($(objpfx)stamp%): Remove.
57990         (make-target-directory): Remove.
57991         (subdir_install): Remove.
57992         (routines): Remove.
57993         (aux): Remove.
57994         (sources): Remove.
57995         (objects): Remove.
57996         (headers): Remove.
57998         [BZ #13750]
57999         * manual/.gitignore: Remove, it's not needed anymore.
58000         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58001         all files in it.
58002         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58003         directory.
58004         (texis): Renamed to $(objpfx)texis.
58005         (texis-path): New, contains path to generated files.
58006         (chapters.%): Use texis-path for complete path, add extra argument
58007         libc-texinfo.sh.
58008         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58009         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58010         (summary,texi, stamp-summary): Use complete path of
58011         files. Generate files in build dir.
58012         (dir-add.texi): Build in build dir.
58013         (libm-err.texi,stamp-libm-err): Likewise.
58014         (version.texi, stamp-version): Likewise.
58015         (.%c.texi): Likewise.
58016         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58017         (mostlyclean): Remove target.
58018         (realclean): Remove target.
58019         (generated): Add new variable with contents from mostlyclean and
58020         realclean, remove entries duplicated in common-mostlyclean, add
58021         stamp-libm-err and stamp-version.
58022         (generated-dirs): Add libc directory.
58023         ($(inst_infodir)/libc.info): Install files from build dir.
58025         * manual/install.texi (Configuring and compiling): Adjust since
58026         the info files are not part of the tar ball anymore.
58028 2012-05-14  Andreas Jaeger  <aj@suse.de>
58030         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58031         variable.
58033 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58035         [BZ #13717]
58036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58037         to 2.2.0 where earlier.
58038         * sysdeps/unix/sysv/linux/configure: Regenerated.
58039         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58040         Remove conditional code.
58041         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58042         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58043         Remove conditional code.
58044         [!__NR_lchown]: Likewise.
58045         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58046         [__NR_lchown]: Likewise.
58047         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58048         comment referencing __ASSUME_LCHOWN_SYSCALL.
58049         * sysdeps/unix/sysv/linux/i386/sigaction.c
58050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58052         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58053         Remove conditional code.
58054         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58055         (__protocol_available): Remove #if 0 code.
58056         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58057         conditional code.
58058         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58059         * sysdeps/unix/sysv/linux/kernel-features.h
58060         (__ASSUME_GETCWD_SYSCALL): Don't define.
58061         (__ASSUME_REALTIME_SIGNALS): Likewise.
58062         (__ASSUME_PREAD_SYSCALL): Likewise.
58063         (__ASSUME_PWRITE_SYSCALL): Likewise.
58064         (__ASSUME_POLL_SYSCALL): Likewise.
58065         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58066         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58067         non-SPARC.
58068         (__ASSUME_SIOCGIFNAME): Don't define.
58069         (__ASSUME_MSG_NOSIGNAL): Likewise.
58070         (__ASSUME_SENDFILE): Define unconditionally.
58071         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58072         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58073         conditional code.
58074         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58075         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58076         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58077         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58078         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58079         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58080         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58097         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58103         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58105         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58106         Remove conditional code.
58107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58108         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58109         Remove conditional code.
58110         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58111         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58112         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58113         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58114         Remove conditional code.
58115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58116         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58117         Remove conditional code.
58118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58119         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58120         Remove conditional code.
58121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58122         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58123         Remove conditional code.
58124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58125         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58126         Remove conditional code.
58127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58128         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58131         * sysdeps/unix/sysv/linux/sigaction.c
58132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58134         * sysdeps/unix/sysv/linux/sigpending.c
58135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58137         * sysdeps/unix/sysv/linux/sigprocmask.c
58138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58140         * sysdeps/unix/sysv/linux/sigsuspend.c
58141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58143         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58144         (__libc_missing_rt_sigs): Remove.
58145         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58146         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58147         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58148         Remove conditional code.
58149         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58150         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58151         return 1.
58152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58153         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58154         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58155         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58157 2012-05-14  Andreas Jaeger  <aj@suse.de>
58159         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58160         it's not used in glibc.
58161         (__coshm1): Likewise.
58162         (__acosh1p): Likewise.
58163         (__sgn): Likewise.
58165         * manual/string.texi (Copying and Concatenation): Add missing
58166         variable in concat example.
58167         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58171         [BZ #14103]
58172         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58173         __builtin_clzl with __builtin_clzll.
58175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58177         [BZ #14104]
58178         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58179         libc_freeres_ptr.
58181 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58183         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58184         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58185         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58186         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58188 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58190         * NEWS: Update ia64 info.
58192 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58194         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58195         used as bcopy.
58197 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58199         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58200         * sysdeps/unix/syscalls.list (dup3): Likewise.
58201         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58202         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58204 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58206         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58207         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58209 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58211         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58212         thread pointer.
58213         (TLS_IE): Use mov/add instead of movq/addq to load thread
58214         pointer.
58215         (TLS_GD_PREFIX): New.
58216         (TLS_GD): Use it.
58218 2012-05-11  David S. Miller  <davem@davemloft.net>
58220         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58221         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58222         (_FPU_SETCW): Likewise.
58224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58226         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58227         is 32-byte aligned.
58229 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58231         [BZ #11837]
58232         * iconvdata/gb18030.c: Update tables.
58233         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58234         characters specially.
58235         (BODY for TO_LOOP): Add encoding of missing ranges.
58237 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58239         [BZ #13673]
58240         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58241         * sysdeps/mach/hurd/dup3.c: Likewise.
58242         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58243         * sysdeps/powerpc/memmove.c:: Likewise.
58245 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58248         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58252         * elf/elf.h (R_X86_64_RELATIVE64): New.
58253         (R_X86_64_NUM): Updated.
58254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58255         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58256         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58257         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58258         tst-quad1pie tst-quad2pie
58259         (modules-names): Add tst-quadmod1 tst-quadmod2.
58260         ($(objpfx)tst-quad1): New dependency.
58261         ($(objpfx)tst-quad2): Likewise.
58262         ($(objpfx)tst-quad1pie): Likewise.
58263         ($(objpfx)tst-quad2pie): Likewise.
58264         * sysdeps/x86_64/tst-quad1.c: New file.
58265         * sysdeps/x86_64/tst-quad1pie.c: New file.
58266         * sysdeps/x86_64/tst-quad2.c: Likewise.
58267         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58268         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58269         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58270         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58271         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58275         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58276         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58277         * streams/stropts.h (t_scalar_t): Define type.
58279         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58280         (_PATH_PRESERVE): Set to "/var/lib".
58281         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58283         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58284         instead of int.
58286         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58287         if __dir_mkfile succeeded.
58289         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58290         checking for _hurd_dtablesize.  Unlock it right after having
58291         finished _hurd_dtable allocation.
58293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58295         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58296         * sysdeps/mach/hurd/configure: Regenerated.
58297         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58298         special-casing to...
58299         * sysdeps/gnu/configure.in: ... this new file.
58300         * sysdeps/unix/sysv/linux/configure: Regenerated.
58301         * sysdeps/gnu/configure: New generated file.
58303         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58304         for Linux: use nsec instead of usec, as well as:
58305         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58306         members of type struct timespec.
58307         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58308         New macros.
58309         (struct stat64): Likewise.
58310         (_STATBUF_ST_NSEC): New macro.
58311         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58313         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58314         __strtoul_internal rather than strtoul.
58316 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58318         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58319         and reject them.
58321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58323         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58324         which preserves existing values.
58325         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58327 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58329         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58330         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58331         greater than FD_SETSIZE.
58333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58335         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58336         allocated, call __vm_protect to finish enabling the existing space, and
58337         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58338         allocate the remainder.
58340 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58342         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58343         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58347         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58348         sysdeps/mach/hurd/readlink.c.
58350         * posix/tst-sysconf.c (posix_options): Only use
58351         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58352         _POSIX_SYNCHRONIZED_IO when they are defined
58353         * sysdeps/mach/hurd/bits/posix_opt.h:
58354         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58355         (_XOPEN_REALTIME): Undefine macro.
58356         (_XOPEN_REALTIME_THREADS): Undefine macro.
58357         (_XOPEN_SHM): Undefine macro.
58358         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58359         macro to -1.
58360         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58361         macro to -1.
58362         (_POSIX_ASYNC_IO): Undefine macro.
58363         (_POSIX_PRIORITIZED_IO): Undefine macro.
58364         (_POSIX_SPIN_LOCKS): Define macro to -1.
58366         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58367         SA_NODEFER, SA_RESETHAND.
58368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58369         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58370         F_DUPFD_CLOEXEC.
58372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58374         * elf/Makefile (pldd-modules): Define unconditionally.
58376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58378         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58382         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58383         Return ENOENT when name is empty.
58384         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58388         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58390         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58394         Fix mlock in all cases except non-readable pages.
58395         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58396         instead of VM_PROT_ALL as parameter to __vm_wire function.
58398         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58399         (__mkdir): When path is `/', just fail with EEXIST.
58400         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58404         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58405         <sys/uio.h> (for writev).
58406         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58407         and <sys/param.h> (for MIN).
58409 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58411         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58412         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58413         if interrupted.
58415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58417         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58418         Depend on against $(link-rpcuserlibs).
58420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58422         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58423         (__libc_stack_end): Do not use attribute_relro.
58424         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58425         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58426         to libthread-provided value.
58427         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58428         attribute_relro.
58430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58432         [BZ #3748]
58433         * bits/libc-lock.h (__libc_once_get): New macro.
58434         * sysdeps/mach/bits/libc-lock.h: Likewise.
58435         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58437         instead of using implementation details.
58439         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58440         * libio/freopen.c: Likewise.
58441         * libio/freopen64.c: Likewise.
58442         * misc/syslog.c: Likewise.
58443         * nscd/connections.c: Likewise.
58444         * nscd/netgroupcache.c: Likewise.
58445         * sysdeps/posix/getcwd.c: Likewise.
58447 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58449         * math/w_ilogbf.c: Add #include <limits.h>.
58451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58453         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58454         path instead of returning without unlocking.
58456         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58457         immediate-write ioctls.
58458         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58462         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58463         __builtin_frame_address instead of making assumptions about the
58464         location of the return address relative to DATA.  Force early load of
58465         the return address.
58466         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58467         __builtin_frame_address.
58469         dup3 for GNU Hurd.
58470         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58471         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58472         implement dup3 and do some further code clean-ups.
58473         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58474         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58478         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58480         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58481         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58482         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58483         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58484         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58485         d->port.lock.
58487         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58488         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58489         when handler == SIG_ERR, not when handler != SIG_ERR.
58491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58493         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58494         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58495         definitions.
58497         accept4 for GNU Hurd.
58498         * include/sys/socket.h (__libc_accept4): New prototype.
58499         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58500         to implement __libc_accept4.
58501         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58502         __libc_accept4.
58503         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58505         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58506         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58507         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58508         signal-defines.sym.
58510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58512         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58516         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58517         assertion on O_CLOEXEC flag.
58518         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58519         * hurd/intern-fd.c: Likewise.
58520         * hurd/port2fd.c: Likewise.
58522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58524         [BZ #3906]
58525         * bits/in.h (IPV6_PKTINFO): Define new macro.
58526         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58528 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58530         [BZ #13954]
58531         [BZ #13955]
58532         [BZ #13956]
58533         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58535         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58536         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58538         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58539         * math/libm-test.inc (logb_test) : Additional logb tests.
58541 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58542             Andreas Jaeger  <aj@suse.de>
58544         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58545         * configure: Regenerated.
58546         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58547         * config.make.in (link-obsolete-rpc): New substituted variable.
58548         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58549         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58550         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58551         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58552         so that libc.a contains the symbols.
58553         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58554         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58555         * sunrpc/auth_none.c: Likewise.
58556         * sunrpc/auth_unix.c: Likewise.
58557         * sunrpc/authdes_prot.c: Likewise.
58558         * sunrpc/authuxprot.c: Likewise.
58559         * sunrpc/clnt_gen.c: Likewise.
58560         * sunrpc/clnt_perr.c: Likewise.
58561         * sunrpc/clnt_raw.c: Likewise.
58562         * sunrpc/clnt_simp.c: Likewise.
58563         * sunrpc/clnt_tcp.c: Likewise.
58564         * sunrpc/clnt_udp.c: Likewise.
58565         * sunrpc/clnt_unix.c: Likewise.
58566         * sunrpc/des_crypt.c: Likewise.
58567         * sunrpc/des_soft.c: Likewise.
58568         * sunrpc/get_myaddr.c: Likewise.
58569         * sunrpc/key_call.c: Likewise.
58570         * sunrpc/key_prot.c: Likewise.
58571         * sunrpc/netname.c: Likewise.
58572         * sunrpc/pm_getmaps.c: Likewise.
58573         * sunrpc/pm_getport.c: Likewise.
58574         * sunrpc/pmap_clnt.c: Likewise.
58575         * sunrpc/pmap_prot.c: Likewise.
58576         * sunrpc/pmap_prot2.c: Likewise.
58577         * sunrpc/pmap_rmt.c: Likewise.
58578         * sunrpc/publickey.c: Likewise.
58579         * sunrpc/rpc_cmsg.c: Likewise.
58580         * sunrpc/rpc_common.c: Likewise.
58581         * sunrpc/rpc_dtable.c: Likewise.
58582         * sunrpc/rpc_prot.c: Likewise.
58583         * sunrpc/rpc_thread.c: Likewise.
58584         * sunrpc/rtime.c: Likewise.
58585         * sunrpc/svc.c: Likewise.
58586         * sunrpc/svc_auth.c: Likewise.
58587         * sunrpc/svc_raw.c: Likewise.
58588         * sunrpc/svc_run.c: Likewise.
58589         * sunrpc/svc_tcp.c: Likewise.
58590         * sunrpc/svc_udp.c: Likewise.
58591         * sunrpc/svc_unix.c: Likewise.
58592         * sunrpc/svcauth_des.c: Likewise.
58593         * sunrpc/xcrypt.c: Likewise.
58594         * sunrpc/xdr.c: Likewise.
58595         * sunrpc/xdr_array.c: Likewise.
58596         * sunrpc/xdr_float.c: Likewise.
58597         * sunrpc/xdr_intXX_t.c: Likewise.
58598         * sunrpc/xdr_mem.c: Likewise.
58599         * sunrpc/xdr_rec.c: Likewise.
58600         * sunrpc/xdr_ref.c: Likewise.
58601         * sunrpc/xdr_sizeof.c: Likewise.
58602         * sunrpc/xdr_stdio.c: Likewise.
58604 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58607         change.  Update copyright years.
58609 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58611         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58613 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58614             Joseph Myers  <joseph@codesourcery.com>
58615             Paul Pluzhnikov  <ppluzhnikov@google.com>
58617         [BZ #14012]
58618         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58619         requiring rpcgen.
58620         [cross-compiling] (extra-libs): Likewise.
58621         [cross-compiling] (extra-libs-others): Likewise.
58622         [cross-compiling] (librpcsvc-routines): Likewise.
58623         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58624         [cross-compiling] (omit-deps): Likewise.
58625         (sunrpc-CPPFLAGS): New variable.
58626         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58627         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58628         (cross-rpcgen-objs): New variable.
58629         (extra-objs): Append $(cross-rpcgen-objs).
58630         ($(cross-rpcgen-objs)): New rule.
58631         ($(objpfx)cross-rpcgen): Likewise.
58632         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58633         comment.
58634         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58635         ($(objpfx)x%.stmp): Likewise.
58636         * sunrpc/proto.h [IS_IN_build] (_): Define.
58637         [IS_IN_build] (_libc_intl_domainname): Likewise.
58639 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58642         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58643         and R_X86_64_TPOFF64.
58645 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58647         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58648         sysdeps/unix/sysv/syscalls.list.
58649         (stime): Likewise.
58650         (utime): Likewise.
58651         * sysdeps/unix/sysv/syscalls.list: Remove file.
58653 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58655         [BZ #3440]
58656         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58657         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58658         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58659         (__LC_IDENTIFICATION): Make these macros useful in #if
58660         expressions, as required by C99.
58662 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58664         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58665         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58666         after this.
58668 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58670         * stdlib/longlong.h: Updated from GCC.
58672 2012-05-09  Andreas Jaeger  <aj@suse.de>
58674         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58675         default is first entry.
58676         (run_mode): Set type.
58677         (main): Remove informal message about syslog.
58678         (options): Fix typo.
58680         [BZ #14053]
58681         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58682         to asm.
58683         (lrint): Likewise.
58684         (llrintf): Likewise.
58685         (llrint): Likewise.
58686         (rint): Likewise.
58687         (rintf): Likewise.
58688         (nearbyint): Likewise.
58689         (nearbyintf): Likewise.
58691 2012-05-09  Andreas Jaeger  <aj@suse.de>
58692             Pedro Alves  <palves@redhat.com>
58694         * nscd/nscd.c (run_mode): Use enum.
58695         (main): Cleanup coding style issue.
58697 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58698             Andreas Jaeger  <aj@suse.de>
58700         * nscd/nscd.c (go_background): Replaced with...
58701         (run_mode): ... this.
58702         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58703         (options): Add -F --foreground.
58704         (main): Implement it.
58705         (parse_opt): Parse it.
58707 2012-05-09  Andreas Jaeger  <aj@suse.de>
58709         [BZ #14083]
58710         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58711         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58712         -Wconversion warning.
58713         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58714         Likewise.
58716 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58718         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58719         == 0.
58720         (LC_ALL): Use macro-int-constant.
58721         (LC_COLLATE): Likewise.
58722         (LC_CTYPE): Likewise.
58723         (LC_MESSAGES): Likewise.
58724         (LC_MONETARY): Likewise.
58725         (LC_NUMERIC): Likewise.
58726         (LC_TIME): Likewise.
58727         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58728         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58730         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58731         Specify type.
58732         [C99-based standards] (float_t): Expect type.
58733         [C99-based standards] (double_t): Expect type.
58734         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58735         type.
58736         [C99-based standards] (HUGE_VALL): Likewise.
58737         [C99-based standards] (INFINITY): Likewise.
58738         [C99-based standards] (NAN): Likewise.
58739         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58740         [C99-based standards] (FP_NAN): Likewise.
58741         [C99-based standards] (FP_NORMAL): Likewise.
58742         [C99-based standards] (FP_SUBNORMAL): Likewise.
58743         [C99-based standards] (FP_ZERO): Likewise.
58744         [C99-based standards] (FP_FAST_FMA): Use
58745         optional-macro-int-constant.  Specify type.  Require == 1.
58746         [C99-based standards] (FP_FAST_FMAF): Likewise.
58747         [C99-based standards] (FP_FAST_FMAL): Likewise.
58748         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58749         [C99-based standards] (FP_ILOGBNAN): Likewise.
58750         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58751         Specify type.
58752         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58753         [C99-based standards] (math_errhandling): Specify type.
58754         [ISO99 || ISO11] (signgam): Do not allow.
58755         [non-C99-based standards] (copysignf): Do not allow.
58756         [non-C99-based standards] (exp2f): Likewise.
58757         [non-C99-based standards] (log2f): Likewise.
58758         [non-C99-based standards] (modff): Allow.
58759         [non-C99-based standards] (erff): Do not allow.
58760         [non-C99-based standards] (erfcf): Likewise.
58761         [non-C99-based standards] (gammaf): Likewise.
58762         [non-C99-based standards] (hypotf): Likewise.
58763         [non-C99-based standards] (j0f): Likewise.
58764         [non-C99-based standards] (j1f): Likewise.
58765         [non-C99-based standards] (jnf): Likewise.
58766         [non-C99-based standards] (lgammaf): Likewise.
58767         [non-C99-based standards] (tgammaf): Likewise.
58768         [non-C99-based standards] (y0f): Likewise.
58769         [non-C99-based standards] (y1f): Likewise.
58770         [non-C99-based standards] (ynf): Likewise.
58771         [non-C99-based standards] (isnanf): Likewise.
58772         [non-C99-based standards] (acoshf): Likewise.
58773         [non-C99-based standards] (asinhf): Likewise.
58774         [non-C99-based standards] (atanhf): Likewise.
58775         [non-C99-based standards] (cbrtf): Likewise.
58776         [non-C99-based standards] (expm1f): Likewise.
58777         [non-C99-based standards] (ilogbf): Likewise.
58778         [non-C99-based standards] (log1pf): Likewise.
58779         [non-C99-based standards] (logbf): Likewise.
58780         [non-C99-based standards] (nextafterf): Likewise.
58781         [non-C99-based standards] (remainderf): Likewise.
58782         [non-C99-based standards] (rintf): Likewise.
58783         [non-C99-based standards] (scalbf): Likewise.
58784         [non-C99-based standards] (copysignl): Likewise.
58785         [non-C99-based standards] (exp2l): Likewise.
58786         [non-C99-based standards] (log2l): Likewise.
58787         [non-C99-based standards] (modfl): Allow.
58788         [non-C99-based standards] (erfl): Do not allow.
58789         [non-C99-based standards] (erfcl): Likewise.
58790         [non-C99-based standards] (gammal): Likewise.
58791         [non-C99-based standards] (hypotl): Likewise.
58792         [non-C99-based standards] (j0l): Likewise.
58793         [non-C99-based standards] (j1l): Likewise.
58794         [non-C99-based standards] (jnl): Likewise.
58795         [non-C99-based standards] (lgammal): Likewise.
58796         [non-C99-based standards] (tgammal): Likewise.
58797         [non-C99-based standards] (y0l): Likewise.
58798         [non-C99-based standards] (y1l): Likewise.
58799         [non-C99-based standards] (ynl): Likewise.
58800         [non-C99-based standards] (isnanl): Likewise.
58801         [non-C99-based standards] (acoshl): Likewise.
58802         [non-C99-based standards] (asinhl): Likewise.
58803         [non-C99-based standards] (atanhl): Likewise.
58804         [non-C99-based standards] (cbrtl): Likewise.
58805         [non-C99-based standards] (expm1l): Likewise.
58806         [non-C99-based standards] (ilogbl): Likewise.
58807         [non-C99-based standards] (log1pl): Likewise.
58808         [non-C99-based standards] (logbl): Likewise.
58809         [non-C99-based standards] (nextafterl): Likewise.
58810         [non-C99-based standards] (remainderl): Likewise.
58811         [non-C99-based standards] (rintl): Likewise.
58812         [non-C99-based standards] (scalbl): Likewise.
58813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58814         [non-C99-based standards] (FP_*): Do not allow.
58815         [C99-based standards] (FP_*): Change to
58816         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58817         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58818         allow.
58819         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58820         (SIG_ERR): Likewise.
58821         [X/Open-based standards] (SIG_HOLD): Likewise.
58822         (SIG_IGN): Likewise.
58823         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58824         positive value.
58825         (SIGFPE): Likewise.
58826         (SIGILL): Likewise.
58827         (SIGINT): Likewise.
58828         (SIGSEGV): Likewise.
58829         (SIGTER): Likewise.
58830         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58831         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58832         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58833         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58834         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58835         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58836         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58837         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58838         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58839         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58840         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58841         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58842         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58843         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58844         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58845         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58846         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58847         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58848         [X/Open-based standards] (SIGTRAP): Likewise.
58849         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58850         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58851         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58852         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58853         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58854         allow.
58856 2012-05-08  Ian Wienand  <ianw@vmware.com>
58858         [BZ #14080]
58859         * time/tzset.c (__tzset_parse_tz): Update default rules for
58860         daylight time changes in the Energy Policy Act of 2005.
58862 2012-05-09  Andreas Jaeger  <aj@suse.de>
58864         [BZ #13983]
58865         * elf/ldconfig.c (parse_conf): Change string to make clear that
58866         ldconfig only issued a warning if ld.so.conf does not exist.
58868 2012-05-08  David S. Miller  <davem@davemloft.net>
58870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58871         movxtod instead of popping the value on the stack.
58873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58875 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58877         * config.h.in: Add HAVE_ARM_PCS_VFP.
58879 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58881         [BZ #13979]
58882         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58883         checking but the checks are disabled for any reason.
58885 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58887         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58888         and ELF64_R_TYPE with ELFW(R_TYPE).
58890 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58892         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58893         (ulimit): Likewise.
58895         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58896         (settimeofday): Likewise.
58898 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58900         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58901         a struct th_u2 inside the union, and move tu_block/tu_code into
58902         a new th_u3 union of tu_block/tu_code inside of that.  Move
58903         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58904         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58905         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58906         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58907         (th_stuff): Change to th_u1.tu_stuff.
58908         (th_data): Define.
58909         (th_msg): Change to th_u1.th_u2.tu_data.
58911 2012-05-07  David S. Miller  <davem@davemloft.net>
58913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58915         [BZ #14074]
58916         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58917         (SETUP_PIC_REG): Use it.
58918         (SETUP_PIC_REG_LEAF): Use it.
58920 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58922         [BZ #13885]
58923         [BZ #13923]
58924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58925         USE_AS_EXPM1L.
58926         (EXPL_FINITE): Likewise.
58927         (FLDLOG): Likewise.
58928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58929         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58930         e_expl.S.
58931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58932         USE_AS_EXPM1L.
58933         (EXPL_FINITE): Likewise.
58934         (FLDLOG): Likewise.
58935         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58936         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58937         e_expl.S.
58938         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58939         test of -max_value argument for long double.
58940         * sysdeps/i386/fpu/libm-test-ulps: Update.
58941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58943 2012-05-06  David S. Miller  <davem@davemloft.net>
58945         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58946         quad soft-float symbols whose references which are compiler
58947         generated.
58948         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58950 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58952         [BZ #13884]
58953         [BZ #13914]
58954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58955         USE_AS_EXP10L.
58956         (EXPL_FINITE): Likewise.
58957         (FLDLOG): Likewise.
58958         (c0): Likewise.
58959         (c1): Likewise.
58960         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58961         Adjust comments for base varying.
58962         (__expl_finite): Change alias to EXPL_FINITE.
58963         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58964         e_expl.S.
58965         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58966         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58967         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58968         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58970         USE_AS_EXP10L.
58971         (EXPL_FINITE): Likewise.
58972         (FLDLOG): Likewise.
58973         (c0): Likewise.
58974         (c1): Likewise.
58975         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58976         Adjust comments for base varying.
58977         (__expl_finite): Change alias to EXPL_FINITE.
58978         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58979         tests for bugs.
58980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58982         [BZ #14064]
58983         * math/libm-test.inc (check_float_internal): Correct ulp
58984         calculation for subnormal expected results.
58986 2012-05-06  Andreas Jaeger  <aj@suse.de>
58988         * Makeconfig (+math-flags): New, set to -frounding-math.
58989         (+cflags): Add +math-flags so that all of glibc gets compiled with
58990         it.
58992         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58994 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58996         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58997         Disable one test.
58999         [BZ #13787]
59000         [BZ #13922]
59001         [BZ #14036]
59002         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59003         (__ieee754_expl): Allow for and saturate large arguments.
59004         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59005         (u_threshold): Likewise.
59006         (__exp): Call __ieee754_exp before checking for overflow and
59007         underflow.
59008         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59009         (u_threshold): Likewise.
59010         (__expf): Call __ieee754_expf before checking for overflow and
59011         underflow.
59012         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59013         (u_threshold): Likewise.
59014         (__expl): Call __ieee754_expl before checking for overflow and
59015         underflow.
59016         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59017         (__ieee754_expl): Allow for and saturate large arguments.
59018         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59019         missing overflow exception on overflow.
59020         (expm1_test): Do not allow missing overflow exception on overflow.
59022         * sysdeps/i386/fpu/e_expl.c: Move to ...
59023         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59024         rather than using inline asm.
59025         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59026         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59027         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59029         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59030         (nice): Likewise.
59031         (poll): Likewise.
59032         (signal): Likewise.
59033         (time): Likewise.
59034         (times): Likewise.
59036 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59038         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59039         sysdeps/unix/common/syscalls.list.
59040         (fchmod): Likewise.
59041         (fchown): Likewise.
59042         (ftruncate): Likewise.
59043         (getrusage): Likewise.
59044         (gettimeofday): Likewise.
59045         (setpgid): Likewise.
59046         (setregid): Likewise.
59047         (setreuid): Likewise.
59048         (sigaction): Likewise.
59049         (truncate): Likewise.
59050         (vhangup): Likewise.
59051         * sysdeps/unix/common/syscalls.list: Remove file.
59052         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59053         * sysdeps/unix/sysv/linux/Implies: Likewise.
59055 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59057         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59059         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59060         Moved to ...
59061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59062         Here.
59063         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59064         to ...
59065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59066         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59067         to ...
59068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59069         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59070         to ...
59071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59072         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59073         to ...
59074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59075         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59076         to ...
59077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59078         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59079         to ...
59080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59081         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59082         to ...
59083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59084         Here.
59085         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59086         to ...
59087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59088         Here.
59089         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59090         to ...
59091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59092         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59093         Moved to ...
59094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59095         Here.
59096         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59097         to ...
59098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59100 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59102         * sysdeps/unix/common/bits/dirent.h: Remove file.
59103         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59105         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59106         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59107         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59108         * sysdeps/unix/bsd/isatty.c: Likewise.
59109         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59110         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59111         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59113 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59115         [BZ #13563]
59116         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59117         long double comparison inaccuracies.
59118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59121 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59123         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59124         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59128         [BZ #14049]
59129         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59130         nonzero digits before rounding a hex value.
59131         * stdlib/tst-strtod.c (tests): Add another test.
59133 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59135         * sysdeps/s390/fpu/libm-test-ulps: Update.
59137 2012-05-03  Andreas Jaeger  <aj@suse.de>
59139         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59140         does not get optimized out.
59141         (malloc_opt_barrier): New.
59143 2012-05-03  Andreas Jaeger  <aj@suse.de>
59144             Roland McGrath  <roland@hack.frob.com>
59146         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59147         intermediate file deletion.
59148         (generated): Add .symlist files.
59150 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59152         [BZ #13775]
59153         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59154         Redirect under this condition.
59155         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59156         [__USE_GNU] (__dprintf_chk): Not under this condition.
59157         [__USE_GNU] (__vdprintf_chk): Likewise.
59158         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59159         under this condition.
59160         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59161         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59162         [__USE_XOPEN2K8] (vdprintf): Likewise.
59163         [__USE_GNU] (__dprintf_chk): Not under this condition.
59164         [__USE_GNU] (__vdprintf_chk): Likewise.
59165         [__USE_GNU] (dprintf): Likewise.
59166         [__USE_GNU] (vdprintf): Likewise.
59168 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59170         * elf/Makefile (common-generated): Set this instead of generated for
59171         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59172         $(all-built-dso)-derived lists.
59174 2012-05-03  Andreas Jaeger  <aj@suse.de>
59176         * sysdeps/i386/fpu/libm-test-ulps: Update.
59178         * FAQ: Removed.
59179         * FAQ.in: Likewise.
59180         * scripts/gen-FAQ.pl: Likewise.
59181         * manual/install.texi (Installation): Point to online location of
59182         FAQ.
59183         * Makefile (files-for-dist): Remove FAQ.
59184         (FAQ): Remove.
59186 2012-05-02  Allan McRae  <allan@archlinux.org>
59188         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59189         (LDFLAGS-reldepmod5.so): Likewise.
59190         (LDFLAGS-reldep6mod1.so): Likewise.
59191         (LDFLAGS-reldep6mod4.so): Likewise.
59192         (LDFLAGS-reldep8mod3.so): Likewise.
59193         (LDFLAGS-unload4mod1.so): Likewise.
59194         (LDFLAGS-unload4mod2.so): Likewise.
59195         (LDFLAGS-tst-initorder): Likewise.
59196         (LDFLAGS-tst-initordera2.so): Likewise.
59197         (LDFLAGS-tst-initordera3.so): Likewise.
59198         (LDFLAGS-tst-initordera4.so): Likewise.
59199         (LDFLAGS-tst-initorderb2.so): Likewise.
59200         (LDFLAGS-noload): Likewise.
59201         (LDFLAGS-next): Likewise.
59202         (LDFLAGS-order2mod1.so): Likewise.
59203         (LDFLAGS-order2mod2.so): Likewise.
59204         (LDFLAGS-tst-initorder2): Likewise.
59205         (LDFLAGS-tst-initorder2a.so): Likewise.
59206         (LDFLAGS-tst-initorder2b.so): Likewise.
59207         (LDFLAGS-tst-initorder2c.so): Likewise.
59208         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59210 2012-05-02  David S. Miller  <davem@davemloft.net>
59212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59214 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59216         [BZ #14055]
59217         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59219 2012-05-02  Andreas Jaeger  <aj@suse.de>
59221         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59222         since we manipulate rounding mode.
59223         (CPPFLAGS-test-idouble.c): Likewise.
59224         (CPPFLAGS-test-ifloat.c): Likewise.
59225         (CFLAGS-test-ldouble.c): Likewise.
59226         (CFLAGS-test-double.c): Likewise.
59227         (CFLAGS-test-float.c): Likewise.
59228         (CFLAGS-test-misc.c): Likewise.
59229         (CFLAGS-test-test-fenv.c): Likewise.
59231 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59233         [BZ #2550]
59234         [BZ #2570]
59235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59236         comparisons to determine direction to adjust input.
59238 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59240         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59241         output to the target.
59243         * scripts/localplt.awk: New file.
59244         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59245         (check-localplt-CFLAGS): Variable removed.
59246         ($(all-built-dso:=.jmprel)): New static pattern rule.
59247         (generated): Add those targets.
59248         (localplt-built-dso): New variable.
59249         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59251         * elf/check-localplt.c: File removed.
59253         * scripts/check-execstack.awk: New file.
59254         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59255         (check-execstack-CFLAGS): Variable removed.
59256         ($(objpfx)check-execstack.h): Target removed.
59257         ($(objpfx)execstack-default): New target.
59258         (generated): Add that instead of check-execstack.h.
59259         ($(all-built-dso:=.phdr)): New static pattern rule.
59260         (generated): Add those targets.
59261         * elf/check-execstack.c: File removed.
59263         * scripts/check-textrel.awk: New file.
59264         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59265         (check-textrel-CFLAGS): Variable removed.
59266         (all-built-dso): Use := to define.o
59267         ($(all-built-dso:=.dyn)): New static pattern rule.
59268         (generated): Add those targets.
59269         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59270         * config.make.in (READELF): New substituted variable.
59271         * elf/check-textrel.c: File removed.
59273 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59275         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59276         allow.
59277         * conform/data/ctype.h-data [C99-based standards] (isblank):
59278         Expect function.
59279         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59280         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59282         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59283         Specify type.  Require positive value.
59284         (EILSEQ): Likewise.
59285         (ERANGE): Likewise.
59286         [ISO || POSIX] (EILSEQ): Do not expect.
59287         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59288         Specify type.  Require positive value.
59289         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59290         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59291         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59292         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59293         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59294         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59295         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59296         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59297         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59298         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59299         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59300         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59301         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59302         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59303         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59304         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59305         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59306         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59307         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59308         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59309         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59310         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59311         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59312         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59313         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59314         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59315         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59316         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59317         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59318         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59319         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59320         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59321         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59322         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59323         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59324         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59325         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59326         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59327         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59328         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59329         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59330         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59331         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59332         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59333         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59334         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59335         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59336         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59337         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59338         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59339         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59340         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59341         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59342         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59343         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59344         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59345         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59346         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59347         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59348         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59349         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59350         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59351         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59352         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59353         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59354         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59355         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59356         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59357         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59358         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59359         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59360         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59361         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59362         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59363         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59364         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59365         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59366         Require >= 2.
59367         (FLT_ROUNDS): Expect as macro, not constant.
59368         (FLT_MANT_DIG): Use macro-int-constant.
59369         (DBL_MANT_DIG): Likewise.
59370         (LDBL_MANT_DIG): Likewise.
59371         (FLT_DIG): Likewise.
59372         (DBL_DIG): Likewise.
59373         (LDBL_DIG): Likewise.
59374         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59375         (DBL_MIN_EXP): Likewise.
59376         (LDBL_MIN_EXP): Likewise.
59377         (FLT_MAX_EXP): Use macro-int-constant.
59378         (DBL_MAX_EXP): Likewise.
59379         (LDBL_MAX_EXP): Likewise.
59380         (FLT_MAX_10_EXP): Likewise.
59381         (DBL_MAX_10_EXP): Likewise.
59382         (LDBL_MAX_10_EXP): Likewise.
59383         (FLT_MAX): Use macro-constant.
59384         (DBL_MAX): Likewise.
59385         (LDBL_MAX): Likewise.
59386         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59387         (DBL_EPSILON): Likewise.
59388         (LDBL_EPSILON): Likewise.
59389         (FLT_MIN): Likewise.
59390         (DBL_MIN): Likewise.
59391         (LDBL_MIN): Likewise.
59392         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59393         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59394         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59395         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59396         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59397         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59398         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59399         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59400         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59401         [ISO11] (FLT_TRUE_MIN): Likewise.
59402         [ISO11] (LDBL_TRUE_MIN): Likewise.
59403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59404         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59405         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59406         (SCHAR_MAX): Likewise.
59407         (UCHAR_MAX): Likewise.
59408         (CHAR_MIN): Likewise.
59409         (CHAR_MAX): Likewise.
59410         (MB_LEN_MAX): Use macro-int-constant.
59411         (SHRT_MIN): Use macro-int-constant.  Specify type.
59412         (SHRT_MAX): Likewise.
59413         (USHRT_MAX): Likewise.
59414         (INT_MAX): Likewise.
59415         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59416         bound negative.
59417         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59418         bound with "U".
59419         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59420         bound with "L".
59421         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59422         bound negative.  Suffix upper bound with "L".
59423         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59424         bound with "UL".
59425         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59426         Specify type.
59427         [C99-based standards] (LLONG_MAX): Likewise.
59428         [C99-based standards] (ULLONG_MAX): Likewise.
59429         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59430         == 0.
59431         [ISO11] (max_align_t): Require type.
59432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59434         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59435         from $CFLAGS, without defining away __attribute__ calls.
59436         (checknamespace): Use $CFLAGS_namespace.
59438         * conform/conformtest.pl (@keywords): Only include C99 keywords
59439         for standards based on C99 or C11.
59441         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59442         Disable tests.
59443         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59444         UNIX98]: Likewise.
59446         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59447         usability of symbols in #if.
59449         * conform/conformtest.pl: If macro or constant types start
59450         "promoted:", expect the symbol to be of the following type
59451         promoted by the integer promotions.
59453         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59454         in one place.  Also handle "macro-constant".
59456         * conform/conformtest.pl: Only accept expected macro values with
59457         "==".  Parse all "macro" lines in one place.
59458         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59460         * conform/conformtest.pl: Handle braced types on "constant" lines
59461         instead of handling "typed-constant".
59462         * conform/data/signal.h-data: Use "constant" instead of
59463         "typed-constant".
59465         * conform/conformtest.pl: Handle "optional-" at start of lines in
59466         one place rather than duplicating several cases.  Handle each
59467         format of "macro" line with initial "optional-".
59469         * conform/conformtest.pl: Only accept expected constant or
59470         optional-constant values with "==".  Parse all "constant" lines in
59471         one place.  Parse all "optional-constant" lines in one place.
59472         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59473         * conform/data/fmtmsg.h-data: Likewise.
59474         * conform/data/netinet/in.h-data: Likewise.
59475         * conform/data/tar.h-data: Likewise.
59476         * conform/data/limits.h-data: Use "==" form on "constant" and
59477         "optional-constant" lines.
59479         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59480         Use -std=c99 for XOPEN2K.
59481         (@knownproblems): Remove.
59482         (newtoken): Don't check %isknown.
59484         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59485         Do not expect macro.
59486         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59487         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59488         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59489         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59490         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59491         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59492         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59493         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59494         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59495         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59496         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59497         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59498         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59499         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59500         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59501         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59502         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59503         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59504         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59505         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59506         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59507         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59508         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59509         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59510         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59511         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59512         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59513         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59514         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59515         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59516         [XPG3] (acosh): Likewise.
59517         [XPG3] (asinh): Likewise.
59518         [XPG3] (atanh): Likewise.
59519         [XPG3] (cbrt): Likewise.
59520         [XPG3] (expm1): Likewise.
59521         [XPG3] (ilogb): Likewise.
59522         [XPG3] (log1p): Likewise.
59523         [XPG3] (logb): Likewise.
59524         [XPG3] (nextafter): Likewise.
59525         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59526         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59527         [XPG3] (remainder): Likewise.
59528         [XPG3] (rint): Likewise.
59529         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59530         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59531         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59532         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59533         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59534         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59535         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59536         [UNIX98 || XOPEN2K] (scalb): Expect.
59537         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59538         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59539         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59540         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59541         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59542         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59543         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59544         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59545         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59546         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59547         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59548         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59549         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59550         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59551         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59552         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59553         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59554         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59555         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59556         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59557         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59558         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59559         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59560         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59561         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59562         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59563         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59564         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59565         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59566         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59567         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59568         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59569         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59570         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59571         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59572         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59573         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59574         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59575         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59576         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59577         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59578         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59579         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59580         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59581         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59582         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59583         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59584         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59585         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59586         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59587         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59588         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59589         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59590         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59591         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59592         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59593         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59594         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59595         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59596         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59597         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59598         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59599         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59600         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59601         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59602         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59603         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59604         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59605         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59606         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59607         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59608         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59609         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59610         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59611         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59612         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59613         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59614         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59615         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59616         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59617         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59618         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59619         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59620         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59621         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59622         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59623         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59624         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59625         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59626         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59627         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59628         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59629         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59630         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59631         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59632         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59633         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59634         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59635         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59636         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59637         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59638         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59639         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59640         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59641         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59642         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59643         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59644         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59645         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59646         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59647         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59648         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59649         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59650         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59651         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59652         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59653         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59654         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59655         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59656         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59657         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59658         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59659         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59660         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59661         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59662         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59663         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59664         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59665         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59666         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59667         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59668         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59669         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59670         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59671         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59672         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59673         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59675         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59676         _XOPEN_SOURCE_EXTENDED for XPG4.
59678         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59680         * Makeconfig (localtime): Remove variable.
59681         (inst_localtime-file): Likewise.
59683 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59686         Update.
59687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59688         Update.
59689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59690         Update.
59691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59692         Update.
59693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59694         Update.
59695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59696         Update.
59697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59698         Update.
59699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59700         Update.
59701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59702         Update.
59704 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59706         [BZ #2550]
59707         [BZ #2570]
59708         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59709         comparisons to determine direction to adjust input.
59710         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59711         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59713         Likewise.
59714         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59715         Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59717         Likewise.
59718         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59719         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59720         Likewise.
59721         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59722         Likewise.
59723         * math/libm-test.inc (nexttoward_test): Add more tests.
59725 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59727         [BZ #14040]
59728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59729         in version GLIBC_2.1, not GLIBC_2.0.
59730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59731         Likewise.
59733 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59735         [BZ #13942]
59736         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59737         (1 - x) * (1 + x).
59738         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59739         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59740         * math/libm-test.inc (acos_test): Add more tests.
59741         (asin_test): Likewise.
59742         * sysdeps/i386/fpu/libm-test-ulps: Update.
59743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59745         [BZ #14034]
59746         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59747         of square root.
59748         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59749         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59750         * math/libm-test.inc (acos_test_tonearest): New function.
59751         (acos_test_towardzero): Likewise.
59752         (acos_test_downward): Likewise.
59753         (acos_test_upward): Likewise.
59754         (asin_test_tonearest): Likewise.
59755         (asin_test_towardzero): Likewise.
59756         (asin_test_downward): Likewise.
59757         (asin_test_upward): Likewise.
59758         (main): Call the new functions.
59759         * sysdeps/i386/fpu/libm-test-ulps: Update.
59760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59762         [BZ #13884]
59763         [BZ #13924]
59764         * math/e_exp10.c: Include <float.h>.
59765         (__ieee754_exp10): Handle underflow here rather than multiplying
59766         large negative argument by M_LN10.
59767         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59768         of __ieee754_expf.
59769         * math/e_exp10l.c: Include <float.h>.
59770         (__ieee754_exp10l): Handle underflow here rather than multiplying
59771         large negative argument by M_LN10l.
59772         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59773         spurious overflow exception on underflow.
59775 2012-04-29  Marek Polacek  <polacek@redhat.com>
59777         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59778         (__fortify_function): New macro.
59779         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59780         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59781         __extern_always_inline.
59782         * libio/bits/stdio2.h: Likewise.
59783         * libio/bits/stdio.h: Likewise.
59784         * string/string.h: Likewise.
59785         * string/bits/string3.h: Likewise.
59786         * include/stdio.h: Likewise.
59787         * stdlib/bits/stdlib.h: Likewise.
59788         * stdlib/stdlib.h: Likewise.
59789         * rt/bits/mqueue2.h: Likewise.
59790         * rt/mqueue.h: Likewise.
59791         * posix/bits/unistd.h: Likewise.
59792         * posix/unistd.h: Likewise.
59793         * io/bits/poll2.h: Likewise.
59794         * io/bits/fcntl2.h: Likewise.
59795         * io/fcntl.h: Likewise.
59796         * io/sys/poll.h: Likewise.
59797         * misc/bits/syslog.h: Likewise.
59798         * misc/bits/syslog-ldbl.h: Likewise.
59799         * misc/sys/syslog.h: Likewise.
59800         * socket/bits/socket2.h: Likewise.
59801         * socket/sys/socket.h: Likewise.
59802         * debug/tst-chk1.c: Likewise.
59803         * wcsmbs/bits/wchar2.h: Likewise.
59804         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59805         * wcsmbs/wchar.h: Likewise.
59807 2012-04-29  Andreas Jaeger  <aj@suse.de>
59809         * Makerules (tests): Remove enable-check-abi protection.
59810         (check-abi-warn): Remove.
59811         (check-abi-%): Remove check-abi-warn usage.
59813         * configure.in: Remove check-abi configure option.
59814         * configure: Regenerated.
59815         * config.make.in (enable-check-abi): Remove.
59817 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59819         [BZ #14033]
59820         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59821         double functions to double *_finite functions.
59823         [BZ #13941]
59824         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59825         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59826         LDBL_MIN_EXP.
59827         * stdio-common/Makefile (tests): Add tst-sprintf3.
59828         * stdio-common/tst-sprintf3.c: New file.
59830         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59831         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59833 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59835         * conform/conformtest.pl: Remove duplicate typed-constant
59836         handling.
59838 2012-04-28  David S. Miller  <davem@davemloft.net>
59840         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59841         (check-abi-%): Remove AWK script prerequisite and explicit
59842         abilist directory.
59843         (check-abi): Rewrite to just diff the symlist with the abilist.
59844         (config-tls, config-abi-config): Delete, no longer used.
59845         (update-abi-%): Remove AWK script and explicit abilist directory.
59846         (update-abi): Rewrite to simply compare and conditionally copy the
59847         symlist and the sysdep abilist file.  Remove update-abi-config
59848         checks.
59849         * abilist/ld.abilist: Remove.
59850         * abilist/libBrokenLocale.abilist: Remove.
59851         * abilist/libanl.abilist: Remove.
59852         * abilist/libcrypt.abilist: Remove.
59853         * abilist/libdl.abilist: Remove.
59854         * abilist/librt.abilist: Remove.
59855         * abilist/libthread_db.abilist: Remove.
59856         * abilist/libutil.abilist: Remove.
59857         * scripts/extract-abilist.awk: Remove.
59858         * scripts/merge-abilist.awk: Remove.
59859         * sysdeps/generic/libcidn.abilist: New file.
59860         * sysdeps/generic/libnss_compat.abilist: New file.
59861         * sysdeps/generic/libnss_db.abilist: New file.
59862         * sysdeps/generic/libnss_dns.abilist: New file.
59863         * sysdeps/generic/libnss_files.abilist: New file.
59864         * sysdeps/generic/libnss_hesiod.abilist: New file.
59865         * sysdeps/generic/libnss_nis.abilist: New file.
59866         * sysdeps/generic/libnss_nisplus.abilist: New file.
59867         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59868         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59869         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59870         file.
59871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59872         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59873         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59874         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59875         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59876         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59877         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59878         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59879         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59880         file.
59881         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59882         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59883         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59884         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59885         file.
59886         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59887         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59888         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59889         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59890         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59891         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59892         file.
59893         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59894         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59895         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59896         file.
59897         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59899         New file.
59900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59901         New file.
59902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59903         New file.
59904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59905         New file.
59906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59907         New file.
59908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59909         New file.
59910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59911         New file.
59912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59913         New file.
59914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59915         New file.
59916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59917         New file.
59918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59919         New file.
59920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59921         New file.
59922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59923         New file.
59924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59925         file.
59926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59927         New file.
59928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59929         New file.
59930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59931         file.
59932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59933         New file.
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59935         New file.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59937         file.
59938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59939         New file.
59940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59941         New file.
59942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59943         New file.
59944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59945         New file.
59946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59947         New file.
59948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59949         New file.
59950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59952         file.
59953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59954         New file.
59955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59956         file.
59957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59958         file.
59959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59960         file.
59961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59962         file.
59963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59964         file.
59965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59966         New file.
59967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59968         file.
59969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59970         file.
59971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59972         New file.
59973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59974         file.
59975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59977         file.
59978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59979         New file.
59980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59981         file.
59982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59983         file.
59984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59985         file.
59986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59987         file.
59988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59989         file.
59990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59991         New file.
59992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59993         file.
59994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59995         file.
59996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59997         New file.
59998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59999         file.
60000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60001         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60002         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60003         file.
60004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60005         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60006         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60007         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60008         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60009         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60010         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60011         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60012         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60013         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60016         file.
60017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60018         New file.
60019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60020         file.
60021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60022         file.
60023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60024         file.
60025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60026         file.
60027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60028         file.
60029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60030         New file.
60031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60032         New file.
60033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60034         file.
60035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60036         New file.
60037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60038         file.
60039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60041         file.
60042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60043         New file.
60044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60045         file.
60046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60047         file.
60048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60049         file.
60050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60051         file.
60052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60053         file.
60054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60055         New file.
60056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60057         New file.
60058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60059         file.
60060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60061         New file.
60062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60063         file.
60065 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60067         * conform/conformtest.pl: Fix typo in handling typed-constant from
60068         allow-header.
60070 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60072         * README: Cut down references to pre-2.6 Linux kernels and
60073         Linuxthreads.  Update lists of configurations in libc and ports
60074         and sort alphabetically.  Say "or newer" with Linux kernel version
60075         requirements.
60077         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60079 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60081         [BZ #887]
60082         * math/libm-test.inc (logb_test_downward): New test to expose
60083         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60084         rounding mode.
60086 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60088         [BZ #14027]
60089         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60090         to be done.
60091         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60092         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60094 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60096         * sysdeps/unix/i386/brk.S: Remove file.
60097         * sysdeps/unix/i386/dl-brk.S: Likewise.
60098         * sysdeps/unix/i386/pipe.S: Likewise.
60099         * sysdeps/unix/i386/sigreturn.S: Likewise.
60100         * sysdeps/unix/i386/syscall.S: Likewise.
60101         * sysdeps/unix/i386/vfork.S: Likewise.
60102         * sysdeps/unix/i386/wait.S: Likewise.
60104         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60105         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60107         * configure.in (arm*-none*): Do not allow without
60108         --enable-hacker-mode.
60109         (netbsd*): Remove case setting base_os.
60110         (386bsd*): Likewise.
60111         (freebsd*): Likewise.
60112         (bsdi*): Likewise.
60113         (osf*): Likewise.
60114         (sunos*): Likewise.
60115         (ultrix*): Likewise.
60116         (newsos*): Likewise.
60117         (dynix*): Likewise.
60118         (*bsd*): Likewise.
60119         (sysv*): Likewise.
60120         (isc*): Likewise.
60121         (esix*): Likewise.
60122         (sco*): Likewise.
60123         (minix*): Likewise.
60124         (irix4*): Likewise.
60125         (irix6*): Likewise.
60126         (solaris[2-9]*): Likewise.
60127         (none): Likewise.
60128         * configure: Regenerated.
60130 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60132         [BZ #11521]
60133         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60134         overflow or cancellation in calculating denominator.
60135         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60136         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60137         down expression to avoid unexpected rounding in newer GCCs.
60138         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60140 2012-04-26  David S. Miller  <davem@davemloft.net>
60142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60143         long-double compat symbols.
60144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60158 2012-04-25  David S. Miller  <davem@davemloft.net>
60160         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60161         HWCAP_* values only after the memory barriers have been defined.
60162         (atomic_full_barrier): Define.
60163         (atomic_read_barrier): Define.
60164         (atomic_write_barrier): Define.
60166 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60168         * shlib-versions: Add libgcc_s version information.
60169         * sysdeps/generic/libgcc_s.h: Remove.
60170         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60171         libgcc_s.h.
60172         * sysdeps/gnu/unwind-resume.c: Likewise.
60173         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60175 2012-04-25  David S. Miller  <davem@davemloft.net>
60177         * sysdeps/unix/sparc/brk.S: Delete.
60178         * sysdeps/unix/sparc/dl-brk.S: Delete.
60179         * sysdeps/unix/sparc/pipe.S: Delete.
60180         * sysdeps/unix/sparc/sysdep.S: Delete.
60181         * sysdeps/unix/sparc/sysdep.h: Delete.
60182         * sysdeps/unix/sparc/vfork.S: Delete.
60183         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60184         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60186         (ret_ERRVAL, r0, r1, MOVE): Define.
60187         (JUMPTARGET): Remove.
60188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60189         sysdeps/unix/sparc/sysdep.h
60190         (ENTRY, END): Remove.
60191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60193 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60195         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60196         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60197         -DIS_IN_build.
60199         * timezone/README: Update upstream location and email address for
60200         tzcode and tzdata.
60201         * timezone/zdump.c: Update from tzcode 2012b.
60202         * timezone/zic.c: Likewise.
60204         * configure.in (libc_cv_as_needed): Remove test.
60205         * configure: Regenerated.
60206         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60207         conditional definition.
60208         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60209         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60210         * config.make.in (have-as-needed): Remove variable.
60212 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60213             Paul Pluzhnikov  <ppluzhnikov@google.com>
60215         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60216         strings correctly.
60218 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60220         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60221         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60222         * sysdeps/sh/strlen.S: Likewise.
60224 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60226         * sysdeps/unix/fork.S: Remove file.
60227         * sysdeps/unix/i386/fork.S: Likewise.
60228         * sysdeps/unix/sparc/fork.S: Likewise.
60230         * sysdeps/unix/system.c: Remove file.
60231         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60233         * sysdeps/unix/getegid.S: Remove file.
60234         * sysdeps/unix/geteuid.S: Likewise.
60236 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60238         * scripts/check-localplt.awk: New file.
60239         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60240         of diff.
60241         * scripts/data/localplt-generic.data: Add a comment.
60243         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60244         NODE when __dir_mkfile failed.
60245         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60246         Reported by Ludovic Courtès <ludo@gnu.org>.
60248 2012-04-24  Andreas Jaeger  <aj@suse.de>
60250         * Makerules (common-clean): Also remove gen-as-const-headers
60251         files.
60253 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60255         * Makerules (native-compile): Do not change working directory for
60256         build.  Use $(OUTPUT_OPTION) in command.
60257         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60259 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60261         [BZ #13886]
60262         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60263         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60264         * math/libm-test.inc (floor_test): Add more tests.
60265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60267 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60269         * sysdeps/unix/getdents.c: Remove file.
60270         * sysdeps/unix/sysv/getdents.c: Likewise.
60271         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60273         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60274         sysdeps/unix/mman/syscalls.list.
60275         (mmap): Likewise.
60276         (mprotect): Likewise.
60277         (msync): Likewise.
60278         (munmap): Likewise.
60279         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60280         * sysdeps/unix/mman/syscalls.list: Remove.
60281         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60283         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60284         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60285         * configure: Regenerated.
60286         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60287         $(libgcc_s_suffix).
60288         * config.make.in (libgcc_s_suffix): Remove variable.
60290 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60292         * sysdeps/unix/sysv/gethostname.c: Move to ...
60293         * sysdeps/posix/gethostname.c: ... here.
60295         * sysdeps/unix/execve.S: Remove file.
60297         * sysdeps/unix/_exit.S: Remove file.
60299 2012-04-23  Andreas Jaeger  <aj@suse.de>
60301         [BZ #13739]
60302         * manual/Makefile: Remove make dist support, there's no
60303         need for a stand-alone documentation tar ball.
60304         (TEXI2DVI): Define always, it's not in Makeconfig.
60305         (dist): Removed.
60306         (tar-it): Removed.
60307         (edition): Removed.
60308         (glibc-doc-$(edition).tar): Removed
60309         (%.Z): Removed.
60310         (%.gz): Removed.
60311         (%.uu): Removed.
60312         (ETAGS): Remove, it's in Makeconfig.
60313         (move-if-change): Remove, it's in Makeconfig.
60315 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60317         [BZ #13970]
60318         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60319         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60320         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60321         (strtod_l, strtof_l, strtold_l): Remove __wur.
60322         It is not necessarily an error to ignore strtol's return value.
60323         One can reliably look at the stored endptr to decide whether
60324         the number had valid syntax.
60326 2012-04-21  Andreas Jaeger  <aj@suse.de>
60328         [BZ #13739]
60329         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60331 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60333         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60334         * sysdeps/unix/sysv/Versions: Remove file.
60336 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60338         [BZ #13927]
60339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60341 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60343         [BZ #7064]
60344         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60345         version from __vm86.
60347 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60349         * sysdeps/unix/common/lxstat.c: Remove file.
60350         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60352         * sysdeps/unix/sysv/Makefile: Remove file.
60354         * sysdeps/unix/sysv/direct.h: Remove file.
60356         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60357         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60358         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60359         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60360         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60361         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60362         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60364         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60366         * sysdeps/unix/xmknod.c: Remove file.
60367         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60369         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60371         * sysdeps/unix/sysv/i386/time.S: Remove file.
60373         * sysdeps/unix/fxstat.c: Remove file.
60374         * sysdeps/unix/xstat.c: Likewise.
60375         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60377         * sysdeps/unix/sysv/sigaction.c: Remove file.
60379         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60380         (sysdep_headers): Remove variable.
60381         [termio.h not in sysdep_headers] (generated): Likewise.
60382         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60383         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60384         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60385         * sysdeps/unix/sysv/tcflow.c: Likewise.
60386         * sysdeps/unix/sysv/tcflush.c: Likewise.
60387         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60388         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60389         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60390         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60391         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60393         * sysdeps/unix/siglist.c: Remove file.
60395         * sysdeps/unix/getppid.S: Remove file.
60397         * sysdeps/unix/mkdir.c: Remove file.
60398         * sysdeps/unix/rmdir.c: Likewise.
60400 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60402         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60403         ERR_MAX value.
60404         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60405         errlist-compat value.
60407 2012-04-18  David S. Miller  <davem@davemloft.net>
60409         * sysdeps/generic/memcopy.h (reg_char): Delete.
60410         * debug/strcat_chk.c: Use char, not reg_char.
60411         * debug/strcpy_chk.c: Likewise.
60412         * debug/strncat_chk.c: Likewise.
60413         * debug/strncpy_chk.c: Likewise.
60414         * string/memchr.c: Likewise.
60415         * string/memrchr.c: Likewise.
60416         * string/rawmemchr.c: Likewise.
60417         * string/strcat.c: Likewise.
60418         * string/strchr.c: Likewise.
60419         * string/strchrnul.c: Likewise.
60420         * string/strcmp.c: Likewise.
60421         * string/strcpy.c: Likewise.
60422         * string/strncat.c: Likewise.
60423         * string/strncmp.c: Likewise.
60424         * string/strncpy.c: Likewise.
60426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60428         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60429         __builtin_memcopy is called when src and dest ranges are known to not
60430         overlap.
60432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60435         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60436         fwd_align_merge macro call.
60437         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60438         bwd_align_merge macro call.
60439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60441 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60444         bwd_align_merge macros.
60445         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60446         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60449 2012-04-18  David S. Miller  <davem@davemloft.net>
60451         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60453 2012-04-18  Andreas Jaeger  <aj@suse.de>
60455         [BZ# 6794]
60456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60457         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60458         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60460         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60461         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60462         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60464         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60465         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60466         Adjust for changed ldbl-128 files.
60468         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60469         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60470         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60472 2012-04-17  David S. Miller  <davem@davemloft.net>
60474         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60476 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60478         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60479         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60480         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60481         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60482         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60483         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60485 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60487         [BZ #6794]
60488         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60489         * math/libm-test.inc: Add ilogb errno and exception tests.
60490         * math/w_ilogb.c: New file: ilogb wrapper.
60491         * math/w_ilogbf.c: New file: ilogbf wrapper.
60492         * math/w_ilogbl.c: New file: ilogbl wrapper.
60493         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60494         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60495         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60496         exception being thrown with 0.0 as argument.
60497         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60498         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60499         exception being thrown with 0.0 as argument.
60500         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60501         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60502         exception being thrown with 0.0 as argument.
60503         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60504         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60505         exception being thrown with 0.0 as argument.
60506         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60507         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60508         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60509         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60510         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60511         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60512         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60513         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60514         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60516 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60518         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60519         with altivec.
60521 2012-04-16  Marek Polacek  <polacek@redhat.com>
60523         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60525 2012-04-16  Marek Polacek  <polacek@redhat.com>
60527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60528         operands of fdivp instruction.
60530 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60532         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60533         * elf/tst-auditmod3b.c: Likewise.
60534         * elf/tst-auditmod4b.c: Likewise.
60535         * elf/tst-auditmod5b.c: Likewise.
60536         * elf/tst-auditmod6b.c: Likewise.
60537         * elf/tst-auditmod6c.c: Likewise.
60538         * elf/tst-auditmod7b.c: Likewise.
60539         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60540         * sysdeps/x86_64/preconfigure.in: Likewise.
60541         * sysdeps/x86_64/preconfigure: Regenerated.
60543 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60545         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60546         __ILP32__.
60548 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60551         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60553 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60555         [BZ #13973]
60556         * locale/iso-639.def: Fix gl language name. Spotted by
60557         Yaron Shahrabani.
60559 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60561         [BZ #2074]
60562         * libio/libio.h (__io_write_fn): Update comment.
60564 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60566         [BZ #2074]
60567         * stdio.texi (Hook Functions): The user provided writer function
60568         is not allowed to return -1.
60570 2012-04-11  David S. Miller  <davem@davemloft.net>
60572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60574 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60576         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60577         Add a leading slash to rtkaio.
60579 2012-04-11  Jim Meyering  <meyering@redhat.com>
60581         [BZ #11959]
60582         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60583         It is not necessarily an error to ignore fwrite's return
60584         value.  One can reliably use ferror to test for errors after
60585         the fact.
60587 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60589         * bits/types.h (__snseconds_t): New type.
60590         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60592         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60594         (__SNSECONDS_T_TYPE): Likewise.
60595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60596         (__SNSECONDS_T_TYPE): Likewise.
60597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60598         (__SNSECONDS_T_TYPE): Likewise.
60600 2012-04-10  Andreas Jaeger  <aj@suse.de>
60602         [BZ #2636]
60603         * manual/time.texi (Processor Time): Return type of times is
60604         elapsed real time since an arbitrary point in the past.
60605         (CPU Time): Move CLK_TCK from here...
60606         (Processor Time): ...to here.  Correct description.
60607         * manual/conf.texi (Constants for Sysconf): Correct description of
60608         _SC_CLK_TCK.
60610 2012-04-10  David S. Miller  <davem@davemloft.net>
60612         [BZ #13967]
60613         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60614         where the is a gap between DT_REL(A) and DT_JMPREL.
60616 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60618         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60619         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60620         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60622 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60624         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60625         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60626         (dl_main): Handle --inhibit-cache.
60627         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60628         _dl_inhibit_cache.
60629         * elf/dl-load.c (_dl_map_object): Use it.
60630         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60632 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60634         [BZ #13872]
60635         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60636         (__ieee754_powl): Saturate large exponents rather than testing for
60637         overflow of y*log2(x).
60638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60639         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60640         exceptions.
60642         [BZ #11521]
60643         * math/s_ctan.c: Include <float.h>.
60644         (__ctan): Avoid internal overflow or cancellation in calculating
60645         denominator.
60646         * math/s_ctanf.c: Likewise.
60647         * math/s_ctanl.c: Likewise.
60648         * math/s_ctanh.c: Likewise.
60649         * math/s_ctanhf.c: Likewise.
60650         * math/s_ctanhl.c: Likewise.
60651         * math/libm-test.inc (ctan_test): Add more tests.
60652         (ctanh_test): Likewise.
60653         * sysdeps/i386/fpu/libm-test-ulps: Update.
60654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60656 2012-04-09  Andreas Jaeger  <aj@suse.de>
60658         [BZ #6894]
60659         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60660         is an optional BSD extension.
60662         [BZ #10254]
60663         * manual/stdio.texi (Opening Streams): Document additional fopen
60664         parameters.
60666 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60668         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60669         %eax without telling the compiler.
60671 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60673         [BZ # 13963]
60674         * manual/install.texi: Use sourceware.org.
60676 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60678         [BZ #13873]
60679         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60680         (__ieee754_pow): Generate overflow and underflow using huge*huge
60681         and tiny*tiny rather than just returning constant infinity or zero
60682         for large exponents.
60683         * math/libm-test.inc (pow_test): Require overflow exceptions for
60684         applicable cases of large exponents.
60686         [BZ #706]
60687         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60688         (__ieee754_pow): Use iterative multiplication algorithm only for
60689         integer exponents with absolute value below 1024.  Check for odd
60690         integer exponents when using algorithm for real exponents.
60691         * math/libm-test.inc (pow_test): Add more tests.
60692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60694 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60696         [BZ #13705]
60697         * math/libm-test.inc (exp_test): Do not allow overflow exception
60698         on underflow test.
60700 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60702         [BZ #13705]
60703         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60704         instead of __kernel_standard_f.
60706 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60708         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60709         * sysdeps/x86_64/memset_chk.S: Likewise.
60711 2012-04-08  Andreas Jaeger  <aj@suse.de>
60713         [BZ #10153]
60714         * manual/startup.texi (Environment Access): Describe return value
60715         for putenv and setenv.
60717         [BZ #6895]
60718         * manual/filesys.texi (Directory Entries): Add description for
60719         DT_LNK.
60721         [BZ #6890]
60722         * manual/filesys.texi (Directory Entries): Clarify that it's file
60723         system not operating system in the description of DT_UNKNOWN.
60725         [BZ #6578]
60726         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60728 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60730         [BZ #6649]
60731         * manual/llio.texi (Opening and Closing Files): Add cross
60732         reference to explain mode argument.
60734 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60736         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60737         * sysdeps/x86_64/memset_chk.S: Likewise.
60739 2012-04-07  David S. Miller  <davem@davemloft.net>
60741         * elf/elf.h (R_SPARC_WDISP10): Define.
60742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60743         R_SPARC_SIZE32.
60744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60745         R_SPARC_SIZE64 and R_SPARC_H34.
60747 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60750         conditions and remove no longer applicable assertion.
60752 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60754         * bits/byteswap.h: Include <features.h>.
60755         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60756         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60758 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60760         * bits/byteswap.h (__bswap_16): Removed.
60761         Include <bits/byteswap-16.h> to get __bswap_16.
60762         * sysdeps/i386/bits/byteswap.h: Likewise.
60763         * sysdeps/s390/bits/byteswap.h: Likewise.
60764         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60765         * bits/byteswap-16.h: New file.
60766         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60767         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60768         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60769         * string/Makefile (headers): Add bits/byteswap-16.h.
60771 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60773         [BZ #13895]
60774         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60775         extra indirection.
60776         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60777         * nss/tst-nss-static.c: New.
60779 2012-04-06  Robert Millan  <rmh@gnu.org>
60781         [BZ #6486]
60782         * manual/llio.texi (File Position Primitive): lseek
60783         refers to WHENCE when it really means OFFSET.
60785 2012-04-06  Andreas Jaeger  <aj@suse.de>
60787         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60788         strncmp declarations.
60790         * abilist/libc.abilist: Add __poll and __ppoll.
60792 2012-04-05  David S. Miller  <davem@davemloft.net>
60794         * scripts/check-local-headers.sh: Accept a host triplet in the
60795         path matched by the exclude regexp.
60797         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60798         definition.
60799         * sysdeps/powerpc/powerpc32/dl-machine.h
60800         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60801         * sysdeps/s390/s390-32/dl-machine.h
60802         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60803         * sysdeps/sparc/sparc32/dl-machine.h
60804         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60805         * sysdeps/sparc/sparc64/dl-machine.h
60806         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60808         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60809         lazy binding.
60810         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60811         undefined symbol errors.
60813         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60814         DT_NEEDED entries.
60816 2012-04-05  Michael Matz  <matz@suse.de>
60818         [BZ #13592]
60819         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60821 2012-04-05  Andreas Jaeger  <aj@suse.de>
60823         [BZ #13908]
60824         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60825         comment.
60827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60829         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60830         which ROUND is no valid rounding mode.
60832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60835         read again.
60836         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60838 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60840         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60841         an exception using FPU order intentionally.
60843 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60845         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60846         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60847         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60848         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60850 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60852         [BZ #12340]
60853         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60854         EINVAL when BUFLEN is too smal.
60856 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60858         [BZ #13553]
60859         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60860         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60862 2012-04-03  Andreas Jaeger  <aj@suse.de>
60864         [BZ #13938]
60865         * manual/setjmp.texi (System V contexts): Fix sentence.
60867         [BZ #13926]
60868         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60869         New macro for this case.
60870         [!__GNUC__] (__bswap_64): New inline function for this case.
60871         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60872         * bits/byteswap.h: Likewise.
60873         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60874         ull, guard with __GLIBC_HAVE_LONG_LONG.
60876         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60877         __GLIBC_HAVE_LONG_LONG.
60879         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60880         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60882 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60884         [BZ #13691]
60885         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60886         inptr and inend, rather than using last_ch.
60888 2012-04-02  David S. Miller  <davem@davemloft.net>
60890         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60891         * stdio-common/printf-parse.h (read_int): Change return type to
60892         'int', return -1 on INT_MAX overflow.
60893         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60894         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60895         overflows INT_MAX.  Check for overflow of in-format-string precision
60896         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60897         SIZE_MAX not INT_MAX for integer overflow test.
60898         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60899         skip the construct in the format string but do not record anything.
60900         * stdio-common/bug22.c: Adjust to test both width/prevision
60901         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60902         explicitly for proper errno values.
60904 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60906         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60907         CHAR_MAX.
60908         * string/test-strcmp.c [! WIDE]: Likewise.
60909         * time/tst-mktime2.c: Likewise for INT_MAX.
60910         * string/test-string.h: #include <sys/param.h> for MIN.
60912         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60913         * sysdeps/i386/init-first.c (init): Likewise.
60914         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60915         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60916         * sysdeps/sh/init-first.c (init): Likewise.
60918 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60920         * po/ru.po: Update from translation team.
60921         * po/vi.po: Likewise.
60923 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60925         * resolv/nss_dns/dns-host.c: Merge copyright years.
60927 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60929         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60930         Optimize memcpy with prefetch if
60931         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60932         src, dst pointers have unequal 16 byte alignments.
60934 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60936         [BZ #13928]
60937         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60938         from a CNAME entry and return the minimum ttl for the query.
60939         (gaih_getanswer_slice): Likewise.
60941 2012-03-30  Jeff Law  <law@redhat.com>
60943         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60944         due to long keys.
60945         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60946         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60948         * resolv/nss_dns/dns-host.c: Update copyright year.
60950 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60952         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60953         requests to save a system call.  Fix check that all bytes are sent.
60955         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60956         comments for sendmmsg.
60958 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60960         [BZ #13691]
60961         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60962         with only 1 character between 0x0041 and 0x01b0.
60963         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60964         * wcsmbs/tst-mbsnrtowcs.c: New file.
60966 2012-03-29  David S. Miller  <davem@davemloft.net>
60968         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60969         small copies by hand.
60971 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60973         [BZ #13761]
60974         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60975         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60976         group memberships.
60978 2012-03-28  David S. Miller  <davem@davemloft.net>
60980         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60981         that branches into memcpy.
60982         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60985         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60987         bits.
60988         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60989         implementation too.
60990         * sysdeps/sparc/mempcpy.S: New file.
60992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60993         the IFUNC routine in the libc case.
60994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60996         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60997         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60998         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60999         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61000         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61001         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61002         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61003         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61005         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61006         loop to 256 bytes instead of 64 bytes and fix test signedness.
61008         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61009         * sysdeps/sparc/sparc32/Makefile: rather than here...
61010         * sysdeps/sparc/sparc64/Makefile: and here.
61012 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61014         * malloc/mallocbug.c: Avoid warnings about unused variables.
61016 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61018         [BZ #13760]
61019         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61020         in the right place. Discard and retry query if response is
61021         larger than input buffer size.
61023 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61025         [BZ #369]
61026         [BZ #2678]
61027         [BZ #3866]
61028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61029         x for large integer exponent.
61030         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61031         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61032         sign of result as needed afterwards.
61033         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61034         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61035         result for underflowing pow the same as for overflow.
61036         (__kernel_standard_l): Handle powl overflow and underflow here
61037         rather than calling __kernel_standard.
61038         * math/libm-test.inc (pow_test): Add more tests.
61040         [BZ #3868]
61041         [BZ #13879]
61042         [BZ #13910]
61043         [BZ #13911]
61044         [BZ #13912]
61045         [BZ #13913]
61046         [BZ #13915]
61047         [BZ #13916]
61048         [BZ #13917]
61049         [BZ #13918]
61050         [BZ #13919]
61051         [BZ #13920]
61052         [BZ #13921]
61053         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61054         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61055         (__kernel_standard_l): New function.
61056         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61057         __kernel_standard.
61058         * math/w_acosl.c (__acosl): Likewise.
61059         * math/w_asinl.c (__asinl): Likewise.
61060         * math/w_atan2l.c (__atan2l): Likewise.
61061         * math/w_atanhl.c (__atanhl): Likewise.
61062         * math/w_coshl.c (__coshl): Likewise.
61063         * math/w_exp10l.c (__exp10l): Likewise.
61064         * math/w_exp2l.c (__exp2l): Likewise.
61065         * math/w_fmodl.c (__fmodl): Likewise.
61066         * math/w_hypotl.c (__hypotl): Likewise.
61067         * math/w_j0l.c (__j0l, __y0l): Likewise.
61068         * math/w_j1l.c (__j1l, __y1l): Likewise.
61069         * math/w_jnl.c (__jnl, __ynl): Likewise.
61070         * math/w_lgammal.c (__lgammal): Likewise.
61071         * math/w_log10l.c (__log10l): Likewise.
61072         * math/w_log2l.c (__log2l): Likewise.
61073         * math/w_logl.c (__logl): Likewise.
61074         * math/w_powl.c (__powl): Likewise.
61075         * math/w_remainderl.c (__remainderl): Likewise.
61076         * math/w_scalbl.c (sysv_scalbl): Likewise.
61077         * math/w_sinhl.c (__sinhl): Likewise.
61078         * math/w_sqrtl.c (__sqrtl): Likewise.
61079         * math/w_tgammal.c (__tgammal): Likewise.
61080         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61081         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61082         * math/libm-test.inc (acos_test): Add more tests.
61083         (acosh_test): Likewise.
61084         (asin_test): Likewise.
61085         (atanh_test): Likewise.
61086         (exp_test): Likewise.
61087         (exp10_test): Likewise.
61088         (exp2_test): Likewise.
61089         (expm1_test): Likewise.
61090         (lgamma_test): Likewise.
61091         (log_test): Likewise.
61092         (log10_test): Likewise.
61093         (log1p_test): Likewise.
61094         (log2_test): Likewise.
61095         (pow_test): Do not allow some spurious overflow exceptions.
61096         (sqrt_test): Add more tests.
61097         (tgamma_test): Likewise.
61098         (y0_test): Likewise.
61099         (y1_test): Likewise.
61100         (yn_test): Likewise.
61102 2012-03-27  Anton Blanchard  <anton@samba.org>
61104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61105         MAP_HUGETLB.
61106         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61107         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61110 2012-03-27  David S. Miller  <davem@davemloft.net>
61112         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61114         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61115         have-as-vis3 check.
61117 2012-03-27  Andreas Jaeger  <aj@suse.de>
61119         * sysdeps/x86_64/elf/configure.in: Moved to ...
61120         * sysdeps/x86_64/configure.in: ... here.
61121         * sysdeps/x86_64/elf/start.S: Moved to ...
61122         * sysdeps/x86_64/start.S: ... here.
61123         * sysdeps/x86_64/elf/configure: Delete.
61125         * sysdeps/x86_64/configure.in: Merge contents from
61126         sysdeps/i386/configure.in (without i686 check).
61128         * sysdeps/i386/elf/Versions: Merge into ...
61129         * sysdeps/i386/Versions: ... this.
61130         * sysdeps/i386/elf/Versions: Delete file.
61131         * sysdeps/i386/elf/start.S: Moved to ...
61132         * sysdeps/i386/start.S: ...here.
61133         * sysdeps/i386/elf/configure.in: Merge into...
61134         * sysdeps/i386/configure.in: ...here.
61135         * sysdeps/i386/elf/configure.in: Delete file.
61136         * sysdeps/i386/elf/configure: Delete file.
61138         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61139         * debug/backtracesyms.c: ... here.
61140         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61141         * debug/backtracesymsfd.c: ... here.
61142         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61143         * sysdeps/generic/ifunc-sel.h: ... here.
61145         * sysdeps/unix/i386/start.c: Delete file.
61146         * sysdeps/unix/sparc/start.c: Delete file.
61147         * sysdeps/unix/start.c: Delete file.
61149         * sysdeps/sh/elf/configure.in: Moved to ...
61150         * sysdeps/sh/configure.in: ... here.
61151         * sysdeps/sh/elf/start.S: Moved to ...
61152         * sysdeps/sh/start.S: ... here.
61153         * sysdeps/sh/elf/configure: Delete file.
61155         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61156         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61157         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61158         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61159         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61160         * sysdeps/powerpc/powerpc64/start.S: here.
61161         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61162         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61163         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61164         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61165         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61167         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61168         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61169         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61170         * sysdeps/powerpc/powerpc32/start.S: ... here.
61171         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61172         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61173         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61175         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61176         * sysdeps/powerpc/ifunc-sel.h: ... here.
61177         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61178         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61180         * sysdeps/sparc/elf/configure.in: Moved to ...
61181         * sysdeps/sparc/configure.in: ... here.
61182         * sysdeps/sparc/elf/configure: Delete file.
61183         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61184         * sysdeps/sparc/sparc32/start.S: ... here.
61185         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61186         * sysdeps/sparc/sparc64/start.S: ... here.
61187         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61188         * sysdeps/sparc/sparc32/Makefile: ... this.
61189         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61190         * sysdeps/sparc/sparc64/Makefile: ... this.
61192         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61193         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61194         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61195         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61196         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61197         * sysdeps/s390/s390-32/setjmp.S: ... here.
61198         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61199         * sysdeps/s390/s390-32/configure.in: ... here.
61200         * sysdeps/s390/s390-32/elf/configure: Delete file.
61201         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61202         * sysdeps/s390/s390-32/start.S: ... here.
61204         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61205         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61206         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61207         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61208         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61209         * sysdeps/s390/s390-64/setjmp.S: ... here.
61210         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61211         * sysdeps/s390/s390-64/configure.in: ... here
61212         * sysdeps/s390/s390-64/elf/configure: Delete file.
61213         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61214         * sysdeps/s390/s390-64/start.S: ... here.
61215         * sysdeps/s390/s390-64/elf/configure: Delete.
61217         * configure.in: Remove support for elf directories in sysdeps.
61219         * configure: Regenerated.
61220         * sysdeps/i386/configure: Regenerated.
61221         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61222         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61223         * sysdeps/s390/s390-32/configure: Regenerated.
61224         * sysdeps/s390/s390-64/configure: Regenerated.
61225         * sysdeps/sh/configure: Regenerated.
61226         * sysdeps/sparc/configure: Regenerated.
61227         * sysdeps/x86_64/configure: Regenerated.
61229 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61234         denormal result into account.
61236 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61238         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61239         Reported by Allan McRae <allan@archlinux.org>.
61241 2012-03-23  Jeff Law  <law@redhat.com>
61243         * nss/getnssent.c (__nss_getent): Fix typo.
61245 2012-03-23  David S. Miller  <davem@davemloft.net>
61247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61249 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61251         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61252         to pad to uint64_t for each field.
61253         (dl_tls_index): Replace unsigned long with uint64_t.
61255 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61256         Paul Pluzhnikov  <ppluzhnikov@google.com>
61258         [BZ #6528]
61259         * grp/Makefile (otherlibs): Don't set it.
61260         * inet/Makefile (otherlibs): Likewise.
61261         * login/Makefile (otherlibs): Likewise.
61262         * nscd/Makefile (otherlibs): Likewise.
61263         * posix/Makefile (otherlibs): Likewise.
61264         * pwd/Makefile (otherlibs): Likewise.
61265         * rt/Makefile (otherlibs): Likewise.
61266         * sunrpc/Makefile (otherlibs): Likewise.
61267         * nss/Makefile (otherlibs): Likewise.
61268         Add libnss_files to routines and static-only-routines.
61269         ($(objpfx)getent): Remove rule.
61270         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61271         static-only-routines.
61273 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61275         [BZ #13892]
61276         * math/s_cexp.c: Include <float.h>.
61277         (__cexp): Handle exp result overflowing not necessarily
61278         overflowing both real and imaginary parts of result.
61279         * math/s_cexpf.c: Likewise.
61280         * math/s_cexpl.c: Likewise.
61281         * math/libm-test.inc (cexp_test): Add more tests.
61282         * sysdeps/i386/fpu/libm-test-ulps: Update.
61283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61287         * include/link.h (ELFW): New macro.
61288         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61289         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61293         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61294         with uint64_t.
61296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61298         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61299         declaration.
61300         (struct La_x32_retval): Likewise.
61302 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61304         * sysdeps/x86_64/preconfigure.in: New file.
61305         * sysdeps/x86_64/preconfigure: New generated file.
61307 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61309         [BZ #13824]
61310         * math/e_exp2l.c: Include <float.h>.
61311         (__ieee754_exp2l): Handle overflow and underflow cases
61312         separately.  Only pass fractional part of argument to
61313         __ieee754_expl.
61314         * math/libm-test.inc (exp2_test): Add more tests.
61316         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61317         negating x to take absolute value.
61318         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61319         Likewise.
61320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61322         Likewise.
61323         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61324         computing low part if x was negated.
61325         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61327 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61329         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61330         la_x32_gnu_pltexit.
61331         (pltexit): Cast int_retval to ptrdiff_t.
61332         * elf/tst-auditmod3b.c: Likewise.
61333         * elf/tst-auditmod4b.c: Likewise.
61334         * elf/tst-auditmod5b.c: Likewise.
61335         * elf/tst-auditmod6b.c: Likewise.
61336         * elf/tst-auditmod6c.c: Likewise.
61337         * elf/tst-auditmod7b.c: Likewise.
61339         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61340         and x32_gnu_pltexit.
61342         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61343         __ELF_NATIVE_CLASS.
61344         (La_x32_regs): New macro.
61345         (La_x32_retval): Likewise.
61346         (la_x32_gnu_pltenter): New function prototype.
61347         (la_x32_gnu_pltexit): Likewise.
61349 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61352         exponent.
61354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61356         * configure.in (libc_cv_cc_nofma): Check for option to disable
61357         generation of FMA instructions.
61358         * configure: Regenerate.
61359         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61360         * sysdeps/ieee754/dbl-64/Makefile: New file.
61361         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61362         Remove brandred-fma4.
61363         (CFLAGS-brandred-fma4.c): Remove.
61364         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61365         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61366         define.
61367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61368         define.
61370 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61372         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61373         LLONG_MAX != LONG_MAX.
61374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61375         (_fitoa_word): Likewise.
61376         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61377         LLONG_MAX != LONG_MAX.
61378         * stdio-common/_itowa.h: Include <_itoa.h>.
61379         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61380         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61381         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61382         only if not defined.
61383         (_ITOA_WORD_TYPE): Likewise.
61384         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61385         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61387 2012-03-21  David S. Miller  <davem@davemloft.net>
61389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61391 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61393         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61394         of x86_64 when setting libc_cv_slibdir, libdir and
61395         libc_cv_localedir.
61396         * sysdeps/unix/sysv/linux/configure: Regenerated.
61398 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61400         * manual/lang.texi (Old Varargs): Remove section.
61401         (How Variadic): Update menu.
61402         (va_start): Do not mention varargs.h.
61404 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61405             Joseph Myers  <joseph@codesourcery.com>
61407         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61408         link test.
61409         * configure: Regenerated.
61411 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61413         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61414         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61415         conformtest.pl
61417 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61419         * NOTES: Remove.
61420         * Makefile (files-for-dist): Remove NOTES.
61421         (NOTES): Remove rule.
61422         * README: Don't refer to NOTES.
61423         * manual/creature.texi: Don't include macros.texi.
61424         * manual/intro.texi (creature.texi): Remove comment referring to
61425         NOTES.
61427         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61428         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61429         * configure: Regenerated.
61430         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61431         LIBC_TRY_CC_OPTION.
61432         (libc_cv_as_i686): Likewise.
61433         (libc_cv_cc_avx): Likewise.
61434         (libc_cv_cc_sse2avx): Likewise.
61435         (libc_cv_cc_fma4): Likewise.
61436         (libc_cv_cc_novzeroupper): Likewise.
61437         * sysdeps/i386/configure: Regenerated.
61439         [BZ #13883]
61440         * sysdeps/i386/fpu/s_cexp.S: Remove.
61441         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61442         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61443         * math/libm-test.inc (cexp_test): Add more tests.
61444         * sysdeps/i386/fpu/libm-test-ulps: Update.
61445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61447 2012-03-21  Allan McRae  <allan@archlinux.org>
61449         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61451 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61453         [BZ #13871]
61454         * math/w_exp2.c: Do not include <float.h>.
61455         (o_threshold, u_threshold): Remove.
61456         (__exp2): Calculate result before checking finiteness and calling
61457         __kernel_standard.
61458         * math/w_exp2f.c: Likewise.
61459         * math/w_exp2l.c: Likewise.
61460         * math/libm-test.inc (exp2_test): Require overflow exception for
61461         1e6 input.
61463         [BZ #3866]
61464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61465         range of signed 64-bit integers before using fistpll.  Remove
61466         checks for whether integers fit in mantissa bits.
61467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61468         the range of signed 32-bit integers before using fistpl.  Remove
61469         checks for whether integers fit in mantissa bits.
61470         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61471         (__ieee754_powl): Test for y outside the range of signed 64-bit
61472         integers before using fistpll.  Reduce 64-bit values to 63-bit
61473         ones as needed.
61474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61475         divide-by-zero is raised for zero to large negative powers.
61476         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61477         (__ieee754_powl): Test for y outside the range of signed 64-bit
61478         integers before using fistpll.  Reduce 64-bit values to 63-bit
61479         ones as needed.
61480         * math/libm-test.inc (pow_test): Add more tests.
61482 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61484         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61485         <stdio-common/_itoa.h>.
61486         * debug/segfault.c: Likewise.
61487         * elf/dl-cache.c: Likewise.
61488         * elf/dl-minimal.c: Likewise.
61489         * elf/dl-misc.c: Likewise.
61490         * elf/dl-sysdep.c: Likewise.
61491         * elf/dl-version.c: Likewise.
61492         * elf/rtld.c: Likewise.
61493         * hurd/hurdsock.c: Likewise.
61494         * hurd/lookup-retry.c: Likewise.
61495         * malloc/malloc.c: Likewise.
61496         * malloc/mtrace.c: Likewise.
61497         * nscd/nscd_getgr_r.c: Likewise.
61498         * nscd/nscd_getpw_r.c: Likewise.
61499         * nscd/nscd_getserv_r.c: Likewise.
61500         * posix/getopt_init.c: Likewise.
61501         * posix/wordexp.c: Likewise.
61502         * stdio-common/_itoa.c: Likewise.
61503         * stdio-common/printf_fphex.c: Likewise.
61504         * stdio-common/vfprintf.c: Likewise.
61505         * string/_strerror.c: Likewise.
61506         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61507         * sysdeps/i386/i686/hp-timing.h: Likewise.
61508         * sysdeps/mach/_strerror.c: Likewise.
61509         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61510         * sysdeps/mach/hurd/sethostid.c: Likewise.
61511         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61512         * sysdeps/mach/xpg-strerror.c: Likewise.
61513         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61515         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61516         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61517         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61518         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61520         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61521         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61522         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61523         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61524         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61525         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61526         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61527         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61528         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61529         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61530         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61531         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61532         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61533         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61535         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61537         * stdio-common/_itoa.h: Moved to ...
61538         * sysdeps/generic/_itoa.h: Here.
61540         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61542         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61543         instead of "_itoa.h" and "_itowa.h".
61544         * stdio-common/vfprintf.: Likewise.
61546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61548         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61549         <bits/wordsize.h>.
61550         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61551         (__signbit): Likwise.
61552         (llrintf): Likwise.
61553         (llrint): Likwise.
61555 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61557         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61558         __WORDSIZE != 64.
61560 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61562         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61563         OVERFLOW_EXCEPTION_OK.
61564         * math/libm-test.inc ("Philosophy"): Update comment about
61565         exception testing.
61566         (OVERFLOW_EXCEPTION): Define.
61567         (OVERFLOW_EXCEPTION_OK): Likewise.
61568         (INVALID_EXCEPTION_OK): Renumber.
61569         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61570         (IGNORE_ZERO_INF_SIGN): Likewise.
61571         (test_exceptions): Handle FE_OVERFLOW.
61572         (exp10_test): Expect overflow exceptions.
61573         (exp2_test): Likewise.
61574         (expm1_test): Likewise.
61575         (nextafter_test): Likewise.
61576         (pow_test): Likewise.
61577         (scalbn_test): Likewise.
61578         (scalbln_test): Likewise.
61580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61582         * sysdeps/x86_64/bits/atomic.h
61583         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61584         64bit integer.
61585         (atomic_exchange_acq): Likewise.
61586         (__arch_exchange_and_add_body): Likewise.
61587         (__arch_add_body): Likewise.
61588         (atomic_add_negative): Likewise.
61589         (atomic_add_zero): Likewise.
61591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61593         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61594         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61598         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61599         Check __x86_64__ instead of __WORDSIZE.
61601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61603         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61605 2012-03-19  David S. Miller  <davem@davemloft.net>
61607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61609         * sysdeps/sparc/fpu/fenv_private.h: New file.
61610         * sysdeps/sparc/fpu/math_private.h: Use it.
61611         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61612         Remove.
61613         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61614         (libc_feholdexcept_setroundl): Remove.
61615         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61616         Remove.
61617         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61618         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61622         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61623         int64_t instead of long int.
61624         (INSERT_WORDS64): Likwise.
61626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61628         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61629         _Unwind_GetCFA return to _Unwind_Ptr first.
61631 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61633         [BZ #13629]
61634         * math/s_clog.c: Include <float.h>.
61635         (__clog): Scale large or subnormal inputs.
61636         * math/s_clogf.c: Likewise.
61637         * math/s_clogl.c: Likewise.
61638         * math/s_clog10.c: Include <float.h>.
61639         (M_LOG10_2): Define.
61640         (__clog10): Scale large or subnormal inputs.
61641         * math/s_clog10f.c: Likewise.
61642         * math/s_clog10l.c: Likewise.
61643         * math/libm-test.inc (clog_test): Add more tests.
61644         (clog10_test): Likewise.
61645         * sysdeps/i386/fpu/libm-test-ulps: Update.
61646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61648         [BZ #11451]
61649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61650         x and y.
61651         * math/libm-test.inc (atan2_test): Add another test.
61653         * Makerules (common-objdir-compile): Remove.
61654         * sysdeps/unix/Makefile (config-generated): Do not add
61655         $(unix-generated) to variable.
61656         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61657         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61658         Remove rule.
61659         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61660         Likewise.
61661         [generic bits/local_lim.h] (before-compile): Do not append to
61662         variable.
61663         [generic bits/local_lim.h] (common-generated): Likewise.
61664         [generic sys/param.h] (before-compile): Do not append to variable.
61665         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61666         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61667         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61668         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61669         include.
61670         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61671         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61672         [generic sys/param.h] ($(addprefix
61673         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61674         [generic sys/param.h] (common-generated): Do not append to
61675         variable.
61676         [generic sys/param.h] (sysdep_headers): Likewise.
61677         [generic bits/errno.h] (before-compile): Do not append to
61678         variable.
61679         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61680         rule.
61681         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61682         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61683         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61684         [generic bits/errno.h] (common-generated): Do not append to
61685         variable.
61686         [generic bits/ioctls.h] (before-compile): Do not append to
61687         variable.
61688         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61689         rule.
61690         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61691         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61692         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61693         rule.
61694         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61695         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61696         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61697         [generic bits/ioctls.h] (common-generated): Do not append to
61698         variable.
61699         [generic sys/syscall.h] (syscall.h): Remove variable.
61700         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61701         rule.
61702         [generic sys/syscall.h] (before-compile): Do not append to
61703         variable.
61704         [generic sys/syscall.h] (common-generated): Likewise.
61705         * sysdeps/unix/errnos-tmpl.c: Remove file.
61706         * sysdeps/unix/errnos.awk: Likewise.
61707         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61708         * sysdeps/unix/ioctls.awk: Likewise.
61709         * sysdeps/unix/mk-local_lim.c: Likewise.
61710         * sysdeps/unix/snarf-ioctls: Likewise.
61712 2012-03-19  Richard Henderson  <rth@twiddle.net>
61714         * sysdeps/i386/fpu/fenv_private.h: New file.
61715         * sysdeps/i386/fpu/math_private.h: Use it.
61716         (math_opt_barrier, math_force_eval): Remove.
61717         (libc_feholdexcept_setround_53bit): Remove.
61718         (libc_feupdateenv_53bit): Remove.
61719         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61720         (math_opt_barrier, math_force_eval): Remove.
61721         (libc_feholdexcept): Remove.
61722         (libc_feholdexcept_setround): Remove.
61723         (libc_fetestexcept, libc_fesetenv): Remove.
61724         (libc_feupdateenv_test): Remove.
61725         (libc_feupdateenv, libc_feholdsetround): Remove.
61726         (libc_feresetround): Remove.
61728         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61729         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61731         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61732         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61733         (libc_feupdateenv_testl): New.
61734         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61735         (libc_feupdateenv_testf): New.
61736         (libc_feupdateenv): Use libc_feupdateenv_test.
61737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61740         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61741         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61742         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61743         (libc_feresetround_noex): New.
61744         (libc_feresetround_noexf): New.
61745         (libc_feresetround_noexl): New.
61746         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61747         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61748         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61749         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61750         SET_RESTORE_ROUND.
61751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61753         (__cos): Likewise.
61754         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61755         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61756         SET_RESTORE_ROUND_NOEX.
61757         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61758         SET_RESTORE_ROUND_NOEXF.
61759         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61760         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61761         (libc_feholdsetroundf): New.
61762         (libc_feresetround, libc_feresetroundf): New.
61764         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61765         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61766         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61768         * sysdeps/generic/math_private.h: Include <fenv.h>.
61769         (default_libc_feholdexcept): New.
61770         (default_libc_feholdexcept_setround): New.
61771         (default_libc_fesetenv, default_libc_feupdateenv): New.
61772         (libc_feholdexcept): Only define if undefined.
61773         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61774         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61775         (libc_feholdexcept_setroundl): Likewise.
61776         (libc_feholdexcept_setround_53bit): Likewise.
61777         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61778         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61779         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61780         (libc_feupdateenv_53bit): Likewise.
61781         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61782         (libc_feholdexcept): Convert from macro to inline function.
61783         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61784         (libc_fesetenv, libc_feupdateenv): Likewise.
61786         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61787         not previously defined.
61788         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61789         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61790         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61791         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61792         * sysdeps/ieee754/flt-32/math_private.h: New file.
61793         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61794         math_private.h below SET_FLOAT_WORD.
61795         (__isnan, __isinf_ns, __finite): Remove.
61796         (__isnanf, __isinf_nsf, __finitef): Remove.
61798 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61802 2012-03-17  David S. Miller  <davem@davemloft.net>
61804         [BZ #6471]
61805         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61806         for 2.16.
61808 2012-03-16  David S. Miller  <davem@davemloft.net>
61810         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61811         warnings.
61813         [BZ #6471]
61814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61815         properly.
61816         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61817         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61818         sysdep_routines when subdir is sysvipc.
61819         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61820         __getshmlba helper.
61822         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61824 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61826         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61827         [__LP64__].
61829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61831         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61832         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61833         (__lround): Renamed to ...
61834         (__llround): This.  Replace long int with long long int.
61835         Define lround functions as aliases of llround functions.
61836         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61840         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61841         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61842         adresses to uintptr_t.  Replace "long int" and "unsigned long
61843         int" with "greg_t" on va_arg.
61845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61847         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61848         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61850         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61851         Move e_machine check before EI_CLASS check.  Handle x32
61852         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61853         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61854         SKIP_EM_IA_64 and include
61855         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61857         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61858         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61859         (add_system_dir): New macro.
61861         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61862         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61864 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61866         [BZ #2551]
61867         [BZ #2552]
61868         [BZ #2553]
61869         [BZ #2554]
61870         [BZ #2562]
61871         [BZ #2563]
61872         [BZ #2565]
61873         [BZ #2566]
61874         [BZ #2576]
61875         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61876         (y0): Likewise.
61877         * math/w_j0f.c (j0f): Likewise.
61878         (y0f): Likewise.
61879         * math/w_j0l.c (__j0l): Likewise.
61880         (__y0l): Likewise.
61881         * math/w_j1.c (j1): Likewise.
61882         (y1): Likewise.
61883         * math/w_j1f.c (j1f): Likewise.
61884         (y1f): Likewise.
61885         * math/w_j1l.c (__j1l): Likewise.
61886         (__y1l): Likewise.
61887         * math/w_jn.c (jn): Likewise.
61888         (yn): Likewise.
61889         * math/w_jnf.c (jnf): Likewise.
61890         (ynf): Likewise.
61891         * math/w_jnl.c (__jnl): Likewise.
61892         (__ynl): Likewise.
61893         * math/libm-test.inc (j0_test): Add more tests.
61894         (j1_test): Likewise.
61895         (jn_test): Likewise.  Add trailing semicolon to existing test.
61896         (y0_test): Likewise.
61897         (y1_test): Likewise.
61898         * sysdeps/i386/fpu/libm-test-ulps: Update.
61899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61901         [BZ #13851]
61902         [BZ #13854]
61903         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61904         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61905         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61906         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61907         (__tanl): Set errno for infinite argument.
61908         * sysdeps/i386/fpu/mptan.c: Remove.
61909         * sysdeps/i386/fpu/s_tan.S: Likewise.
61910         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61911         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61912         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61913         * math/libm-test.inc (tan_test): Add more tests and enable more
61914         tests for double and long double.
61915         * sysdeps/i386/fpu/libm-test-ulps: Update.
61916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61918 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61920         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61921         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61923 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61925         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61926         * configure.in: Use it for both main tree and add-ons.
61927         * configure: Regenerated.
61929 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61931         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61933 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61935         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61936         in comment.
61938         [BZ #13851]
61939         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61940         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61941         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61942         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61943         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61944         infinite argument.
61945         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61947         != 0 for prec == 2.
61948         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61949         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61950         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61951         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61952         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61953         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61954         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61955         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61956         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61957         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61958         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61959         * math/libm-test.inc (cos_test): Add more tests and enable more
61960         tests for long double.
61961         (sin_test): Likewise.
61962         (sincos_test): Likewise.
61963         * sysdeps/i386/fpu/libm-test-ulps: Update.
61964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61966 2012-03-16  David S. Miller  <davem@davemloft.net>
61968         * sysdeps/sparc/fpu/math_private.h: New file.
61970 2012-03-15  David S. Miller  <davem@davemloft.net>
61972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61973         file.
61974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61976         file.
61977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61983         sysdep routines.
61984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61986         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61987         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61989         * sysdeps/sparc/sparc-ifunc.h: New file.
61990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61991         sparc-ifunc.h
61992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61994         Likewise.
61995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61996         Likewise.
61997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62001         Likewise.
62002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62007         Likewise.
62008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62009         Likewise.
62010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62028         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62030         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62031         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62032         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62035 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62037         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62038         scaling.
62039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62041 2012-03-15  Andreas Jaeger  <aj@suse.de>
62043         [BZ #13852]
62044         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62045         ieee754/flt-32 implementation for sin, cos and sincos.
62046         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62047         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62048         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62049         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62050         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62051         ieee754/flt-32 implementation for tan.
62053         * math/libm-test.inc (cos_test): Enable some large input tests for
62054         float as well
62055         (sin_test): Likewise.
62056         (sincos_test): Likewise.
62057         (tan_test): Add tests for large input.
62059         * sysdeps/i386/fpu/libm-test-ulps: Update.
62061 2012-03-15  Andreas Jaeger  <aj@suse.de>
62063         [BZ #13658]
62064         * math/libm-test.inc (cos_test): Add more test cases.
62065         (sin_test): Likewise.
62066         (sincos_test): Likewise.
62068 2012-03-15  Andreas Jaeger  <aj@suse.de>
62070         [BZ #13837]
62071         * math/libm-test.inc (cos_test): Add a test case for large input
62072         value.
62073         (sin_test): Likewise.
62074         (sincos_test): Likewise.
62076 2012-03-15  Andreas Jaeger  <aj@suse.de>
62077             Joseph Myers  <joseph@codesourcery.com>
62079         [BZ #13658]
62080         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62081         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62082         * sysdeps/i386/fpu/branred.c: Likewise.
62083         * sysdeps/i386/fpu/dosincos.c: Likewise.
62084         * sysdeps/i386/fpu/mpa.c: Likewise.
62085         * sysdeps/i386/fpu/s_cos.S: Likewise.
62086         * sysdeps/i386/fpu/s_sin.S: Likewise.
62087         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62088         * sysdeps/i386/fpu/sincos32.c: Likewise.
62090         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62091         Define.
62092         (libc_feupdateenv_53bit): Define.
62093         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62094         Define.
62095         (libc_feupdateenv_53bit): Define.
62097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62098         53 bit (without extend i386 double precision).
62100         * math/libm-test.inc (sincos_test): Add tests for large input.
62101         (sin): Likewise.
62102         (cos): Likewise.
62104         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62106 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62110 2012-03-15  David S. Miller  <davem@davemloft.net>
62112         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62113         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62114         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62115         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62128         file.
62129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62131         file.
62132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62134         file.
62135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62137         file.
62138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62140         fmin/fmax sysdep routines.
62141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62143 2012-03-14  David S. Miller  <davem@davemloft.net>
62145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62167         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62168         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62170         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62171         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62172         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62174         routines.
62175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62176         file.
62177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62179         file.
62180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62182         file.
62183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62185         file.
62186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62188         file.
62189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62191         file.
62192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62193         file.
62194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62195         file.
62196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62197         file.
62198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62199         New file.
62200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62201         file.
62202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62203         file.
62204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62206         file.
62207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62209         file.
62210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62212         file.
62213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62215         VIS3 routines.
62217         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62218         New file.
62220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62222         * sysdeps/sparc/configure.in: New file.
62223         * sysdeps/sparc/configure: Generate.
62224         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62225         * configure: Regenerate.
62226         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62227         * config.make.in (have-as-vis3): New.
62228         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62229         available use -Av9d instead of -Av9a.
62230         * sysdeps/sparc/sparc64/Makefile: Likewise.
62231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62233         New file.
62234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62235         file.
62236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62237         New file.
62238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62239         file.
62240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62246         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62247         fzeros/fnegs to load 0x80000000 into a float register instead of
62248         using the stack.
62249         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62251 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62254         bits/syscall.h.
62255         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62256         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62257         ($(inst_includedir)/bits/syscall.h): Remove rule.
62258         ($(objpfx)bits/syscall.d): Include instead of
62259         $(objpfx)syscall-list.d.
62260         (generated): Change syscall-list.h and syscall-list.d to
62261         bits/syscall.h and bits/syscall.d.
62263 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62265         [BZ #13846]
62266         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62268 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62270         [BZ #13841]
62271         * math/s_csqrt.c: Include <float.h>.
62272         (__csqrt): Scale large or subnormal inputs.
62273         * math/s_csqrtf.c: Likewise.
62274         * math/s_csqrtl.c: Likewise.
62275         * math/libm-test.inc (csqrt_test): Add more tests.
62276         * sysdeps/i386/fpu/libm-test-ulps: Update.
62277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62279         [BZ #13840]
62280         * math/libm-test.inc (hypot_test): Add more tests.
62282 2012-03-13  David S. Miller  <davem@davemloft.net>
62284         [BZ #13840]
62285         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62286         double-precision for the calculation instead of scaling.
62288 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62290         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62291         manipulate bits before adding and subtracting TWO52[sx].
62292         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62293         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62294         Likewise.
62295         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62297 2012-03-13  David S. Miller  <davem@davemloft.net>
62299         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62300         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62302         rtld-global-offsets.h
62303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62305         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62306         large parameters.
62308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62310         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62311         'err' in the ifdef scope in which it is actually used.
62313         * nss/nss_db/db-init.c: Include string.h
62315 2012-03-12  David S. Miller  <davem@davemloft.net>
62317         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62318         masking out of the most significant byte of random value used.
62319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62320         Fix coding style in previous change.
62322         * sysdeps/unix/sysv/linux/kernel-features.h
62323         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62324         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62325         expression.
62326         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62327         later.
62329 2012-03-11  David S. Miller  <davem@davemloft.net>
62331         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62332         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62334         for 'resultvar' otherwise things get truncated on 64-bit.
62336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62337         Fix masking out of the most significant byte of random value used.
62339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62341 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62345 2012-03-09  David S. Miller  <davem@davemloft.net>
62347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62348         variables with appropriate CPP guards.
62349         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62350         from the frame pointer, not the stack pointer.  Correct layout
62351         comments.  Fix test on resulting framesize and the management of
62352         the outregs buffer for pltexit.  Preserve floating point return
62353         values across _dl_call_pltexit call.
62354         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62355         framesize and the management of the outregs buffer for pltexit.
62356         Preserve floating point return values across _dl_call_pltexit
62357         call.
62358         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62359         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62360         (la_sparc64_gnu_pltexit): New functions.
62361         (print_exit): Fix format string for return register value.
62363 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62365         * sunrpc/Makefile (others): Add rpcgen.
62366         ($(objpfx)rpcgen): Remove special build rule and dependency on
62367         libc.
62368         * sunrpc/rpcgen.c: New file.
62370 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62372         [BZ #13673]
62373         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62374         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62375         * sysdeps/i386/crti.S: Likewise.
62376         * sysdeps/i386/crtn.S: Likewise.
62377         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62378         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62379         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62380         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62381         * sysdeps/sh/crti.S: Likewise.
62382         * sysdeps/sh/crtn.S: Likewise.
62383         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62385         [BZ #13673]
62386         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62387         with URL.
62388         * locale/programs/locfile-kw.gperf: Likewise.
62389         * locale/programs/charmap-kw.h: Regenerated.
62390         * locale/programs/locfile-kw.h: Likewise.
62392         [BZ #13673]
62393         * intl/plural.y: Replace FSF snail mail address with URL.
62394         * intl/plural.c: Regenerated.
62396 2012-03-09  Richard Henderson  <rth@twiddle.net>
62398         * include/math_private.h: Remove file.
62399         * math/math_private.h: Move file ...
62400         * sysdeps/generic/math_private.h: ... here.
62402         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62403         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62404         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62406         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62407         and <math_private.h>.
62408         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62409         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62410         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62411         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62412         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62413         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62414         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62416         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62417         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62419         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62420         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62422         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62423         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62425         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62426         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62430         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62432         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62433         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62434         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62440         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62441         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62442         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62443         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62445         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62446         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62448         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62449         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62450         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62451         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62452         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62453         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62454         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62455         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62456         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62457         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62458         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62459         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62460         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62461         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62462         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62463         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62465         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62466         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62467         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62468         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62469         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62471         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62472         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62473         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62474         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62475         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62476         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62478         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62479         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62480         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62482         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62483         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62484         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62488         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62489         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62490         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62491         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62492         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62493         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62495         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62496         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62497         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62498         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62499         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62501         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62502         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62503         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62504         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62505         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62506         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62508         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62509         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62510         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62511         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62512         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62513         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62514         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62515         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62516         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62518         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62519         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62520         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62521         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62522         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62523         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62524         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62525         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62527         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62528         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62529         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62531         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62532         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62533         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62534         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62535         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62536         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62537         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62538         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62539         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62540         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62541         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62542         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62543         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62544         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62545         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62546         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62547         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62549         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62551         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62552         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62553         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62554         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62555         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62556         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62557         * sysdeps/ieee754/k_standard.c: Likewise.
62558         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62559         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62561         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62562         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62563         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62564         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62565         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62566         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62568         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62570         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62571         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62572         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62573         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62574         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62575         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62576         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62577         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62578         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62579         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62581         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62584         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62585         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62586         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62588         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62592         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62593         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62594         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62595         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62596         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62597         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62598         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62599         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62600         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62601         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62602         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62603         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62604         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62605         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62606         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62607         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62608         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62609         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62610         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62611         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62614         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62615         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62616         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62617         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62619         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62620         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62622         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62623         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62624         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62625         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62626         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62627         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62630         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62631         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62633         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62635         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62637         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62646         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62648         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62649         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62650         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62651         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62655         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62656         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62657         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62662         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62665         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62666         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62667         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62668         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62669         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62670         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62671         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62672         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62673         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62674         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62675         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62676         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62677         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62678         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62679         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62680         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62681         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62682         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62683         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62685         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62686         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62687         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62688         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62689         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62690         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62691         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62692         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62693         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62694         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62695         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62696         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62697         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62698         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62699         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62700         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62701         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62702         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62703         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62704         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62706         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62707         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62708         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62709         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62711         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62712         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62713         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62714         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62715         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62716         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62717         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62718         * sysdeps/ieee754/s_lib_version.c: Likewise.
62719         * sysdeps/ieee754/s_matherr.c: Likewise.
62720         * sysdeps/ieee754/s_signgam.c: Likewise.
62721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62723         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62724         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62725         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62726         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62727         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62728         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62729         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62730         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62731         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62732         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62733         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62734         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62735         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62736         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62737         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62738         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62739         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62741         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62743 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62745         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62746         * sunrpc/rpc_main.c: Likewise.
62747         * sunrpc/rpc_svcout.c: Likewise.
62749 2012-03-09  David S. Miller  <davem@davemloft.net>
62751         * include/math_private.h: New file.
62753 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62755         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62756         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62757         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62758         from <bits/socket_type.h>.
62759         (enum __socket_type): Don't define here.
62760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62762         bits/socket_type.h.
62764         [BZ #13566]
62765         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62766         checking __USE_GNU.
62768         * Makerules ($(inst_includedir)/%.h): New rule.
62769         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62770         (install-others): Remove variable setting.
62771         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62773 2012-03-08  Richard Henderson  <rth@twiddle.net>
62775         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62776         from macro to inline function; merge with the
62777         !__LIBC_INTERNAL_MATH_INLINES version.
62778         (__ieee754_sqrtf): Likewise.
62780         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62781         to inline function.
62782         (__rintf, __floor, __floorf): Likewise.
62784         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62785         macro to inline function.
62786         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62788         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62789         not <math/math_private.h>.
62791 2012-03-08  David S. Miller  <davem@davemloft.net>
62793         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62794         copyright year.
62795         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62797 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62799         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62800         normalization.
62801         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62802         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62804 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62806         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62807         be defined individually, they must be defined as a block.  Define
62808         S for printing a string instead of hidint the different by using a
62809         macro for adding the 'l'.
62810         * stdio-common/tst-fphex-wide.c: Adjust.
62812 2012-03-07  Marek Polacek  <polacek@redhat.com>
62814         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62816 2012-03-08  Marek Polacek  <polacek@redhat.com>
62818         [BZ #13806]
62819         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62820         * stdio-common/tst-fphex.c: Define a few macros to make the
62821         test reusable.  Use them.
62822         * stdio-common/tst-fphex-wide.c: New file.
62824 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62826         [BZ #6911]
62827         * manual/macros.texi (gnusystems): New macro.
62828         (nongnusystems): Likewise.
62829         (gnulinuxhurdsystems): Likewise.
62830         (gnuhurdsystems): Likewise..
62831         (gnulinuxsystems): Likewise.
62832         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62833         variants of the GNU system, not "GNU system".
62834         * manual/conf.texi: Likewise.
62835         * manual/errno.texi: Likewise.  Update example of errno macro
62836         expansion.
62837         * manual/filesys.texi: Likewise.
62838         (getumask): Document as specific to GNU/Hurd.
62839         * manual/install.texi: Likewise.  Reword some references to
62840         GNU/Linux.
62841         * manual/intro.texi: Likewise.
62842         * manual/io.texi: Likewise.
62843         (File Name Portability): Detail which constraints are inapplicable
62844         to all GNU systems and which are only inapplicable to GNU/Hurd.
62845         * manual/job.texi: Likewise.
62846         * manual/llio.texi: Likewise.
62847         (O_NOCTTY): Document as present on GNU/Linux.
62848         * manual/maint.texi: Likewise.
62849         * manual/memory.texi: Likewise.
62850         * manual/pattern.texi: Likewise.
62851         * manual/pipe.texi: Likewise.
62852         * manual/process.texi: Likewise.
62853         * manual/resource.texi: Likewise.
62854         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62855         child on GNU/Hurd.
62856         * manual/setjmp.texi: Likewise.
62857         * manual/signal.texi: Likewise.
62858         * manual/startup.texi: Likewise.
62859         * manual/stdio.texi: Likewise.
62860         * manual/terminal.texi: Likewise.
62861         (ONLCR): Document as POSIX.
62862         (OXTABS): Document availability on GNU/Linux as XTABS.
62863         (ONOEOT): Document availability separately from other bits.
62864         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62865         * manual/time.texi: Likewise.
62866         * manual/users.texi: Likewise.
62867         * INSTALL: Regenerated.
62868         * sysdeps/gnu/errlist.c: Regenerated.
62870         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62871         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62872         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62873         puts.
62874         * configure: Regenerated.
62876 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62878         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62879         default includes instead of AC_HEADER_CHECK.
62880         * sysdeps/i386/configure: Regenerated.
62882         [BZ #10716]
62883         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62884         * math/s_cacoshf.c (__cacoshf): Likewise.
62885         * math/s_cacoshl.c (__cacoshl): Likewise.
62886         * math/s_casinh.c (__casinh): Set signs of result from argument.
62887         * math/s_casinhf.c (__casinhf): Likewise.
62888         * math/s_casinhl.c (__casinhl): Likewise.
62889         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62890         (casinh_test): Add more tests.
62891         * sysdeps/i386/fpu/libm-test-ulps: Update.
62892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62894 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62896         * po/zh_TW.po: Update from translation team.
62898         * login/Makefile (distribute): Remove variable.
62899         * catgets/Makefile: Likewise.
62900         * mach/Makefile: Likewise.
62901         * malloc/Makefile: Likewise.
62902         * misc/Makefile: Likewise.
62903         * iconv/Makefile: Likewise.
62904         * nscd/Makefile: Likewise.
62905         * hurd/Makefile: Likewise.
62906         * manual/Makefile: Likewise.
62907         * locale/Makefile: Likewise.
62908         * intl/Makefile: Likewise.
62909         * conform/Makefile: Likewise.
62910         * nss/Makefile: Likewise.
62911         * time/Makefile: Likewise.
62912         * soft-fp/Makefile: Likewise.
62913         * dirent/Makefile: Likewise.
62914         * gmon/Makefile: Likewise.
62915         * po/Makefile: Likewise.
62916         * rt/Makefile: Likewise.
62917         * socket/Makefile: Likewise.
62918         * math/Makefile: Likewise.
62919         * signal/Makefile: Likewise.
62920         * debug/Makefile: Likewise.
62921         * elf/Makefile: Likewise.
62922         * timezone/Makefile: Likewise.
62923         * stdlib/Makefile: Likewise.
62924         * iconvdata/Makefile: Likewise.
62925         * sunrpc/Makefile: Likewise.
62926         * io/Makefile: Likewise.
62927         * argp/Makefile: Likewise.
62928         * inet/Makefile: Likewise.
62929         * hesiod/Makefile: Likewise.
62930         * grp/Makefile: Likewise.
62931         * csu/Makefile: Likewise.
62932         * wctype/Makefile: Likewise.
62933         * crypt/Makefile: Likewise.
62934         * libio/Makefile: Likewise.
62935         * string/Makefile: Likewise.
62936         * nis/Makefile: Likewise.
62937         * resolv/Makefile: Likewise.
62938         * stdio-common/Makefile: Likewise.
62939         * wcsmbs/Makefile: Likewise.
62940         * dlfcn/Makefile: Likewise.
62941         * posix/Makefile: Likewise.
62943         [BZ #6959]
62944         * timezone/Makefile: Don't install timezone files, just the programs
62945         and scripts.
62947 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62949         * nss/databases.def: Add missing gshadow entry.
62951         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62953 2012-03-06  Marek Polacek  <polacek@redhat.com>
62955         [BZ #13726]
62956         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62957         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62958         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62959         * stdio-common/tst-long-dbl-fphex.c: New file.
62961 2012-03-06  David S. Miller  <davem@davemloft.net>
62963         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62964         (set_obp_int): New function.
62965         (get_obp_int): New function.
62966         (__get_clockfreq_via_dev_openprom): Likewise.
62967         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62968         Avoid unused variable warnings on 'val' and use builtin_expect.
62969         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62970         __builtin_expect.
62971         (INLINE_CLONE_SYSCALL): Likewise.
62973 2012-03-05  David S. Miller  <davem@davemloft.net>
62975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62977 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62982         only for |x| >= 40.
62983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62985 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62988         Replace gettimeofday with __vdso_gettimeofday.
62990         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62991         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62992         __vdso_clock_gettime and __vdso_getcpu.
62994         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62995         time with __vdso_time.
62997 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62999         * manual/lang.texi (size_t): Note types to which size_t may be
63000         equivalent with the GNU C Library, but do not describe when
63001         differences between them are significant.
63003 2012-03-05  Andreas Jaeger  <aj@suse.de>
63005         * sysdeps/i386/fpu/libm-test-ulps: Update.
63007 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63009         [BZ #3976]
63010         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63011         (__ieee754_pow): Save and restore rounding mode and use
63012         round-to-nearest for main computations.
63013         * math/libm-test.inc (pow_test_tonearest): New function.
63014         (pow_test_towardzero): Likewise.
63015         (pow_test_downward): Likewise.
63016         (pow_test_upward): Likewise.
63017         (main): Call the new functions.
63018         * sysdeps/i386/fpu/libm-test-ulps: Update.
63019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63021         [BZ #3976]
63022         * math/libm-test.inc (cosh_test_tonearest): New function.
63023         (cosh_test_towardzero): Likewise.
63024         (cosh_test_downward): Likewise.
63025         (cosh_test_upward): Likewise.
63026         (sinh_test_tonearest): Likewise.
63027         (sinh_test_towardzero): Likewise.
63028         (sinh_test_downward): Likewise.
63029         (sinh_test_upward): Likewise.
63030         (main): Call the new functions.
63031         * sysdeps/i386/fpu/libm-test-ulps: Update.
63032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63034 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63036         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63037         default stack guard is set in last bytes.
63038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63040 2012-03-05  Kees Cook  <keescook@chromium.org>
63042         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63044         [BZ #13656]
63045         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63046         possibly allocate from heap instead of stack.
63047         * stdio-common/bug-vfprintf-nargs.c: New file.
63048         * stdio-common/Makefile (tests): Add nargs overflow test.
63050 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63054 2012-03-03  Marek Polacek  <polacek@redhat.com>
63056         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63057         * math/math_private.h: Likewise.
63058         * stdlib/tst-strtod.c: Likewise.
63059         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63060         * sysdeps/x86_64/bits/atomic.h: Likewise.
63062 2012-03-02  David S. Miller  <davem@davemloft.net>
63064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63068         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63069         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63070         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63071         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63073 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63075         [BZ #13792]
63076         * manual/examples/README: New file, says the example source files
63077         can be used under GPL>=2.
63078         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63079         line containing just "*/".
63080         * manual/examples/add.c: Add copyright header (GPL>=2).
63081         * manual/examples/argp-ex1.c: Likewise.
63082         * manual/examples/argp-ex2.c: Likewise.
63083         * manual/examples/argp-ex3.c: Likewise.
63084         * manual/examples/argp-ex4.c: Likewise.
63085         * manual/examples/atexit.c: Likewise.
63086         * manual/examples/db.c: Likewise.
63087         * manual/examples/dir.c: Likewise.
63088         * manual/examples/dir2.c: Likewise.
63089         * manual/examples/execinfo.c: Likewise.
63090         * manual/examples/filecli.c: Likewise.
63091         * manual/examples/filesrv.c: Likewise.
63092         * manual/examples/fmtmsgexpl.c: Likewise.
63093         * manual/examples/genpass.c: Likewise.
63094         * manual/examples/inetcli.c: Likewise.
63095         * manual/examples/inetsrv.c: Likewise.
63096         * manual/examples/isockad.c: Likewise.
63097         * manual/examples/longopt.c: Likewise.
63098         * manual/examples/memopen.c: Likewise.
63099         * manual/examples/memstrm.c: Likewise.
63100         * manual/examples/mkfsock.c: Likewise.
63101         * manual/examples/mkisock.c: Likewise.
63102         * manual/examples/mygetpass.c: Likewise.
63103         * manual/examples/pipe.c: Likewise.
63104         * manual/examples/popen.c: Likewise.
63105         * manual/examples/rprintf.c: Likewise.
63106         * manual/examples/search.c: Likewise.
63107         * manual/examples/select.c: Likewise.
63108         * manual/examples/setjmp.c: Likewise.
63109         * manual/examples/sigh1.c: Likewise.
63110         * manual/examples/sigusr.c: Likewise.
63111         * manual/examples/stpcpy.c: Likewise.
63112         * manual/examples/strdupa.c: Likewise.
63113         * manual/examples/strftim.c: Likewise.
63114         * manual/examples/strncat.c: Likewise.
63115         * manual/examples/subopt.c: Likewise.
63116         * manual/examples/swapcontext.c: Likewise.
63117         * manual/examples/termios.c: Likewise.
63118         * manual/examples/testopt.c: Likewise.
63119         * manual/examples/testpass.c: Likewise.
63120         * manual/examples/timeval_subtract.c: Likewise.
63122         [BZ #13792]
63123         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63124         function to ...
63125         * manual/timeval_subtract.c.texi: ... here, new file.
63127 2012-03-02  David S. Miller  <davem@davemloft.net>
63129         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63131 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63133         [BZ #3976]
63134         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63135         (__sin): Save and restore rounding mode and use round-to-nearest
63136         for all computations.
63137         (__cos): Save and restore rounding mode and use round-to-nearest
63138         for all computations.
63139         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63140         <fenv.h>.
63141         (tan): Save and restore rounding mode and use round-to-nearest for
63142         all computations.
63143         * math/libm-test.inc (cos_test_tonearest): New function.
63144         (cos_test_towardzero): Likewise.
63145         (cos_test_downward): Likewise.
63146         (cos_test_upward): Likewise.
63147         (sin_test_tonearest): Likewise.
63148         (sin_test_towardzero): Likewise.
63149         (sin_test_downward): Likewise.
63150         (sin_test_upward): Likewise.
63151         (tan_test_tonearest): Likewise.
63152         (tan_test_towardzero): Likewise.
63153         (tan_test_downward): Likewise.
63154         (tan_test_upward): Likewise.
63155         (main): Call the new functions.
63156         * sysdeps/i386/fpu/libm-test-ulps: Update.
63157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63159         [BZ #10135]
63160         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63161         small n, then large n, before computing and testing k+n.
63162         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63163         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63164         Likewise.
63165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63166         Likewise.
63167         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63168         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63175         * math/libm-test.inc (scalbn_test): Add more tests.
63176         (scalbln_test): Likewise.
63178         * manual/filesys.texi (mode_t): Describe constraints on size and
63179         signedness, not exact equivalence to a particular type.
63180         (ino_t): Likewise.
63181         (ino64_t): Likewise.
63182         (dev_t): Likewise.
63183         (nlink_t): Likewise.
63184         (blkcnt_t): Likewise.
63185         (blkcnt64_t): Likewise.
63186         * manual/llio.texi (off_t): Likewise.
63188         [BZ #3976]
63189         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63190         (__ieee754_exp): Save and restore rounding mode and use
63191         round-to-nearest for all computations.
63192         * math/libm-test.inc (exp_test_tonearest): New function.
63193         (exp_test_towardzero): Likewise.
63194         (exp_test_downward): Likewise.
63195         (exp_test_upward): Likewise.
63196         (main): Call the new functions.
63197         * sysdeps/i386/fpu/libm-test-ulps: Update.
63198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63200 2012-03-01  Chris Demetriou  <cgd@google.com>
63202         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63203         have predictable order.
63205 2012-03-01  David S. Miller  <davem@davemloft.net>
63207         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63209         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63210         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63211         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63212         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63214         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63215         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63216         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63218         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63219         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63220         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63221         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63222         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63227         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63228         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63230         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63231         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63232         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63233         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63234         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63235         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63237         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63238         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63239         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63240         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63241         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63243         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63244         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63246         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63247         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63248         * sysdeps/sparc/elf/configure: Regenerated.
63250 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63252         * configure.in (AS, LD): Require binutils 2.20 or later.
63253         * configure: Regenerated.
63254         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63255         as required minimum version.
63256         * INSTALL: Regenerated.
63258         [BZ #2541]
63259         [BZ #4108]
63260         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63261         before squaring exponent.
63262         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63263         bottom long double and 27 bits of top long double before squaring
63264         exponent.
63265         * math/libm-test.inc (erfc_test): Add more tests.
63266         * sysdeps/i386/fpu/libm-test-ulps: Update.
63267         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63270 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63272         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63273         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63274         containing bit-fields.
63275         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63276         * soft-fp/single.h (_FP_UNION_S): Likewise.
63277         * soft-fp/double.h (_FP_UNION_D): Likewise.
63279 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63281         [BZ #13786]
63282         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63283         not include ../strcmp.S.
63284         [USE_AS_STRNCASECMP_L]: Likewise.
63285         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63286         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63287         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63288         (__strncasecmp_l_ia32): Define as alias to
63289         __strncasecmp_l_nonascii.
63291         [BZ #5794]
63292         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63293         * sysdeps/i386/fpu/libm-test-ulps: Update.
63294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63296         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63299 2012-02-29  Jeff Law  <law@redhat.com>
63301         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63302         out of bounds read.
63304 2012-02-29  Marek Polacek  <polacek@redhat.com>
63306         [BZ #13706]
63307         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63308         * elf/Makefile: Add rules to run tst-unused-dep.out.
63310 2012-02-28  David S. Miller  <davem@davemloft.net>
63312         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63313         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63316         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63317         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63319 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63321         * math/libm-test.inc (llround_test): Move one test from
63322         lround_test.  Use TEST_f_L in moved test.
63323         (lround_test): Move misplaced test to llround_test.  Add testcase
63324         from bug 2561.
63326 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63328         * sysdeps/x86_64/fpu/e_expf.S: New file.
63329         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63331 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63333         [BZ #13637]
63334         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63335         of remain_len that may cause incomplete multi-byte character and
63336         false match.
63337         * posix/bug-regex33.c: New file.
63338         * posix/Makefile (tests): Add bug-regex33.
63340 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63342         * manual/macros.texi: New file.
63343         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63344         * manual/libc.texinfo: Include macros.texi.
63345         * manual/creatute.texi: Likewise.
63346         * manual/install.texi: Likewise.
63347         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63348         @glibcadj{} in references to the GNU C Library.
63349         * manual/charset.texi: Likewise.
63350         * manual/conf.texi: Likewise.
63351         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63352         when not using those macros.
63353         * manual/creature.texi: Likewise.
63354         * manual/crypt.texi: Likewise.
63355         * manual/errno.texi: Likewise.
63356         * manual/filesys.texi: Likewise.
63357         * manual/header.texi: Likewise.
63358         * manual/install.texi: Likewise.
63359         * manual/intro.texi: Likewise.
63360         * manual/io.texi: Likewise.
63361         * manual/job.texi: Likewise.
63362         * manual/lang.texi: Likewise.
63363         * manual/libc.texiinfo: Likewise.
63364         * manual/llio.texi: Likewise.
63365         * manual/locale.texi: Likewise.
63366         * manual/maint.texi: Likewise.
63367         * manual/math.texi: Likewise.
63368         * manual/memory.texi: Likewise.
63369         * manual/message.texi: Likewise.
63370         * manual/nss.texi: Likewise.
63371         * manual/pattern.texi: Likewise.
63372         * manual/process.texi: Likewise.
63373         * manual/resource.texi: Likewise.
63374         * manual/search.texi: Likewise.
63375         * manual/setjmp.texi: Likewise.
63376         * manual/signal.texi: Likewise.
63377         * manual/socket.texi: Likewise.
63378         * manual/startup.texi: Likewise.
63379         * manual/stdio.texi: Likewise.
63380         * manual/string.texi: Likewise.
63381         * manual/sysinfo.texi: Likewise.
63382         * manual/syslog.texi: Likewise.
63383         * manual/terminal.texi: Likewise.
63384         * manual/time.texi: Likewise.
63385         * manual/users.texi: Likewise.
63386         * INSTALL: Regenerated.
63387         * NOTES: Regenerated.
63388         * sysdeps/gnu/errlist.c: Regenerated.
63390 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63392         * include/dirent.h: Include <dirstream.h> before
63393         <dirent/dirent.h>.
63395 2012-02-28  David S. Miller  <davem@davemloft.net>
63397         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63398         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63399         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63400         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63402 2012-02-27  David S. Miller  <davem@davemloft.net>
63404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63406         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63407         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63410         frame pointer instead of stack pointer relative arg slot.
63411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63412         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63413         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63415 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63417         [BZ #3992]
63418         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63420 2012-02-27  David S. Miller  <davem@davemloft.net>
63422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63426         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63427         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63428         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63429         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63431 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63433         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63434         later.  Allow versions 5-9.
63435         * configure: Regenerated.
63436         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63437         required minimum version and 4.6 as recommended version.  Do not
63438         mention bugs in GCC 2.7 and 2.8.
63439         * INSTALL: Regenerated.
63441 2012-02-27  David S. Miller  <davem@davemloft.net>
63443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63449         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63450         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63452         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63453         manipulate bits before adding and subtracting TWO112[sx].
63454         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63456 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63458         [BZ #13775]
63459         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63460         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63461         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63462         being in POSIX, because they are in 1003.1-2008.
63464         * rt/tst-aio.c: Include <fcntl.h>.
63465         * rt/tst-aio7.c: Likewise.
63466         * rt/tst-aio64.c: Likewise.
63468         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63470 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63472         * manual/install.texi (--with-headers): Describe headers as
63473         interface headers, not private headers.
63474         (Specific advice for GNU/Linux systems): Describe use of headers
63475         from "make headers_install", not private headers from older
63476         kernels.
63477         * INSTALL: Regenerated.
63478         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63479         Change to 2.6.19.
63480         * sysdeps/unix/sysv/linux/configure: Regenerated.
63482         * manual/llio.texi (fclean): Remove documentation.
63484         * manual/Makefile (libc-texi-generated): New variable.  Include
63485         version.texi.
63486         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63487         $(libc-texi-generated), not duplicated list of files.
63488         (version.texi, stamp-version): New rules.
63489         (realclean): Remove $(libc-texi-generated), not individual files
63490         from that list.  Do not remove dir-add.texinfo.
63491         * manual/libc.texinfo: Comment out uses of edition numbers and
63492         references to printed manual.  Remove last-updated dates.
63493         (EDITION): Comment out.
63494         (ISBN): Likewise.
63495         (VERSION, UPDATED): Remove.
63496         (version.texi): Include.
63498 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63500         * sysdeps/posix/spawni.c: Include <signal.h>.
63501         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63502         * sysdeps/pthread/aio_fsync.c: Likewise.
63504 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63506         * conform/Makefile (tests): Run only when not cross-compiling and
63507         when fast-check is not defined.
63509         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63510         * conform/data/limits.h-data: Fixes for POSIX2008.
63511         * conform/run-conformtest.sh: Run all tests.
63512         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63513         headers.
63514         * include/bits/dlfcn.h: Likewise.
63515         * include/langinfo.h: Likewise.
63516         * include/monetary.h: Likewise.
63517         * include/sys/poll.h: Likewise.
63519         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63520         for __USE_GNU.
63521         * posix/spawn.h: Define __need_sigset_t.
63522         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63523         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63524         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63525         to get sigevent_t only.
63526         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63527         only for __USE_GNU.
63528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63529         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63530         process_vm_writev only for __USE_GNU.
63531         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63533         * conform/Makefile: For now ignore errors from run-conformtest.
63534         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63535         POSIX to avoid namespace pollution.  Don't prepend headers.
63536         * conform/data/aio.h-data: Fixes for POSIX testing.
63537         * conform/data/fcntl.h-data: Likewise.
63538         * conform/data/glob.h-data: Likewise.
63539         * conform/data/grp.h-data: Likewise.
63540         * conform/data/pthread.h-data: Likewise.
63541         * conform/data/pwd.h-data: Likewise.
63542         * conform/data/signal.h-data: Likewise.
63543         * conform/data/spawn.h-data: Likewise.
63544         * conform/data/stdio.h-data: Likewise.
63545         * conform/data/stdlib.h-data: Likewise.
63546         * conform/data/stropts.h-data: Likewise.
63547         * conform/data/sys/mman.h-data: Likewise.
63548         * conform/data/sys/stat.h-data: Likewise.
63549         * conform/data/sys/types.h-data: Likewise.
63550         * conform/data/sys/wait.h-data: Likewise.
63551         * conform/data/time.h-data: Likewise.
63552         * conform/data/unistd.h-data: Likewise.
63553         * conform/data/utime.h-data: Likewise.
63555         * io/sys/stat.h: fchmod was always in POSIX.
63556         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63557         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63558         * rt/aio.h: Define __need_timespec before including <time.h>.
63559         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63560         struct.  Add forward declaration of pthread_attr_t and use it in
63561         sigevent.
63562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63564         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63565         always remove CLK_TCK definition.
63567 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63569         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63571 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63573         * conform/run-conformtest.sh: New file.
63574         * conform/Makefile: Run run-conformtest for tests.
63575         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63576         support.
63578         * conform/data/uchar.h-data: New file.
63579         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63580         * conform/data/arpa/inet.h-data: Likewise.
63581         * conform/data/assert.h-data: Likewise.
63582         * conform/data/complex.h-data: Likewise.
63583         * conform/data/cpio.h-data: Likewise.
63584         * conform/data/ctype.h-data: Likewise.
63585         * conform/data/dirent.h-data: Likewise.
63586         * conform/data/dlfcn.h-data: Likewise.
63587         * conform/data/errno.h-data: Likewise.
63588         * conform/data/fcntl.h-data: Likewise.
63589         * conform/data/float.h-data: Likewise.
63590         * conform/data/fmtmsg.h-data: Likewise.
63591         * conform/data/fnmatch.h-data: Likewise.
63592         * conform/data/ftw.h-data: Likewise.
63593         * conform/data/glob.h-data: Likewise.
63594         * conform/data/grp.h-data: Likewise.
63595         * conform/data/iconv.h-data: Likewise.
63596         * conform/data/inttypes.h-data: Likewise.
63597         * conform/data/langinfo.h-data: Likewise.
63598         * conform/data/libgen.h-data: Likewise.
63599         * conform/data/limits.h-data: Likewise.
63600         * conform/data/locale.h-data: Likewise.
63601         * conform/data/math.h-data: Likewise.
63602         * conform/data/monetary.h-data: Likewise.
63603         * conform/data/mqueue.h-data: Likewise.
63604         * conform/data/ndbm.h-data: Likewise.
63605         * conform/data/net/if.h-data: Likewise.
63606         * conform/data/netdb.h-data: Likewise.
63607         * conform/data/netinet/in.h-data: Likewise.
63608         * conform/data/nl_types.h-data: Likewise.
63609         * conform/data/poll.h-data: Likewise.
63610         * conform/data/pthread.h-data: Likewise.
63611         * conform/data/pwd.h-data: Likewise.
63612         * conform/data/regex.h-data: Likewise.
63613         * conform/data/sched.h-data: Likewise.
63614         * conform/data/search.h-data: Likewise.
63615         * conform/data/semaphore.h-data: Likewise.
63616         * conform/data/setjmp.h-data: Likewise.
63617         * conform/data/signal.h-data: Likewise.
63618         * conform/data/spawn.h-data: Likewise.
63619         * conform/data/stdarg.h-data: Likewise.
63620         * conform/data/stdio.h-data: Likewise.
63621         * conform/data/stdlib.h-data: Likewise.
63622         * conform/data/string.h-data: Likewise.
63623         * conform/data/strings.h-data: Likewise.
63624         * conform/data/stropts.h-data: Likewise.
63625         * conform/data/sys/ipc.h-data: Likewise.
63626         * conform/data/sys/mman.h-data: Likewise.
63627         * conform/data/sys/msg.h-data: Likewise.
63628         * conform/data/sys/resource.h-data: Likewise.
63629         * conform/data/sys/select.h-data: Likewise.
63630         * conform/data/sys/sem.h-data: Likewise.
63631         * conform/data/sys/shm.h-data: Likewise.
63632         * conform/data/sys/socket.h-data: Likewise.
63633         * conform/data/sys/stat.h-data: Likewise.
63634         * conform/data/sys/statvfs.h-data: Likewise.
63635         * conform/data/sys/time.h-data: Likewise.
63636         * conform/data/sys/timeb.h-data: Likewise.
63637         * conform/data/sys/times.h-data: Likewise.
63638         * conform/data/sys/types.h-data: Likewise.
63639         * conform/data/sys/uio.h-data: Likewise.
63640         * conform/data/sys/un.h-data: Likewise.
63641         * conform/data/sys/utsname.h-data: Likewise.
63642         * conform/data/sys/wait.h-data: Likewise.
63643         * conform/data/syslog.h-data: Likewise.
63644         * conform/data/tar.h-data: Likewise.
63645         * conform/data/termios.h-data: Likewise.
63646         * conform/data/utime.h-data: Likewise.
63647         * conform/data/utmpx.h-data: Likewise.
63648         * conform/data/varargs.h-data: Likewise.
63649         * conform/data/wchar.h-data: Likewise.
63650         * conform/data/wctype.h-data: Likewise.
63651         * conform/data/wordexp.h-data: Likewise.
63653         * include/stropts.h: New file.
63654         * include/uchar.h: New file.
63655         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63656         * include/assert.h: Likewise.
63657         * include/ctype.h: Likewise.
63658         * include/dirent.h: Likewise.
63659         * include/dlfcn.h: Likewise.
63660         * include/fcntl.h: Likewise.
63661         * include/fnmatch.h: Likewise.
63662         * include/glob.h: Likewise.
63663         * include/grp.h: Likewise.
63664         * include/libio.h: Likewise.
63665         * include/locale.h: Likewise.
63666         * include/math.h: Likewise.
63667         * include/net/if.h: Likewise.
63668         * include/netdb.h: Likewise.
63669         * include/netinet/in.h: Likewise.
63670         * include/pthread.h: Likewise.
63671         * include/pwd.h: Likewise.
63672         * include/regex.h: Likewise.
63673         * include/sched.h: Likewise.
63674         * include/search.h: Likewise.
63675         * include/setjmp.h: Likewise.
63676         * include/signal.h: Likewise.
63677         * include/stdio.h: Likewise.
63678         * include/stdlib.h: Likewise.
63679         * include/string.h: Likewise.
63680         * include/sys/cdefs.h: Likewise.
63681         * include/sys/mman.h: Likewise.
63682         * include/sys/msg.h: Likewise.
63683         * include/sys/resource.h: Likewise.
63684         * include/sys/select.h: Likewise.
63685         * include/sys/socket.h: Likewise.
63686         * include/sys/stat.h: Likewise.
63687         * include/sys/statvfs.h: Likewise.
63688         * include/sys/time.h: Likewise.
63689         * include/sys/times.h: Likewise.
63690         * include/sys/uio.h: Likewise.
63691         * include/sys/utsname.h: Likewise.
63692         * include/sys/wait.h: Likewise.
63693         * include/termios.h: Likewise.
63694         * include/time.h: Likewise.
63695         * include/ulimit.h: Likewise.
63696         * include/unistd.h: Likewise.
63697         * include/utime.h: Likewise.
63698         * include/wchar.h: Likewise.
63699         * include/wctype.h: Likewise.
63700         * include/wordexp.h: Likewise.
63702         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63704         * time/time.h: TIME_UTC must be a macro.
63705         Make timespec_get available for ISO C11 only as well.
63707 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63709         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63710         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63712 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63714         * configure.in: Use -o not -a in test for unsupported multi-arch.
63716 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63718         * manual/texinfo.tex: Update to version 2012-01-19.16.
63720 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63722         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63724 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63726         [BZ #13738]
63727         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63728         * manual/fdl-1.3.texi: New file.
63729         * manual/fdl-1.1.texi: File removed.
63731         [BZ #13738]
63732         * manual/libc.texinfo (FDL_VERSION): New @set.
63733         Use it for mention of FDL in cover text.
63734         (Documentation License): Use it in @include file name.
63736 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63737             Roland McGrath  <roland@hack.frob.com>
63739         [BZ #5461]
63740         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63741         (not LONG_LONG_MAX and LONG_LONG_MIN.
63742         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63743         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63744         name.
63745         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63747 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63749         [BZ #2547]
63750         [BZ #11365]
63751         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63752         manipulate bits before adding and subtracting TWO23[sx].
63753         * math/libm-test.inc (nearbyint_test): Add more tests.
63755 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63757         [BZ #2548]
63758         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63759         bits before adding and subtracting TWO23[sx].
63760         * math/libm-test.inc (rint_test): Add more tests.
63761         (rint_test_tonearest): Likewise.
63762         (rint_test_towardzero): Likewise.
63763         (rint_test_downward): Likewise.
63764         (rint_test_upward: Likewise.
63766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63768         [BZ #10110]
63769         * include/stdc-predef.h: New file.  Extracted from features.h.
63770         * include/features.h: Include stdc-predef.h.
63771         * Makefile (headers): Add stdc-predef.h.
63772         * CONFORMANCE (Compiler limitations): Update.
63774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63776         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63778 2012-02-21  David S. Miller  <davem@davemloft.net>
63780         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63781         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63783 2012-02-20  David S. Miller  <davem@davemloft.net>
63785         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63786         using a normal save/restore sequence, rather than allocating a
63787         dummy stack frame just to store a frame pointer and restore.
63788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63790 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63792         * manual/install.texi: Fix stray word in line-wrapped comment.
63794 2012-02-20  David S. Miller  <davem@davemloft.net>
63796         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63797         both binutils and gcc support GOTDATA.
63799         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63800         "rd %pc" in the PIC register setup sequences.
63802         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63803         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63804         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63805         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63806         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63809         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63811         (SYSCALL_ERROR_HANDLER): Likewise.
63812         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63813         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63815         (SYSCALL_ERROR_HANDLER): Likewise.
63817         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63818         (HAVE_GCC_GOTDATA): New.
63819         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63820         relocation support in both binutils and gcc.
63821         * sysdeps/sparc/elf/configure: Regenerate.
63823         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63824         * sysdeps/sparc/sparc32/elf/configure: Delete.
63825         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63826         * sysdeps/sparc/sparc64/elf/configure: Delete.
63827         * sysdeps/sparc/elf/configure.in: New file.
63828         * sysdeps/sparc/elf/configure: Generate.
63830         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63831         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63832         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63833         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63834         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63838         * manual/install.texi: Do not mention specific glibc version
63839         numbers.
63840         * manual/libc.texinfo (VERSION, UPDATED): Update.
63841         (@copying): Use @copyright{} and range of years.
63843 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63845         [BZ #13695]
63846         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63847         [crti.S not in sysdirs] (generated): Do not append.
63848         [crti.S not in sysdirs] (omit-deps): Likewise.
63849         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63850         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63851         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63852         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63853         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63854         Likewise.
63855         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63856         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63857         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63858         * csu/defs.awk: Remove file.
63859         * sysdeps/generic/initfini.c: Likewise.
63860         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63861         variable.
63862         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63863         Likewise.
63865 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63867         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63868         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63869         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63870         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63871         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63872         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63873         <bits/epoll.h>.
63874         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63875         (__EPOLL_PACKED): Define to empty if not defined by
63876         <bits/epoll.h>.
63877         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63879         bits/epoll.h.
63881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63883         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63884         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63885         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63886         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63887         <bits/timerfd.h>.
63888         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63890         bits/timerfd.h.
63892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63894         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63895         in C locale.
63896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63897         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63898         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63901 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63904         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63906 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63908         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63909         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63910         defined.
63911         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63912         Likewise.
63913         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63914         entry for 2.16.
63916 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63918         * math/w_acos.c: Use non-signaling floating-point comparisons.
63919         * math/w_acosf.c: Likewise.
63920         * math/w_acosh.c: Likewise.
63921         * math/w_acoshf.c: Likewise.
63922         * math/w_acoshl.c: Likewise.
63923         * math/w_acosl.c: Likewise.
63924         * math/w_asin.c: Likewise.
63925         * math/w_asinf.c: Likewise.
63926         * math/w_asinl.c: Likewise.
63927         * math/w_atanh.c: Likewise.
63928         * math/w_atanhf.c: Likewise.
63929         * math/w_atanhl.c: Likewise.
63930         * math/w_exp2.c: Likewise.
63931         * math/w_exp2f.c: Likewise.
63932         * math/w_exp2l.c: Likewise.
63933         * math/w_j0.c: Likewise.
63934         * math/w_j0f.c: Likewise.
63935         * math/w_j0l.c: Likewise.
63936         * math/w_j1.c: Likewise.
63937         * math/w_j1f.c: Likewise.
63938         * math/w_j1l.c: Likewise.
63939         * math/w_jn.c: Likewise.
63940         * math/w_jnf.c: Likewise.
63941         * math/w_log.c: Likewise.
63942         * math/w_log10.c: Likewise.
63943         * math/w_log10f.c: Likewise.
63944         * math/w_log10l.c: Likewise.
63945         * math/w_log2.c: Likewise.
63946         * math/w_log2f.c: Likewise.
63947         * math/w_log2l.c: Likewise.
63948         * math/w_logf.c: Likewise.
63949         * math/w_logl.c: Likewise.
63950         * math/w_sqrt.c: Likewise.
63951         * math/w_sqrtf.c: Likewise.
63952         * math/w_sqrtl.c: Likewise.
63953         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63954         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63955         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63956         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63957         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63961         [BZ #9739]
63962         * manual/string.texi (strnlen): Use correct parameter name in
63963         equivalent expression.
63965 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63967         [BZ #11174]
63968         * manual/users.texi (seteuid): Consistently use neweuid for
63969         argument name.
63971 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63973         [BZ #13704]
63974         * manual/nss.texi (Services in the NSS configuration): Correct
63975         list of services in example configuration file.
63977 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63979         [BZ #11322]
63980         * manual/arith.texi: Remove statements about negative zero
63981         behaving identically to zero.
63983 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63985         [BZ #5993]
63986         * manual/install.texi: Do not document upgrading from libc5.
63988 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63990         [BZ #4596]
63991         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63993 2012-02-18  David S. Miller  <davem@davemloft.net>
63995         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63996         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63997         %o7 across the call.
63998         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63999         instead.
64000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64001         SETUP_PIC_REG_LEAF.
64002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64003         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64004         * sysdeps/sparc/crtn.S: Likewise.
64006 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64008         * aout/Makefile: Remove.
64010 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64012         [BZ #13058]
64013         * manual/examples/argp-ex1.c (main): Format definition in GNU
64014         style.
64015         * manual/examples/argp-ex2.c (main): Likewise.
64016         * manual/examples/argp-ex3.c (main): Likewise.
64017         * manual/examples/argp-ex4.c (main): Likewise.
64018         * manual/examples/longopt.c (main): Use new-style prototype
64019         definition.
64020         * manual/examples/strncat.c (main): Specify return type and use
64021         (void) for arguments.
64022         * manual/examples/subopt.c (main): Use char **argv argument.
64024 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64026         [BZ #5077]
64027         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64028         rounding modes.
64030 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64032         [BZ #6907]
64033         * manual/string.texi (strchr): Change when strchrnul is
64034         recommended.
64036 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64038         [BZ #174]
64039         * manual/locale.texi (setlocale): Document LOCPATH.
64041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64043         [BZ #10210]
64044         * manual/process.texi (execle): Move @dots{} before last argument.
64046 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64048         [BZ #12047]
64049         * manual/charset.texi (Generic Charset Conversion): Fix typo
64050         (LC_TYPE -> LC_CTYPE).
64052 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64054         [BZ #5805]
64055         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64056         (scalbnf): Likewise.
64057         (scalbnl): Likewise.
64058         (scalbln): Likewise.
64059         (scalblnf): Likewise.
64060         (scalblnl): Likewise.
64061         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64062         (vwarnx): Likewise.
64063         (verr): Likewise.
64064         (verrx): Likewise.
64065         * manual/filesys.texi (telldir): Use braces around return type.
64066         * manual/llio.texi (mmap): Add space after comma.
64067         (mmap64): Likewise.
64068         * manual/math.texi (jn): Use @var{} on parameter names.
64069         (jnf): Likewise.
64070         (jnl): Likewise.
64071         (yn): Likewise.
64072         (ynf): Likewise.
64073         (ynl): Likewise.
64074         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64075         line.
64076         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64077         "...".
64078         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64079         (sched_get_priority_max): Likewise.
64080         * manual/signal.texi (sigvec): Add space after comma.
64081         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64082         names.
64083         (if_indextoname): Likewise.
64084         (if_freenameindex): Likewise.
64085         (sendto): Use ',' instead of '.' in prototype.
64086         * manual/startup.texi (syscall): Use @dots{} instead of literal
64087         "...".
64088         * manual/stdio.texi (__fpending): Separate initial words of
64089         paragraph from @deftypefun line.
64090         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64091         "...".
64092         (vsyslog): Use @var{} on parameter names.
64093         * manual/terminal.texi (stty): Use @var{} on parameter names.
64094         * manual/users.texi (getutmp): Use @var{} on parameter names.
64095         (getutmpx): Likewise.
64097 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64099         [BZ #6884]
64100         * manual/stdio.texi (fopen): Fix typos in description of
64101         ",ccs=STRING".
64103 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64105         [BZ #4026]
64106         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64107         get clock_id definition.
64109 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64111         [BZ #4822]
64112         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64113         (madvise): Cast every argument to void on its own.
64115 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64117         [BZ #9902]
64118         * manual/startup.texi (Exit Status): Fix typo.
64120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64122         [BZ #10140]
64123         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64124         * manual/examples/argp-ex2.c: Likewise.
64125         * manual/examples/argp-ex3.c: Likewise.
64127 2012-02-16  Richard Henderson  <rth@redhat.com>
64129         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64130         * sysdeps/s390/s390-32/initfini.c: Remove.
64131         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64132         * sysdeps/s390/s390-64/initfini.c: Remove.
64134 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64136         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64137         compiler output for sysdeps/generic/initfini.c.
64138         * sysdeps/sh/elf/initfini.c: Remove file.
64140 2012-02-16  David S. Miller  <davem@davemloft.net>
64142         [BZ #11494]
64143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64145         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64146         * sysdeps/sparc/crti.S: New file.
64147         * sysdeps/sparc/crtn.S: New file.
64148         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64149         * sysdeps/sparc/sparc64/Makefile: Likewise.
64151 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64153         [BZ #3335]
64154         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64156 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64158         [BZ #4822]
64159         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64161         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64162         (write, read, close): Likewise.
64163         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64165 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64167         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64168         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64169         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64170         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64171         <bits/signalfd.h>.
64172         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64174         bits/signalfd.h.
64176 2012-02-14  Marek Polacek  <polacek@redhat.com>
64178         * sysdeps/x86_64/crti.S: New file.
64179         * sysdeps/x86_64/crtn.S: New file.
64180         * sysdeps/x86_64/elf/initfini.c: Remove file.
64182 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64184         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64185         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64186         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64187         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64188         <bits/inotify.h>.
64189         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64191         bits/inotify.h.
64193 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64195         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64196         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64197         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64198         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64199         <bits/eventfd.h>.
64200         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64202         bits/eventfd.h.
64204 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64206         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64207         __feraiseexcept instead of feraiseexcept.
64209         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64210         nanosleep invocations.
64211         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64212         strings, and add error checking for a nanosleep invocations.
64214 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64216         Replace FSF snail mail address with URLs, as per GNU coding standards.
64217         Most of the snail mail addresses were wrong anyway, and omitting
64218         them makes the source code easier to maintain.  Almost all of the
64219         changes are to license notices and to locale LC_IDENTIFICATION
64220         addresses, except for this one:
64221         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64222         not its snail mail address.
64224 2012-02-09  Richard Henderson  <rth@twiddle.net>
64226         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64227         of kernel-features.h.
64229         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64231 2012-02-08  Marek Polacek  <polacek@redhat.com>
64233         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64234         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64235         * sysdeps/gnu/_G_config.h: Likewise.
64236         * sysdeps/generic/_G_config.h: Likewise.
64238 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64240         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64241         tests.
64242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64244         * sysdeps/powerpc/powerpc32/crti.S: New file.
64245         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64246         * sysdeps/powerpc/powerpc64/crti.S: New file.
64247         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64249         * Makeconfig (have-initfini): Don't set.
64250         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64251         * configure.in (nopic_initfini): Don't substitute.
64252         * config.h.in (HAVE_INITFINI): Don't #undef.
64253         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64254         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64256 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64258         Support crti.S and crtn.S provided directly by architectures.
64259         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64260         [crti.S in sysdirs] (omit-deps): Likewise.
64261         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64262         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64263         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64264         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64265         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64266         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64267         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64268         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64269         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64270         compiler output for sysdeps/generic/initfini.c.
64271         * sysdeps/i386/elf/Makefile: Remove file.
64272         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64274 2012-02-07  Marek Polacek  <polacek@redhat.com>
64276         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64277         * sysdeps/gnu/_G_config.h: Likewise.
64278         * sysdeps/mach/hurd/_G_config.h: Likewise.
64280 2012-02-07  Marek Polacek  <polacek@redhat.com>
64282         * math/Makefile (tests): Add tst-CMPLX2.
64283         * math/tst-CMPLX2.c: New file.
64285 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64289         * math/libm-test.inc (jn_test): Add missing L suffix.
64291 2012-02-06  Marek Polacek  <polacek@redhat.com>
64293         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64294         * sysdeps/i386/fpu/e_powf.S: Likewise.
64295         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64296         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64297         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64298         * sysdeps/i386/fpu/e_pow.S: Likewise.
64299         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64301         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64302         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64303         * sysdeps/i386/fpu/e_log2.S: Likewise.
64304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64305         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64306         * sysdeps/i386/fpu/e_powl.S: Likewise.
64307         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64308         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64309         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64310         * sysdeps/i386/fpu/e_logl.S: Likewise.
64311         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64312         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64313         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64314         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64315         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64316         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64317         * sysdeps/i386/fpu/e_log.S: Likewise.
64318         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64320         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64321         * sysdeps/i386/fpu/e_logf.S: Likewise.
64322         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64323         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64324         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64325         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64326         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64327         * sysdeps/i386/fpu/e_log10.S: Likewise.
64328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64333         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64334         * sysdeps/i386/asm-syntax.h: Likewise.
64335         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64336         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64337         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64338         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64339         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64344         * sysdeps/powerpc/sysdep.h: Likewise.
64345         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64348 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64350         [BZ #411]
64351         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64353 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64355         * sysdeps/i386/sysdep.h: Include <features.h>.
64356         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64357         version.
64359 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64361         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64362         Define.
64363         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64364         LOAD_PIC_REG_STR.
64366 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64368         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64369         (SETUP_PIC_REG): Use GET_PC_THUNK.
64370         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64371         macro.
64373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64375         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64376         for non-PIC compilation.
64377         (SETUP_PIC_REG): Add .p2align directive.
64378         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64379         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64380         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64381         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64382         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64383         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64384         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64386         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64387         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64388         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64389         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64390         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64391         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64392         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64393         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64394         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64395         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64396         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64397         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64398         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64402         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64406         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64407         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64408         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64409         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64410         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64411         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64412         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64413         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64414         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64415         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64416         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64417         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64418         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64420 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64422         * math/tst-CMPLX.c: Include <stdio.h>.
64424 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64426         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64427         float.
64428         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64429         * sysdeps/sparc/bits/mathdef.h: Likewise.
64431 2012-01-31  Marek Polacek  <polacek@redhat.com>
64433         * libio/libio.h: Don't define _PARAMS.
64434         * locale/programs/config.h: Don't define PARAMS.
64435         * stdlib/strtol_l.c: Likewise.
64436         (__strtol_l): Remove PARAMS from the prototype.
64438 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64440         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64441         names.  Just use the correct names.  Remove unnecessary wrapper
64442         functions.
64443         * malloc/arena.c: Likewise.
64444         * malloc/hooks.c: Likewise.
64446         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64447         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64448         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64450 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64452         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64453         into tail calls.
64454         (update_get_addr): New function.
64455         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64456         GET_ADDR_MODULE parameter.
64458 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64460         * crypt/cert.c: Remove __STDC__ conditionals.
64461         * crypt/crypt-entry.c: Likewise.
64462         * crypt/crypt_util.c: Likewise.
64463         * libio/filedoalloc.c: Likewise.
64464         * libio/fileops.c: Likewise.
64465         * libio/genops.c: Likewise.
64466         * libio/iofclose.c: Likewise.
64467         * libio/iofdopen.c: Likewise.
64468         * libio/iofopen.c: Likewise.
64469         * libio/iofopen64.c: Likewise.
64470         * libio/iogetdelim.c: Likewise.
64471         * libio/iopopen.c: Likewise.
64472         * libio/obprintf.c: Likewise.
64473         * libio/oldfileops.c: Likewise.
64474         * libio/oldiofclose.c: Likewise.
64475         * libio/oldiofdopen.c: Likewise.
64476         * libio/oldiofopen.c: Likewise.
64477         * libio/oldiopopen.c: Likewise.
64478         * libio/wfiledoalloc.c: Likewise.
64479         * libio/wgenops.c: Likewise.
64480         * locale/programs/xmalloc.c: Likewise.
64481         * misc/syslog.c: Likewise.
64482         * stdio-common/xbug.c: Likewise.
64483         * string/memchr.c: Likewise.
64484         * string/memcmp.c: Likewise.
64485         * string/memrchr.c: Likewise.
64486         * string/rawmemchr.c: Likewise.
64487         * sysdeps/posix/getcwd.c: Likewise.
64488         * time/strftime_l.c: Likewise.
64490 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64492         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64493         * config.make.in (config-cflags-sse2avx): Define.
64494         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64495         Fix typo.
64497 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64499         * scripts/config.guess: Update from upstream config git repository.
64500         * scripts/config.sub: Likewise.
64502 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64504         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64505         (EM_NUM): Update.
64506         (R_TILEPRO_*, R_TILEGX_*): New macros.
64508         * scripts/firstversions.awk: Fix bug in version range handling.
64510         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64512         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64514         * include/sys/epoll.h: New file.
64515         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64516         libc_hidden_def.
64518 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64520         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64521         Avoid unnecessary __WORDSIZE == 64 test.
64522         (fmaxf): Use VEX format if possible.
64523         (fmax): Likewise.
64524         (fminf): Likewise.
64525         (fmin): Likewise.
64527         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64528         * math/math_private.h: Remove libc_fegetround* and
64529         libc_fesetround*.
64530         * sysdeps/i386/configure.in: Check for -msse2avx.
64531         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64532         also if SSE2AVX is defined.
64533         Remove libc_fegetround* and libc_fesetround*.
64534         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64535         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64537         of HAS_YMM_USABLE.
64538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64539         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64540         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64541         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64542         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64544         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64546 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64548         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64549         size is not set.
64550         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64552 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64554         [BZ #13618]
64555         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64556         relocation.
64557         * Makeconfig (libm): Define.
64558         * elf/Makefile: Add rules to build and run tst-relsort1.
64559         * elf/tst-relsort1.c: New file.
64560         * elf/tst-relsort1mod1.c: New file.
64561         * elf/tst-relsort1mod2.c: New file.
64563 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64565         * math/s_ldexp.c: Remove __STDC__ conditionals.
64566         * math/s_ldexpf.c: Likewise.
64567         * math/s_ldexpl.c: Likewise.
64568         * math/s_nextafter.c: Likewise.
64569         * math/s_nexttowardf.c: Likewise.
64570         * math/s_significand.c: Likewise.
64571         * math/s_significandf.c: Likewise.
64572         * math/s_significandl.c: Likewise.
64573         * math/w_jnl.c: Likewise.
64574         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64575         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64576         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64577         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64578         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64580         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64583         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64584         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64585         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64586         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64587         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64588         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64589         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64590         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64593         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64594         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64595         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64596         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64598         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64599         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64600         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64601         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64602         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64603         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64604         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64605         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64607         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64608         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64609         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64610         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64611         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64612         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64613         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64614         * sysdeps/ieee754/k_standard.c: Likewise.
64615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64622         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64623         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64624         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64625         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64626         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64627         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64628         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64629         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64630         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64631         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64632         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64633         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64634         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64637         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64638         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64639         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64640         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64644         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64645         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64647         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64648         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64650         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64651         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64654         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64655         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64658         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64663         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64665         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64666         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64668         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64670         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64671         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64672         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64673         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64674         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64682         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64683         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64686         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64687         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64688         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64689         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64690         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64691         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64692         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64693         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64694         * sysdeps/ieee754/s_matherr.c: Likewise.
64695         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64696         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64697         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64702         * crypt/md5.h: Remove __STDC__ conditionals.
64703         * libio/libioP.h: Likewise.
64704         * locale/programs/config.h: Likewise.
64705         * sysdeps/generic/sysdep.h: Likewise.
64706         * sysdeps/i386/asm-syntax.h: Likewise.
64707         * sysdeps/s390/asm-syntax.h: Likewise.
64708         * sysdeps/unix/sysdep.h: Likewise.
64709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64712 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64714         * libio/libio.h: Remove __STDC__ conditionals.
64715         * malloc/obstack.h: Likewise.
64716         * math/complex.h: Likewise.
64717         * math/math.h: Likewise.
64718         * sysdeps/generic/_G_config.h: Likewise.
64719         * sysdeps/gnu/_G_config.h: Likewise.
64720         * sysdeps/mach/hurd/_G_config.h: Likewise.
64721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64722         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64723         * sysdeps/sparc/bits/mathdef.h: Likewise.
64725 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64727         [BZ #13583]
64728         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64729         Clean up HAS_* macros.
64730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64731         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64732         possible.
64733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64734         HAS_AVX.
64735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64736         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64737         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64738         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64739         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64741 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64743         * elf/tst-unique3.cc (gets): Remove declaration.
64744         * elf/tst-unique3lib.cc (gets): Likewise.
64745         * elf/tst-unique3lib2.cc (gets): Likewise.
64746         * elf/tst-unique4.cc (gets): Likewise.
64748 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64750         * include/stdio.h: Add C++ protection.  Add gets declarations and
64751         definitions.
64752         * debug/tst-chk1.c: Don't declare gets here.
64753         * stdio-common/tst-gets.c: Likewise.
64755 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64757         * posix/glob: Remove directory.
64759 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64761         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64763 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64765         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64766         of the non-standard EPFNOSUPPORT.
64768 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64770         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64771         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64772         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64774 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64776         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64778 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64780         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64781         transient errors.
64782         * nscd/grpcache.c (cache_addgr): Likewise.
64783         * nscd/hstcache.c (cache_addhst): Likewise.
64784         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64785         * nscd/pwdcache.c (cache_addpw): Likewise.
64786         * nscd/servicescache.c (cache_addserv): Likewise.
64788 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64790         * malloc/malloc.c: Various cleanups.
64791         * malloc/hooks.c: Likewise.
64793         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64794         * stdlib/bug-fmtmsg1.c: New file.
64796         * stdlib/fmtmsg.c (init): Add missing unlock.
64797         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64799 2012-01-12  Marek Polacek  <polacek@redhat.com>
64801         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64802         and _GNU_SOURCE.
64804 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64806         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64807         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64808         macro to ensure uniqueness of label name.
64809         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64810         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64812 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64817         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64821 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64825         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64826         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64827         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64829         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64831         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64832         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64833         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64834         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64836         * math/bits/math-finite.h: Add ldexp support.
64838 2012-01-10  Marek Polacek  <polacek@redhat.com>
64840         * locale/programs/localedef.h (show_archive_content): Add noreturn
64841         attribute.
64843 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64845         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64847 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64849         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64851         * io/Makefile (headers): Add bits/poll2.h.
64853 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64856         typo #include statement.
64858 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64860         * include/sys/cdefs.h: Define __attribute_alloc_size.
64861         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64862         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64863         * elf/pldd.c: Likewise.
64864         * iconv/iconv_charmap.c: Likewise.
64865         * iconv/iconvconfig.c: Likewise.
64866         * iconv/strtab.c: Likewise.
64867         * locale/programs/locale.c: Likewise.
64868         * locale/programs/localedef.h: Likewise.
64869         * locale/programs/simple-hash.c: Likewise.
64870         * nscd/nscd.h: Likewise.
64871         * nss/makedb.c: Likewise.
64872         * sysdeps/generic/ldconfig.h: Likewise.
64873         * locale/programs/localedef.c: Remove xmalloc prototype.
64874         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64876 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64879         appropriate.
64881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64883         * math/Makefile (tests): Add tst-CMPLX.
64884         * math/tst-CMPLX.c: New file.
64886         * math/complex.h (CMPLXL): Fix typo.
64888         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64889         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64890         GLIBC_2.16.
64891         * debug/tst-chk1.c: Add poll and ppoll tests.
64892         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64893         * include/sys/poll.h: Add hidden proto for ppoll.
64894         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64895         * sysdeps/mach/hurd/ppoll.c: Likewise.
64896         * io/ppoll.c: Likewise.
64897         * debug/poll_chk.c: New file.
64898         * debug/ppoll_chk.c: New file.
64899         * include/bits/poll2.h: New file.
64900         * io/bits/poll2.h: New file.
64902         [BZ #1350]
64903         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64905         * configure.in: static is always set to yes.  Remove.
64906         * config.make.in: Don't set build-static.
64907         * Makeconfig: Remove use of build-static.
64908         * dlfcn/Makefile: Likewise.
64909         * elf/Makefile: Likewise.
64910         * math/Makefile: Likewise.
64911         * misc/Makefile: Likewise.
64912         * nptl/Makefile: Likewise.
64913         * sysdeps/mach/hurd/Makefile: Likewise.
64915         * configure.in: PWD_P is not used anymore.
64916         * config.make.in: Remove PWD_P entry.
64918         * configure.in: Remove last remnants of RANLIB.
64919         No need to check for signed size_t anymore.
64920         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64921         and IA-64.
64922         Remove __builtin_expect test because we require at least gcc 3.4.
64923         * aclocal.m4: Likewise.
64925         * wcsmbs/mbrtoc16.c: Implement using towc function.
64926         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64927         * wcsmbs/wcsmbsload.c: Likewise.
64928         * iconv/gconv_simple.c: Likewise.
64929         * iconv/gconv_int.h: Likewise.
64930         * iconv/gconv_builtin.h: Likewise.
64931         * iconv/iconv_prog.c: Remove CHAR16 handling.
64933         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64935         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64937         * configure.in: Remove --with-elf and --enable-bounded options.
64938         Dont set base_machine for ia64.  More non-ELF conditions removed.
64939         Remove testing and setting of leading underscore information.
64940         * config.make.in (build-bounded): Set to no.
64941         * config.h.in: Remove NO_UNDERSCORES entry.
64942         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64943         them.
64944         * csu/start.c: Remove !NO_UNDERSCORE code.
64945         * locale/localeinfo.h: Likewise.
64946         * sysdeps/generic/machine-gmon.h: Likewise.
64947         * sysdeps/generic/sysdep.h: Likewise.
64948         * sysdeps/i386/sysdep.h: Likewise.
64949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64950         * sysdeps/mach/sysdep.h: Likewise.
64951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64953         * sysdeps/sh/sysdep.h: Likewise.
64954         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64955         * sysdeps/unix/i386/sysdep.S: Likewise.
64956         * sysdeps/unix/sparc/start.c: Likewise.
64957         * sysdeps/unix/sparc/sysdep.S: Likewise.
64958         * sysdeps/unix/sparc/sysdep.h: Likewise.
64959         * sysdeps/unix/start.c: Likewise.
64960         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64961         * sysdeps/x86_64/sysdep.h: Likewise.
64963 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64965         [BZ #13553]
64966         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64967         for non-gcc.
64968         * argp/argp-fmtstream.h: Use const instead __const.
64969         * argp/argp.h: Likewise.
64970         * assert/assert.h: Likewise.
64971         * bits/fenv.h: Likewise.
64972         * bits/sched.h: Likewise.
64973         * bits/sigset.h: Likewise.
64974         * bits/sigthread.h: Likewise.
64975         * catgets/nl_types.h: Likewise.
64976         * conform/data/pthread.h-data: Likewise.
64977         * crypt/crypt-private.h: Likewise.
64978         * crypt/crypt.h: Likewise.
64979         * crypt/crypt_util.c: Likewise.
64980         * ctype/ctype.h: Likewise.
64981         * debug/execinfo.h: Likewise.
64982         * debug/mbsnrtowcs_chk.c: Likewise.
64983         * debug/mbsrtowcs_chk.c: Likewise.
64984         * debug/wcsnrtombs_chk.c: Likewise.
64985         * debug/wcsrtombs_chk.c: Likewise.
64986         * debug/wcstombs_chk.c: Likewise.
64987         * dirent/dirent.h: Likewise.
64988         * dlfcn/dlfcn.h: Likewise.
64989         * elf/neededtest4.c: Likewise.
64990         * grp/grp.h: Likewise.
64991         * gshadow/gshadow.h: Likewise.
64992         * iconv/gconv.h: Likewise.
64993         * iconv/gconv_int.h: Likewise.
64994         * iconv/gconv_simple.c: Likewise.
64995         * iconv/iconv.h: Likewise.
64996         * iconv/loop.c: Likewise.
64997         * iconv/skeleton.c: Likewise.
64998         * include/aio.h: Likewise.
64999         * include/aliases.h: Likewise.
65000         * include/argz.h: Likewise.
65001         * include/arpa/inet.h: Likewise.
65002         * include/assert.h: Likewise.
65003         * include/dirent.h: Likewise.
65004         * include/dlfcn.h: Likewise.
65005         * include/execinfo.h: Likewise.
65006         * include/fcntl.h: Likewise.
65007         * include/fenv.h: Likewise.
65008         * include/glob.h: Likewise.
65009         * include/grp.h: Likewise.
65010         * include/libintl.h: Likewise.
65011         * include/mntent.h: Likewise.
65012         * include/netdb.h: Likewise.
65013         * include/pwd.h: Likewise.
65014         * include/rpc/netdb.h: Likewise.
65015         * include/sched.h: Likewise.
65016         * include/search.h: Likewise.
65017         * include/shadow.h: Likewise.
65018         * include/signal.h: Likewise.
65019         * include/stdio.h: Likewise.
65020         * include/stdlib.h: Likewise.
65021         * include/string.h: Likewise.
65022         * include/sys/socket.h: Likewise.
65023         * include/sys/stat.h: Likewise.
65024         * include/sys/statfs.h: Likewise.
65025         * include/sys/statvfs.h: Likewise.
65026         * include/sys/syslog.h: Likewise.
65027         * include/sys/time.h: Likewise.
65028         * include/sys/uio.h: Likewise.
65029         * include/time.h: Likewise.
65030         * include/unistd.h: Likewise.
65031         * include/utmp.h: Likewise.
65032         * include/wchar.h: Likewise.
65033         * include/wctype.h: Likewise.
65034         * inet/aliases.h: Likewise.
65035         * inet/arpa/inet.h: Likewise.
65036         * inet/netinet/ether.h: Likewise.
65037         * inet/netinet/in.h: Likewise.
65038         * intl/libintl.h: Likewise.
65039         * io/bits/fcntl2.h: Likewise.
65040         * io/fcntl.h: Likewise.
65041         * io/ftw.h: Likewise.
65042         * io/sys/poll.h: Likewise.
65043         * io/sys/stat.h: Likewise.
65044         * io/sys/statfs.h: Likewise.
65045         * io/sys/statvfs.h: Likewise.
65046         * io/utime.h: Likewise.
65047         * libio/bits/stdio.h: Likewise.
65048         * libio/bits/stdio2.h: Likewise.
65049         * libio/libio.h: Likewise.
65050         * libio/libioP.h: Likewise.
65051         * libio/stdio.h: Likewise.
65052         * locale/lc-ctype.c: Likewise.
65053         * locale/locale.h: Likewise.
65054         * login/utmp.h: Likewise.
65055         * malloc/arena.c: Likewise.
65056         * malloc/malloc.c: Likewise.
65057         * malloc/malloc.h: Likewise.
65058         * malloc/mcheck.c: Likewise.
65059         * malloc/mtrace.c: Likewise.
65060         * math/bits/mathcalls.h: Likewise.
65061         * math/fenv.h: Likewise.
65062         * math/math_private.h: Likewise.
65063         * misc/bits/error.h: Likewise.
65064         * misc/bits/syslog.h: Likewise.
65065         * misc/err.h: Likewise.
65066         * misc/error.h: Likewise.
65067         * misc/fstab.h: Likewise.
65068         * misc/mntent.h: Likewise.
65069         * misc/regexp.h: Likewise.
65070         * misc/search.h: Likewise.
65071         * misc/sgtty.h: Likewise.
65072         * misc/sys/mman.h: Likewise.
65073         * misc/sys/syslog.h: Likewise.
65074         * misc/sys/uio.h: Likewise.
65075         * misc/sys/xattr.h: Likewise.
65076         * misc/ttyent.h: Likewise.
65077         * nis/rpcsvc/ypclnt.h: Likewise.
65078         * nss/nss.h: Likewise.
65079         * posix/bits/unistd.h: Likewise.
65080         * posix/fnmatch.h: Likewise.
65081         * posix/glob.h: Likewise.
65082         * posix/sched.h: Likewise.
65083         * posix/spawn.h: Likewise.
65084         * posix/sys/wait.h: Likewise.
65085         * posix/unistd.h: Likewise.
65086         * posix/wordexp.h: Likewise.
65087         * pwd/pwd.h: Likewise.
65088         * resolv/netdb.h: Likewise.
65089         * resource/sys/resource.h: Likewise.
65090         * rt/aio.h: Likewise.
65091         * rt/bits/mqueue2.h: Likewise.
65092         * rt/mqueue.h: Likewise.
65093         * shadow/shadow.h: Likewise.
65094         * signal/signal.h: Likewise.
65095         * socket/send.c: Likewise.
65096         * socket/sendto.c: Likewise.
65097         * socket/sys/socket.h: Likewise.
65098         * stdio-common/printf.h: Likewise.
65099         * stdlib/bits/stdlib.h: Likewise.
65100         * stdlib/fmtmsg.h: Likewise.
65101         * stdlib/monetary.h: Likewise.
65102         * stdlib/stdlib.h: Likewise.
65103         * stdlib/ucontext.h: Likewise.
65104         * streams/stropts.h: Likewise.
65105         * string/argz.h: Likewise.
65106         * string/bits/string2.h: Likewise.
65107         * string/string.h: Likewise.
65108         * string/strings.h: Likewise.
65109         * sunrpc/rpc/auth.h: Likewise.
65110         * sunrpc/rpc/auth_des.h: Likewise.
65111         * sunrpc/rpc/clnt.h: Likewise.
65112         * sunrpc/rpc/netdb.h: Likewise.
65113         * sunrpc/rpc/pmap_clnt.h: Likewise.
65114         * sunrpc/rpc/xdr.h: Likewise.
65115         * sysdeps/generic/inttypes.h: Likewise.
65116         * sysdeps/generic/net/if.h: Likewise.
65117         * sysdeps/generic/sys/swap.h: Likewise.
65118         * sysdeps/gnu/net/if.h: Likewise.
65119         * sysdeps/gnu/utmpx.h: Likewise.
65120         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65121         * sysdeps/i386/i486/bits/string.h: Likewise.
65122         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65123         * sysdeps/s390/bits/string.h: Likewise.
65124         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65125         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65126         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65127         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65128         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65129         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65130         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65131         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65132         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65133         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65134         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65135         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65136         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65137         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65138         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65139         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65140         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65142         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65143         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65144         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65145         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65146         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65147         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65148         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65149         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65150         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65152         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65153         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65154         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65155         * sysvipc/sys/ipc.h: Likewise.
65156         * sysvipc/sys/msg.h: Likewise.
65157         * sysvipc/sys/sem.h: Likewise.
65158         * sysvipc/sys/shm.h: Likewise.
65159         * termios/termios.h: Likewise.
65160         * time/sys/time.h: Likewise.
65161         * time/time.h: Likewise.
65162         * wcsmbs/bits/wchar2.h: Likewise.
65163         * wcsmbs/uchar.h: Likewise.
65164         * wcsmbs/wchar.h: Likewise.
65165         * wctype/wctype.h: Likewise.
65167         [BZ #13551]
65168         * Makeconfig: Remove all but ELF support including AIX support.
65169         * Makerules: Likewise.
65170         * config.h.in: Likewise.
65171         * config.make.in: Likewise.
65172         * configure: Likewise.
65173         * configure.in: Likewise.
65174         * csu/Makefile: Likewise.
65175         * csu/version.c: Likewise.
65176         * debug/Makefile: Likewise.
65177         * dlfcn/Makefile: Likewise.
65178         * elf/Makefile: Likewise.
65179         * extra-lib.mk: Likewise.
65180         * iconv/Makefile: Likewise.
65181         * include/libc-symbols.h: Likewise.
65182         * include/shlib-compat.h: Likewise.
65183         * resolv/Makefile: Likewise.
65184         * resolv/res_libc.c: Likewise.
65185         * rt/Makefile: Likewise.
65186         * sysdeps/i386/asm-syntax.h: Likewise.
65187         * sysdeps/i386/sysdep.h: Likewise.
65188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65189         * sysdeps/mach/sysdep.h: Likewise.
65190         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65191         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65192         * sysdeps/s390/asm-syntax.h: Likewise.
65193         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65194         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65195         * sysdeps/sh/sysdep.h: Likewise.
65196         * sysdeps/unix/sparc/sysdep.h: Likewise.
65197         * sysdeps/wordsize-32/divdi3.c: Likewise.
65198         * sysdeps/x86_64/sysdep.h: Likewise.
65200         * argp/Versions: Remove _argp_unlock_xxx.
65202         [BZ #13559]
65203         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65204         * abilist/libBrokenLocale.abilist: Likewise.
65205         * abilist/libanl.abilist: Likewise.
65206         * abilist/libc.abilist: Likewise.
65207         * abilist/libcrypt.abilist: Likewise.
65208         * abilist/libdl.abilist: Likewise.
65209         * abilist/libm.abilist: Likewise.
65210         * abilist/libnsl.abilist: Likewise.
65211         * abilist/libpthread.abilist: Likewise.
65212         * abilist/libresolv.abilist: Likewise.
65213         * abilist/librt.abilist: Likewise.
65214         * abilist/libthread_db.abilist: Likewise.
65215         * abilist/libutil.abilist: Likewise.
65216         * abilist/libnss_db.abilist: New file.
65218         * scripts/abilist.awk: Add support for indirect functions.
65220         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65222         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65224         * shlib-versions: Remove entries for ports architectures.
65226         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65227         files in ports.
65228         * elf/stackguard-macros.h: Remove support for IA-64.
65229         * elf/tst-auditmod1.c: Likewise.
65230         * sysdeps/generic/ldsodefs.h: Likewise.
65232         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65233         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65234         configure files.
65236         [BZ #13552]
65237         * configure.in: Remove --enable-omitfp support.
65238         * FAQ.in: Adjust.
65239         * config.make.in: Likewise.
65240         * Makeconfig: Likewise.
65241         * manual/install.texi: Likewise.
65243         In case anyone cares, the IA-64 architecture could move to ports.
65244         * sysdeps/ia64/*: Removed.
65245         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65246         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65248         [BZ #13555]
65249         * configure.in: Remove entries for unsupported architectures.
65251         [BZ #13533]
65252         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65253         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65254         routines.
65255         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65256         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65257         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65258         fall back to using wcrtomb.
65259         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65260         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65261         renaming.
65262         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65263         * wcsmbs/tst-c16c32-1.c: New file.
65265         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65266         local variable.
65268         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65270         * elf/tst-unique3.cc: Add explicit declaration of gets.
65271         * elf/tst-unique3lib.cc: Likewise.
65272         * elf/tst-unique3lib2.cc: Likewise.
65273         * elf/tst-unique4.cc: Likewise.
65275         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65277 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65279         [BZ #13566]
65280         * assert/assert.h (static_assert): Don't define for C++.
65281         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65282         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65284 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65286         * iconv/loop.c (single loop): Fix assertion in storing of
65287         remaining bytes.
65289         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65291 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65293         * posix/getconf.c: Update copyright year.
65294         * nss/getent.c: Likewise.
65295         * nss/makedb.c: Likewise.
65296         * iconv/iconvconfig.c: Likewise.
65297         * iconv/iconv_prog.c: Likewise.
65298         * elf/ldconfig.c: Likewise.
65299         * elf/pldd.c: Likewise.
65300         * elf/sotruss.ksh: Likewise.
65301         * catgets/gencat.c: Likewise.
65302         * csu/version.c: Likewise.
65303         * elf/ldd.bash.in: Likewise.
65304         * elf/sprof.c (print_version): Likewise.
65305         * locale/programs/locale.c: Likewise.
65306         * locale/programs/localedef.c: Likewise.
65307         * login/programs/pt_chown.c: Likewise.
65308         * nscd/nscd.c (print_version): Likewise.
65309         * debug/xtrace.sh: Likewise.
65310         * malloc/memusage.sh: Likewise.
65311         * malloc/mtrace.pl: Likewise.
65312         * debug/catchsegv.sh: Likewise.
65314 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65316         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65317         pure attribute.
65319 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65321         [BZ #13533]
65322         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65323         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65324         transformations.
65325         * iconv/gconv_int.h: Likewise.
65326         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65327         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65328         from libc for GLIBC_2.16.
65329         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65330         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65331         * wcsmbs/uchar.h: Really define mbstate_t.
65332         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65333         * wcsmbs/c16rtomb.c: New file.
65334         * wcsmbs/mbrtoc16.c: New file.
65335         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65336         for C/POSIX locale.
65337         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65338         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65340         * wcsmbs/wchar.h: Add missing __restrict.
65342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65344         [BZ #13532]
65345         * time/Makefile (routines): Add timespec_get.
65346         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65347         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65348         timespec for ISO C11.
65349         * time/timespec_get.c: New file.
65350         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65351         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65353         [BZ #13531]
65354         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65355         * stdlib/stdlib.h: Declare aligned_alloc.
65356         * Versions.def: Add GLIBC_2.16 for libc.
65357         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65359         [BZ 13527]
65360         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65361         ISO C11.
65363         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65364         code.
65366         [BZ #13528]
65367         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65369         [BZ #13529]
65370         * assert/assert.h (static_assert): Define.
65372         * version.h: Update for 2.16 development version.
65374         [BZ #13526]
65375         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65376         _ISOC11_SOURCE.
65378         * version.h (RELEASE): Bump for 2.15 release.
65379         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65381         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65382         Patch by Marek Polacek <mpolacek@redhat.com>.
65384         * bits/byteswap.h: Protect long long constants with __extension__.
65385         * sysdeps/i386/bits/byteswap.h: Likewise.
65386         * sysdeps/ia64/bits/byteswap.h: Likewise.
65387         * sysdeps/s390/bits/byteswap.h: Likewise.
65388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65390 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65392         [BZ #13540]
65393         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65394         destination buffer.
65395         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65397 2011-12-23  Marek Polacek  <polacek@redhat.com>
65399         * elf/dl-addr.c (determine_info): Add inline keyword.
65400         * elf/tst-auditmod4b.c (check_avx): Likewise.
65401         * elf/tst-auditmod6b.c (check_avx): Likewise.
65402         * elf/tst-auditmod6c.c (check_avx): Likewise.
65403         * elf/tst-auditmod7b.c (check_avx): Likewise.
65405 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65407         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65408         !__SSE_MATH__.
65410 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65412         [BZ #13540]
65413         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65414         processing for last bytes.
65416 2011-08-06  Bruno Haible  <bruno@clisp.org>
65418         [BZ #13061]
65419         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65420         U+0385, not to U+1FEE.
65422         [BZ #13062]
65423         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65424         entry for U+00A5 U+0301.
65426 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65428         [BZ #13166]
65429         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65430         buffer for the output is too small.
65432         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65433         optimization.
65435         [BZ #13185]
65436         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65437         SSE flags if possible.
65439 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65441         [BZ #13540]
65442         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65443         processing for last bytes.
65445 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65447         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65448         (syscall-list-default-options, syscall-list-default-condition)
65449         (syscall-list-includes): Define.
65450         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65451         list of ABIs and options and #if conditions for each ABI.  Do not
65452         handle common syscalls between ABIs specially.
65453         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65454         Remove.
65455         (syscall-list-variants, syscall-list-32bit-options)
65456         (syscall-list-32bit-condition, syscall-list-64bit-options)
65457         (syscall-list-64bit-condition): Define.
65458         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65459         (syscall-list-variants, syscall-list-32bit-options)
65460         (syscall-list-32bit-condition, syscall-list-64bit-options)
65461         (syscall-list-64bit-condition): Define.
65462         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65463         Remove.
65464         (syscall-list-variants, syscall-list-32bit-options)
65465         (syscall-list-32bit-condition, syscall-list-64bit-options)
65466         (syscall-list-64bit-condition): Define.
65467         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65468         Remove.
65469         (syscall-list-variants, syscall-list-32bit-options)
65470         (syscall-list-32bit-condition, syscall-list-64bit-options)
65471         (syscall-list-64bit-condition): Define.
65473 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65475         * locale/iso-639.def: Add brx entry.
65477         [BZ #13328]
65478         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65479         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65481         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65482         __feraiseexcept_renamed.
65484 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65486         [BZ #13538]
65487         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65488         EPOLLET with unsigned values.
65489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65490         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65492         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65493         to large cancellation.
65494         * math/s_cacoshf.c: Likewise.
65495         * math/s_cacoshl.c: Likewise.
65497 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65499         [BZ #13305]
65500         [BZ #12786]
65501         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65502         * math/s_cacoshf.c: Likewise.
65503         * math/s_cacoshl.c: Likewise.
65505 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65507         [BZ #13439]
65508         * iconv/gconv.h: Define __GCONV_SWAP.
65509         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65510         * iconvdata/utf-16.c: Likewise.
65511         * iconvdata/utf-32.c: Likewise.
65513 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65515         [BZ #13524]
65516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65517         numerator after shifting it by one limb.
65519 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65522         under [__USE_EXTERN_INLINES].
65524 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65526         [BZ #13446]
65527         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65529 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65531         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65532         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65533         optimized code.
65534         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65535         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65536         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65537         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65538         for strncasecmp/strncasecmp_l compilation.
65539         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65540         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65542 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65544         [BZ #13484]
65545         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65546         of __asm__.
65548 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65550         [BZ #13506]
65551         * time/tzfile.c (__tzfile_read): Check values from file header.
65553 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65555         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65556         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65557         * powerpc/powerpc32/dl-start.S: Likewise.
65558         * powerpc/powerpc32/elf/start.S: Likewise.
65559         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65560         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65561         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65562         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65563         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65564         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65565         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65566         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65567         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65568         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65569         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65570         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65571         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65572         * powerpc/powerpc32/memset.S: Likewise.
65573         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65574         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65575         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65576         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65577         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65578         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65579         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65580         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65581         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65582         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65583         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65584         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65585         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65587 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65589         * math/libm-test.inc: Added more nearbyint tests.
65590         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65591         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65593         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65595 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65597         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65598         FD_CLOEXEC.
65600 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65602         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65603         Add wcscpy-ssse3 wcscpy-c.
65604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65605         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65606         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65607         * sysdeps/x86_64/wcschr.S: New file.
65608         * sysdeps/x86_64/wcsrchr.S: New file.
65609         * string/test-strcmp.c: Remove checking of wcscmp function for
65610         wrong alignments.
65611         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65612         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65613         wcsrchr-sse2 wcsrchr-c.
65614         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65615         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65616         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65617         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65618         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65619         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65620         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65621         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65622         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65623         * wcsmbc/wcschr.c (WCSCHR): New macro.
65625 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65627         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65628         * wcsmbs/test-wcsrchr.c: New file.
65629         * string/test-strrchr.c: Add wcsrchr support.
65630         (WIDE): New macro.
65631         * wcsmbs/test-wcscpy.c: New file.
65632         * string/test-strcpy.c: Add wcscpy support.
65633         (WIDE): New macro.
65635 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65637         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65638         the inner loop.
65640 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65642         [BZ #13472]
65643         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65645 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65647         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65648         Minor optimizations.
65650         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65651         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65652         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65654 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65656         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65657         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65658         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65659         for gcc to avoid warnings.
65660         * inet/Makefile (tests): Add tst-checks.
65661         * inet/tst-checks.c: New file.
65663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65664         warning.
65666         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65667         __wmemcmp_sse2.
65669         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65670         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65672         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65674 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65676         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65677         problem.
65679         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65681 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65683         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65684         conditional on GCC version.
65685         (__arch_compare_and_exchange_val_8_acq)
65686         (__arch_compare_and_exchange_val_16_acq)
65687         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65688         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65689         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65691 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65693         * sysdeps/sh/backtrace.c: New file.
65695 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65697         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65698         parenthesis.
65700 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65702         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65703         falling back to utime.
65705 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65707         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65708         expectations for float.
65710 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65712         * locale/weight.h (findidx): Add parameter len.
65713         * locale/weightwc.h (findidx): Likewise.
65714         * posix/fnmatch_loop.c (FCT): Adjust caller.
65715         * posix/regcomp.c (build_equiv_class): Likewise.
65716         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65717         * posix/regexec.c (check_node_accept_bytes): Likewise.
65718         * string/strcoll_l.c (STRCOLL): Likewise.
65719         * string/strxfrm_l.c (STRXFRM): Likewise.
65721 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65723         * Makefile.in: Remove CVSOPT handling.
65724         * configure.in: Remove use of AC_REVISION.
65725         * iconvdata/Makefile (distribute): No need to filter out CVS.
65726         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65727         handling.
65729 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65732         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65733         [USE_AS_STRNCASECMP_L]: Likewise.
65734         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65735         NO_TLS_DIRECT_SEG_REFS.
65736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65737         Fix argument offsets for non-PIC.
65738         [USE_AS_STRNCASECMP_L]: Likewise.
65739         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65740         NO_TLS_DIRECT_SEG_REFS.
65742 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65744         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65745         O_CLOEXEC.
65746         * locale/loadlocale.c (_nl_load_locale): Likewise.
65748 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65750         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65751         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65752         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65753         (SYSCALL_GETTIME): Set errno on error.
65755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65756         count references to noai6ai_cached.
65758 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65760         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65762         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65763         FD_CLOEXEC for /proc/self/maps.
65765         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65766         FD_CLOEXEC for /proc/meminfo.
65768         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65769         gai.conf.
65771         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65772         FD_CLOEXEC for given file.
65774         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65776         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65777         FD_CLOEXEC for /etc/hosts.
65778         (_gethtent): Likewise.
65780         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65782         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65783         cancellation and set FD_CLOEXEC for /etc/netgroup.
65785         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65786         reading /etc/publickey.
65788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65789         allow cancellation when reading /etc/group.
65791         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65792         cancellation.
65793         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65795         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65796         when using data file.
65798         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65800         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65801         (write_nis_obj): Use "c" and "e" in fopen.
65803         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65805         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65807         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65809         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65811         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65812         locale.alias.
65814         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65816         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65818         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65820         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65821         file parsing and set FD_CLOEXEC.
65823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65825         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65827 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65829         * malloc/arena.c (arena_get2): Don't call reused_arena when
65830         _int_new_arena failed.
65832 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65834         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65835         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65836         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65838         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65840         to compile strcasecmp and strncasecmp.
65841         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65842         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65846 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65848         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65849         locale-defines.sym to gen-as-const-headers.
65850         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65851         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65853         to compile strcasecmp and strncasecmp.
65854         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65855         strcasecmp_l and strncasecmp_l.
65856         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65857         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65858         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65859         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65860         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65861         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65862         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65863         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65864         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65865         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65866         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65868 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65870         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65871         result of SYSDEP_GETTIME_CPU to retval.
65872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65873         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65875         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65876         variable.
65878         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65879         mantissa words.
65880         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65882         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65883         from unused variable.
65885         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65886         DWARF definitions.
65887         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65888         for assembling.
65890         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65891         over namespaces.
65893         * sunrpc/rpc_prot.c (rejected): Fix case value.
65895         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65896         unsigned long long int to avoid warnings in shift.
65898         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65899         of use of trans.
65900         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65901         variable tmp.
65903         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65904         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65905         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65907         * nis/nis_table.c (nis_list): Use variable of correct type for
65908         result of __follow_path call.
65910 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65912         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65913         of math functions ceil, trunc, floor, round, and sqrt, when
65914         avaliable on the platform.
65915         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65916         name clash.
65917         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65918         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65919         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65921 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65923         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65924         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65926 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65928         * include/unistd.h: Fix __readlink return type.
65929         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65931 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65933         * stdlib/ucontext.h: Undo last change for makecontext.
65935 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65937         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65939         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65940         * setjmp/setjmp.h: Mark functions as non-leaf.
65941         * setjmp/bits/setjmp2.h: Likewise.
65942         * stdlib/ucontext.h: Likewise.
65944 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65946         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65947         (reused_arena): Don't check arena limit.
65948         (arena_get2): Atomically check arena limit.
65950 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65952         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65953         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65956         instructions.
65958 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65960         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65961         handler when locking.
65963         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65964         Fix size of allocated buffer.
65966 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65968         [BZ #10103]
65969         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65970         declarations for long double functions.
65971         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65973         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65975 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65977         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65978         installed.
65980         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65981         is disabled.
65983 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65985         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65987 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65989         * include/alloca.h (stackinfo_alloca_round): Define.
65990         (extend_alloca): Use it.
65991         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65992         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65993         here.
65995         * scripts/check-local-headers.sh: Ignore libaudit.h.
65997         * nscd/Makefile (extra-objs): Make recursively expanded.
65999 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66001         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66004         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66005         * posix/tst-rfc3484-2.c: Likewise.
66006         * posix/tst-rfc3484-3.c: Likewise.
66008         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66009         process_vm_writev.
66010         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66011         process_vm_writev.
66012         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66013         process_vm_writev from libc using GLIBC_2.15 version.
66015         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66017 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66019         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66020         stack usage.
66022 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66024         [BZ #13367]
66025         * nss/getent.c (initgroups_keys): Show error message in case no group
66026         names are given.
66028         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66029         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66030         __bump_nl_timestamp.
66031         * nscd/connections (nscd_init): When host database is served open
66032         netlink socket and request notification about configuration changes.
66033         (main_loop_poll): Track netlink file descriptor and bump timestamp
66034         in case data becomes available.
66035         (main_loop_epoll): Likewise.
66036         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66037         (database_pers_head): Add extra_data fileds.
66038         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66039         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66040         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66041         Adjust caller.
66042         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66043         in6ai data, call __free_in6ai.
66044         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66045         Add -DHAVE_NETLINK.
66046         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66047         interface information.  Reuse previous data if netlink timestamp
66048         is not changed.
66049         (__bump_nl_timestamp): New function.
66050         (__free_in6ai): New function.
66052 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66054         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66055         close_not_cancel_no_status here.
66056         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66058 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66060         [BZ #13276]
66061         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66062         return value.
66064         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66065         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66066         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66068 2011-07-03  Andreas Jaeger  <aj@suse.de>
66070         [BZ #10709]
66071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66072         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66073         * math/libm-test.inc (sin_test): Add test case.
66075 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66077         [BZ #13337]
66078         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66079         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66081         * elf/chroot_canon.c (chroot_canon): Cleanups.
66083         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66085         [BZ #13335]
66086         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66087         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66089         * string/test-strchr.c: Make usable for strchrnul testing.
66090         * string/test-strchrnul.c: New file.
66091         * string/Makefile (strop-tests): Add strchrnul.
66093         * po/it.po: Update from translation team.
66094         * po/es.po: Likewise.
66096 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66098         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66099         the three constants needed as parameters.  Drop the others.
66100         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66101         __m128i_strloadu_tolower.
66102         Create and initialize variable zero and use it in all the places
66103         where _mm_setzero_si128 was used.
66105         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66106         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66107         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66108         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66109         anymore.
66110         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66111         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66112         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66113         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66114         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66115         __mpranred, __mptan.
66116         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66117         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66118         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66119         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66120         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66121         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66124         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66126 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66128         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66129         redefine if SHARED.
66130         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66133         wide char related routines to wcsmbs subdir.
66135 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66137         [BZ #13344]
66138         * misc/sys/cdefs.h (__THROWNL): Define.
66139         * posix/unistd.h: Use __THREADNL instead of __THREAD
66140         for memory synchronization functions.
66142 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66144         [BZ #13349]
66145         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66146         doesn't exist.
66147         * manual/stdio.texi (Obstack Streams): Node removed.
66149 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66151         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66153         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66155         * math/math_private.h (math_force_eval): Allow non-addressable
66156         arguments.
66157         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66161         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66162         file is not needed.
66164         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66171         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66172         Add AVX variants.
66173         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66174         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66175         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66176         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66177         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66178         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66179         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66180         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66181         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66182         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66183         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66184         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66186         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66187         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66188         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66189         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66190         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66191         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66193         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66194         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66197         place.  Use VEX encoding when compiling for AVX.
66199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66201         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66202         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66204         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66206 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66208         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66209         useless if() expression.
66210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66215         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66216         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66218         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66219         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66220         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66221         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66222         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66223         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66224         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66225         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66226         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66228         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66230         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66232 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66234         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66235         condition.
66236         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66238 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66240         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66241         .text section.  Avoid duplicate constants.
66242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66244         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66250         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66251         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66252         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66253         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66254         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66255         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66256         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66258         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66259         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66262         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66263         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66264         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66266         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66267         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66268         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66269         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66270         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66271         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66272         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66273         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66275         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66276         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66277         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66278         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66280         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66281         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66282         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66284         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66285         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66286         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66288 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66290         * sysdeps/x86_64/dla.h: Move to ...
66291         * sysdeps/x86_64/fpu/dla.h: ...here.
66292         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66293         situations.  Use __builtin_fma only for gcc 4.6 and up.
66295         * config.make.in: Add have-mfma4 entry.
66296         * configure.in: Substitute libc_cv_cc_fma4.
66297         * math/Makefile (dbl-only-routines): Add sincostab.
66298         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66299         Use __sincostab not sincos.
66300         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66301         name is a macro.
66302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66303         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66306         using __copysign.
66307         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66308         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66309         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66310         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66311         and __inv.
66312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66313         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66314         __copysign.
66315         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66316         define aliases when function name is a macro.
66317         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66318         sysdeps/ieee754/dbl-64/sincos.tbl.
66319         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66320         fma4-enabled routines.
66321         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66322         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66323         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66324         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66325         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66326         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66328         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66329         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66330         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66331         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66332         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66333         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66334         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66336         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66337         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66338         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66339         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66340         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66341         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66342         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66343         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66344         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66345         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66346         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66347         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66348         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66349         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66350         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66352         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66353         rename.
66354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66363 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66365         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66367 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66371         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66372         prediction.
66373         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66375         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66376         Remove unused variable magic_bits.
66377         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66379         * string/strnlen.c: Define and use STRNLEN macro.
66380         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66381         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66383         * wcsmbs/wcslen.c: Define and use WCSLEN.
66384         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66385         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66386         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66387         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66388         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66389         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66390         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66392 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66395         strnlen-sse2-no-bsf.
66396         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66398         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66399         Add strnlen support.
66400         (USE_AS_STRNLEN): New macro.
66401         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66402         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66403         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66404         * sysdeps/x86_64/wcslen.S: New file.
66406 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66408         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66409         XMM-moves are used for copying on small sizes.
66411 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66413         * wcsmbs/Makefile (strop-tests): Add wcschr.
66414         * wcsmbs/test-wcschr.c: New file.
66415         * string/test-strchr.c: Update.
66416         Add wcschr support.
66417         (WIDE): New macro.
66419 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66421         * wcsmbs/Makefile (strop-tests): Add wcslen.
66422         * wcsmbs/test-wcslen.c: New file.
66423         * string/test-strlen.c: Update.
66424         Add wcslen support.
66425         (WIDE): New macro.
66427 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66429         * po/it.po: Update from translation team.
66431 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66433         * sysdeps/x86_64/wcscmp.S: Update.
66434         Fix wrong comparison semantics.
66435         wcscmp shall use signed comparison not unsigned.
66436         Don't use substraction to avoid overflow bug.
66437         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66438         * wcsmbc/wcscmp.c: Likewise.
66439         * string/test-strcmp.c: Likewise.
66440         Add new tests to check cases with negative values.
66442 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66444         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66445         * sysdeps/x86_64/dla.h: ...here.  New file.
66446         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66453         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66456 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66459         __ynl_finite aliases.
66461 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66465         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66466         define DLA_FMA.
66467         [DLA_FMA] (EMULV): Use DLA_FMA.
66468         [DLA_FMA] (MUL12): Use EMULV.
66469         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66470         that are not needed.
66471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66475         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66479 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66481         * math/s_nan.c: Undef __nan.
66482         * math/s_nanf.c: Undef __nanf.
66483         * math/s_nanl.c: Undef __nanl.
66484         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66485         "math_private.h".
66487 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66489         * math/s_catan.c: Add branch predictions.
66490         * math/s_catanf.c: Likewise.
66491         * math/s_catanh.c: Likewise.
66492         * math/s_catanhf.c: Likewise.
66493         * math/s_catanhl.c: Likewise.
66494         * math/s_catanl.c: Likewise.
66495         * math/s_cexp.c: Likewise.
66496         * math/s_cexpf.c: Likewise.
66497         * math/s_cexpl.c: Likewise.
66498         * math/s_clog.c: Likewise.
66499         * math/s_clog10.c: Likewise.
66500         * math/s_clog10f.c: Likewise.
66501         * math/s_clog10l.c: Likewise.
66502         * math/s_clogf.c: Likewise.
66503         * math/s_clogl.c: Likewise.
66504         * math/s_csqrt.c: Likewise.
66505         * math/s_csqrtf.c: Likewise.
66506         * math/s_csqrtl.c: Likewise.
66507         * math/s_ctanf.c: Likewise.
66508         * math/s_ctanh.c: Likewise.
66509         * math/s_ctanhf.c: Likewise.
66510         * math/s_ctanhl.c: Likewise.
66511         * math/s_ctanl.c: Likewise.
66513         * math/math_private.h: Define __nan, __nanf, __nanl.
66514         * math/s_cacosh.c: Include <math_private.h>.
66515         * math/s_cacoshl.c: Likewise.
66516         * math/s_casinh.c: Likewise.
66517         * math/s_casinhf.c: Likewise.
66518         * math/s_casinhl.c: Likewise.
66519         * math/s_ccos.c: Rely entire on ccosh.
66520         * math/s_ccosf.c: Rely entire on ccoshf.
66521         * math/s_ccosl.c: Rely entirely on ccoshl.
66522         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66523         Remove tests for FE_INVALID.
66524         * math/s_ccoshf.c: Likewise.
66525         * math/s_ccoshl.c: Likewise.
66526         * math/s_csin.c: Likewise.
66527         * math/s_csinf.c: Likewise.
66528         * math/s_csinh.c Likewise.
66529         * math/s_csinhf.c: Likewise.
66530         * math/s_csinhl.c: Likewise.
66531         * math/s_csinl.c: Likewise.
66532         * math/s_ctan.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66534         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66535         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66537 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66540         compilation problems.
66542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66543         __builtin_expect.
66545 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66547         * sysdeps/i386/configure.in: Test for -mfma4 option.
66548         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66549         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66550         COMMON_CPUID_INDEX_80000001.
66551         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66552         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66553         use it if FMA3 is not supported.
66554         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66556         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66557         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66559 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66561         [BZ #12892]
66562         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66563         it would create a cycle with a link time dependency.
66565 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66567         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66568         instruction.
66569         * string/Makefile (strop-tests): Add rawmemchr.
66570         * string/test-rawmemchr.c: New file.
66572         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66574         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66575         when compiling str{,n}casecmp and when AVX is available.  Hook up
66576         new optimized code in initializers.
66578 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66580         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66581         __feraiseexcept instead of feraiseexcept.
66583 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66585         * math/math_private.h: Define defaults for libc_fetestexcept and
66586         libc_feupdateenv.
66587         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66588         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66589         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66590         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66591         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66592         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66593         libc_fetestexcept and libc_feupdateenv.
66595         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66596         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66597         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66598         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66599         libc_feholdexcept_setround.
66601         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66602         Add s_nearbyint-c and s_nearbyintf-c.
66603         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66604         nearbyintf inlines.
66605         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66606         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66607         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66608         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66610         * math/math_private.h: Define defaults for libc_fegetround,
66611         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66612         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66613         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66614         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66615         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66616         standard functions.
66617         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66618         Remove comments and hacks for old compiler versions.
66619         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66620         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66621         libc_feholdexceptl.
66623 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66625         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66626         (__feraiseexcept_renamed): Add __NTH.
66627         (feraiseexcept): Add __NTH.  Rename local variables to fix
66628         namespace violations.
66630 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66632         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66636         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66637         recently added interfaces.
66638         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66640         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66641         about macro parameter expansion.
66643         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66644         __NO_MATH_INLINES is defined.  Cleanups.
66646         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66647         and __floorf is target has SSE4.1.
66648         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66649         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66650         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66651         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66653         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66654         name.
66655         (floorf): Likewise.
66657         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66659 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66661         * misc/sys/cdefs.h: Fix last change.
66663         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66664         database lookup.
66666 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66668         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66670         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66672         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66673         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66674         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66675         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66678         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66679         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66680         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66681         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66682         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66683         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66684         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66685         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66686         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66687         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66688         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66689         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66690         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66691         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66693         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66694         ceil, ceilf, floor, floorf.
66696         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66697         Perform IRELATIVE relocations last.
66699         * elf/do-rel.h: Add another parameter nrelative, replacing the
66700         local variable with the same name.  Change name of the function
66701         to end in Rel or Rela (uppercase).
66702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66703         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66704         elf_dynamic_do_##reloc function.
66706 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66708         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66709         is sufficient, at least on modern CPUs.
66711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66713         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66714         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66716         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66717         __expl_finite.
66718         * math/bits/math-finite.h: Add entries for exp.
66719         * math/e_expl.c: Add __*_finite alias.
66720         * sysdeps/i386/fpu/e_exp.S: Likewise.
66721         * sysdeps/i386/fpu/e_expf.S: Likewise.
66722         * sysdeps/i386/fpu/e_expl.c: Likewise.
66723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66727         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66728         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66729         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66731         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66732         is sufficient, at least on modern CPUs.
66734         * ctype/ctype-info.c (__ctype_init): Define.
66735         * include/ctype.h (__ctype_init): Declare.
66736         (__ctype_b_loc): The variable is always initialized.
66737         (__ctype_toupper_loc): Likewise.
66738         (__ctype_tolower_loc): Likewise.
66739         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66740         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66742 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66744         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66746         * configure.in: Also look in $cxxmachine/include for C++ system
66747         headers.
66749 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66751         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66752         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66753         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66754         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66756         (USE_AS_WMEMCMP): New macro.
66757         Fixing indents.
66758         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66759         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66760         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66761         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66763         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66764         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66765         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66766         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66767         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66768         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66769         (USE_AS_WMEMCMP): New macro.
66770         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66771         * sysdeps/string/test-memcmp.c: Update.
66772         Fix simple_wmemcmp.
66773         Add new tests.
66774         * wcsmbs/wmemcmp.c: Update.
66775         (WMEMCMP): New macro.
66776         Fix overflow bug.
66778 2011-10-12  Andreas Jaeger  <aj@suse.de>
66780         [BZ #13268]
66781         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66783 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66785         * libio/iofwide.c (do_length): Avoid warning.
66787         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66789 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66791         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66793         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66794         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66795         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66796         * sysdeps/i386/i686/fpu/e_log.S: New file.
66797         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66798         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66800         * ctype/ctype.h: Add support for inlined isXXX functions when
66801         compiling C++ code.
66803 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66805         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66809 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66811         [BZ #13291]
66812         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66814 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66816         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66817         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66818         feraiseexcept.
66820         * sysdeps/x86_64/memrchr.S: Check for zero size.
66822         * string/stratcliff.c: Add memrchr tests.
66824 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66827         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66828         rawmemchr-sse2 rawmemchr-sse2-bsf.
66829         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66830         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66831         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66832         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66833         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66834         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66835         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66836         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66837         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66838         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66839         * string/memrchr.c (MEMRCHR): New macro.
66841 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66843         Add integration with gcc's -ffinite-math-only and optimize wrapper
66844         functions in libm.
66845         * Versions.def: Define GLIBC_2.15 version for libm.
66846         * math/Makefile (headers): Add bits/math-finite.h.
66847         * math/bits/math-finite.h: New file.
66848         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66849         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66850         * math/e_acoshl.c: Add __*_finite alias.
66851         * math/e_acosl.c: Likewise.
66852         * math/e_asinl.c: Likewise.
66853         * math/e_atan2l.c: Likewise.
66854         * math/e_atanhl.c: Likewise.
66855         * math/e_coshl.c: Likewise.
66856         * math/e_exp10.c: Likewise.
66857         * math/e_exp10f.c: Likewise.
66858         * math/e_exp10l.c: Likewise.
66859         * math/e_exp2l.c: Likewise.
66860         * math/e_fmodl.c: Likewise.
66861         * math/e_gammal_r.c: Likewise.
66862         * math/e_hypotl.c: Likewise.
66863         * math/e_j0l.c: Likewise.
66864         * math/e_j1l.c: Likewise.
66865         * math/e_jnl.c: Likewise.
66866         * math/e_lgammal_r.c: Likewise.
66867         * math/e_log10l.c: Likewise.
66868         * math/e_log2l.c: Likewise.
66869         * math/e_logl.c: Likewise.
66870         * math/e_powl.c: Likewise.
66871         * math/e_sinhl.c: Likewise.
66872         * math/e_sqrtl.c: Likewise.
66873         * math/e_scalb.c: Completely rewritten and optimized.
66874         * math/e_scalbf.c: Likewise.
66875         * math/e_scalbl.c: Likewise.
66876         * math/w_acos.c: Likewise.
66877         * math/w_acosf.c: Likewise.
66878         * math/w_acosl.c: Likewise.
66879         * math/w_acosh.c: Likewise.
66880         * math/w_acoshf.c: Likewise.
66881         * math/w_acoshl.c: Likewise.
66882         * math/w_asin.c: Likewise.
66883         * math/w_asinf.c: Likewise.
66884         * math/w_asinl.c: Likewise.
66885         * math/w_atan2.c: Likewise.
66886         * math/w_atan2f.c: Likewise.
66887         * math/w_atan2l.c: Likewise.
66888         * math/w_atanh.c: Likewise.
66889         * math/w_atanhf.c: Likewise.
66890         * math/w_atanhl.c: Likewise.
66891         * math/w_exp10.c: Likewise.
66892         * math/w_exp10f.c: Likewise.
66893         * math/w_exp10l.c: Likewise.
66894         * math/w_fmod.c: Likewise.
66895         * math/w_fmodf.c: Likewise.
66896         * math/w_fmodl.c: Likewise.
66897         * math/w_j0.c: Likewise.
66898         * math/w_j0f.c: Likewise.
66899         * math/w_j0l.c: Likewise.
66900         * math/w_j1.c: Likewise.
66901         * math/w_j1f.c: Likewise.
66902         * math/w_j1l.c: Likewise.
66903         * math/w_jn.c: Likewise.
66904         * math/w_jnf.c: Likewise.
66905         * math/w_log.c: Likewise.
66906         * math/w_logf.c: Likewise.
66907         * math/w_logl.c: Likewise.
66908         * math/w_log10.c: Likewise.
66909         * math/w_log10f.c: Likewise.
66910         * math/w_log10l.c: Likewise.
66911         * math/w_log2.c: Likewise.
66912         * math/w_log2f.c: Likewise.
66913         * math/w_log2l.c: Likewise.
66914         * math/w_pow.c: Likewise.
66915         * math/w_powf.c: Likewise.
66916         * math/w_powl.c: Likewise.
66917         * math/w_remainder.c: Likewise.
66918         * math/w_remainderf.c: Likewise.
66919         * math/w_remainderl.c: Likewise.
66920         * math/w_scalb.c: Likewise.
66921         * math/w_scalbf.c: Likewise.
66922         * math/w_scalbl.c: Likewise.
66923         * math/w_sqrt.c: Likewise.
66924         * math/w_sqrtf.c: Likewise.
66925         * math/w_sqrtl.c: Likewise.
66926         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66927         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66928         used.
66929         * math/math_private.h: Declare __kernel_standard_f.
66930         * math/w_cosh.c: Remove cruft and optimize a bit.
66931         * math/w_coshf.c: Likewise.
66932         * math/w_coshl.c: Likewise.
66933         * math/w_exp2.c: Likewise.
66934         * math/w_exp2f.c: Likewise.
66935         * math/w_exp2l.c: Likewise.
66936         * math/w_hypot.c: Likewise.
66937         * math/w_hypotf.c: Likewise.
66938         * math/w_hypotl.c: Likewise.
66939         * math/w_lgamma.c: Likewise.
66940         * math/w_lgamma_r.c: Likewise.
66941         * math/w_lgammaf.c: Likewise.
66942         * math/w_lgammaf_r.c: Likewise.
66943         * math/w_lgammal.c: Likewise.
66944         * math/w_lgammal_r.c: Likewise.
66945         * math/w_sinh.c: Likewise.
66946         * math/w_sinhf.c: Likewise.
66947         * math/w_sinhl.c: Likewise.
66948         * math/w_tgamma.c: Likewise.
66949         * math/w_tgammaf.c: Likewise.
66950         * math/w_tgammal.c: Likewise.
66951         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66952         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66953         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66954         Minor optimizations.  Pretty printing.  Remove cruft.
66955         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66956         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66957         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66958         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66959         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66960         * sysdeps/i386/fpu/e_asin.S: Likewise.
66961         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66962         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66963         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66964         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66965         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66966         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66967         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66968         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66969         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66970         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66971         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66972         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66973         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66974         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66975         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66976         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66977         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66978         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66979         * sysdeps/i386/fpu/e_log.S: Likewise.
66980         * sysdeps/i386/fpu/e_log10.S: Likewise.
66981         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66982         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66983         * sysdeps/i386/fpu/e_log2.S: Likewise.
66984         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66985         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66986         * sysdeps/i386/fpu/e_logf.S: Likewise.
66987         * sysdeps/i386/fpu/e_logl.S: Likewise.
66988         * sysdeps/i386/fpu/e_pow.S: Likewise.
66989         * sysdeps/i386/fpu/e_powf.S: Likewise.
66990         * sysdeps/i386/fpu/e_powl.S: Likewise.
66991         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66992         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66993         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66994         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66995         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66996         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66997         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66998         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66999         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67000         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67001         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67002         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67003         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67004         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67005         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67006         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67007         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67008         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67009         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67010         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67011         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67012         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67014         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67017         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67018         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67019         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67021         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67022         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67023         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67024         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67025         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67026         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67027         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67028         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67029         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67030         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67031         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67032         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67034         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67035         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67036         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67037         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67038         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67039         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67040         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67041         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67042         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67043         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67044         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67045         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67046         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67047         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67048         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67049         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67050         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67053         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67055         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67056         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67057         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67058         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67059         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67060         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67064         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67065         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67066         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67068         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67071         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67072         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67073         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67077         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67079         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67080         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67081         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67091         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67092         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67093         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67094         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67095         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67096         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67097         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67098         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67099         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67100         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67101         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67102         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67103         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67104         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67105         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67106         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67108         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67109         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67110         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67111         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67112         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67113         (__isnanf): Likewise.
67114         (__isinf_ns): Likewise.
67115         (__isinf_nsf): Likewise.
67116         (__finite): Likewise.
67117         (__finitef): Likewise.
67118         (__ieee754_sqrt): Define as macro.
67119         (__ieee754_sqrtf): Define as macro.
67120         (__ieee754_sqrtl): Define as macro.
67121         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67122         inlined copy.
67123         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67124         __FINITE_MATH_ONLY__ consistent.
67125         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67127 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67129         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67130         of rawmemchr.
67132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67134 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67136         * po/ja.po: Update from translation team.
67138 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67140         * locale/programs/locarchive.c (prepare_address_space): New function.
67141         (create_archive, enlarge_archive, open_archive): Use it.
67143         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67144         inside [SHARED], where it is used.
67146         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67148         * nss/getent.c (netgroup_keys): Remove unused variable.
67149         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67151 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67153         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67154         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67156         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67157         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67158         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67159         * math/Makefile (libm-calls): Add s_isinf_ns.
67160         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67161         * math/multc3.c: Likewise.
67162         * math/s_casin.c: Likewise.
67163         * math/s_casinf.c: Likewise.
67164         * math/s_casinl.c: Likewise.
67165         * math/s_ccos.c: Likewise.
67166         * math/s_ccosf.c: Likewise.
67167         * math/s_ccosl.c: Likewise.
67168         * math/s_ctan.c: Likewise.
67169         * math/s_ctanf.c: Likewise.
67170         * math/s_ctanh.c: Likewise.
67171         * math/s_ctanhf.c: Likewise.
67172         * math/s_ctanhl.c: Likewise.
67173         * math/s_ctanl.c: Likewise.
67174         * math/w_fmod.c: Likewise.
67175         * math/w_fmodf.c: Likewise.
67176         * math/w_fmodl.c: Likewise.
67177         * math/w_remainder.c: Likewise.
67178         * math/w_remainderf.c: Likewise.
67179         * math/w_remainderl.c: Likewise.
67180         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67181         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67184         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67185         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67186         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67187         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67189         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67190         of the number.
67191         * stdio-common/printf_fphex.c: Likewise.
67192         * stdio-common/printf_size.c: Likewise.
67194         * math/e_exp10.c: Include math_private.h using <...> not "...".
67195         * math/e_exp10f.c: Likewise.
67196         * math/e_exp10l.c: Likewise.
67197         * math/e_exp2l.c: Likewise.
67198         * math/e_j0l.c: Likewise.
67199         * math/e_j1l.c: Likewise.
67200         * math/e_jnl.c: Likewise.
67201         * math/e_lgammal_r.c: Likewise.
67202         * math/e_rem_pio2l.c: Likewise.
67203         * math/e_scalb.c: Likewise.
67204         * math/e_scalbf.c: Likewise.
67205         * math/e_scalbl.c: Likewise.
67206         * math/k_cosl.c: Likewise.
67207         * math/k_sinl.c: Likewise.
67208         * math/k_tanl.c: Likewise.
67209         * math/s_cacoshf.c: Likewise.
67210         * math/s_catan.c: Likewise.
67211         * math/s_catanf.c: Likewise.
67212         * math/s_catanh.c: Likewise.
67213         * math/s_catanhf.c: Likewise.
67214         * math/s_catanhl.c: Likewise.
67215         * math/s_catanl.c: Likewise.
67216         * math/s_ccosh.c: Likewise.
67217         * math/s_ccoshf.c: Likewise.
67218         * math/s_ccoshl.c: Likewise.
67219         * math/s_cexp.c: Likewise.
67220         * math/s_cexpf.c: Likewise.
67221         * math/s_cexpl.c: Likewise.
67222         * math/s_clog.c: Likewise.
67223         * math/s_clog10.c: Likewise.
67224         * math/s_clog10f.c: Likewise.
67225         * math/s_clog10l.c: Likewise.
67226         * math/s_clogf.c: Likewise.
67227         * math/s_clogl.c: Likewise.
67228         * math/s_csin.c: Likewise.
67229         * math/s_csinf.c: Likewise.
67230         * math/s_csinh.c: Likewise.
67231         * math/s_csinhf.c: Likewise.
67232         * math/s_csinhl.c: Likewise.
67233         * math/s_csinl.c: Likewise.
67234         * math/s_csqrt.c: Likewise.
67235         * math/s_csqrtf.c: Likewise.
67236         * math/s_csqrtl.c: Likewise.
67237         * math/s_ctan.c: Likewise.
67238         * math/s_ctanf.c: Likewise.
67239         * math/s_ctanh.c: Likewise.
67240         * math/s_ctanhf.c: Likewise.
67241         * math/s_ctanhl.c: Likewise.
67242         * math/s_ctanl.c: Likewise.
67243         * math/s_ldexp.c: Likewise.
67244         * math/s_ldexpf.c: Likewise.
67245         * math/s_ldexpl.c: Likewise.
67246         * math/s_significand.c: Likewise.
67247         * math/s_significandf.c: Likewise.
67248         * math/s_significandl.c: Likewise.
67249         * math/w_acos.c: Likewise.
67250         * math/w_acosf.c: Likewise.
67251         * math/w_acosh.c: Likewise.
67252         * math/w_acoshf.c: Likewise.
67253         * math/w_acoshl.c: Likewise.
67254         * math/w_acosl.c: Likewise.
67255         * math/w_asin.c: Likewise.
67256         * math/w_asinf.c: Likewise.
67257         * math/w_asinl.c: Likewise.
67258         * math/w_atan2.c: Likewise.
67259         * math/w_atan2f.c: Likewise.
67260         * math/w_atan2l.c: Likewise.
67261         * math/w_atanh.c: Likewise.
67262         * math/w_atanhf.c: Likewise.
67263         * math/w_atanhl.c: Likewise.
67264         * math/w_cosh.c: Likewise.
67265         * math/w_coshf.c: Likewise.
67266         * math/w_coshl.c: Likewise.
67267         * math/w_dremf.c: Likewise.
67268         * math/w_exp10.c: Likewise.
67269         * math/w_exp10f.c: Likewise.
67270         * math/w_exp10l.c: Likewise.
67271         * math/w_exp2.c: Likewise.
67272         * math/w_exp2f.c: Likewise.
67273         * math/w_fmod.c: Likewise.
67274         * math/w_fmodf.c: Likewise.
67275         * math/w_fmodl.c: Likewise.
67276         * math/w_hypot.c: Likewise.
67277         * math/w_hypotf.c: Likewise.
67278         * math/w_hypotl.c: Likewise.
67279         * math/w_j0.c: Likewise.
67280         * math/w_j0f.c: Likewise.
67281         * math/w_j0l.c: Likewise.
67282         * math/w_j1.c: Likewise.
67283         * math/w_j1f.c: Likewise.
67284         * math/w_j1l.c: Likewise.
67285         * math/w_jn.c: Likewise.
67286         * math/w_jnf.c: Likewise.
67287         * math/w_jnl.c: Likewise.
67288         * math/w_lgamma.c: Likewise.
67289         * math/w_lgamma_r.c: Likewise.
67290         * math/w_lgammaf.c: Likewise.
67291         * math/w_lgammaf_r.c: Likewise.
67292         * math/w_lgammal.c: Likewise.
67293         * math/w_lgammal_r.c: Likewise.
67294         * math/w_log.c: Likewise.
67295         * math/w_log10.c: Likewise.
67296         * math/w_log10f.c: Likewise.
67297         * math/w_log10l.c: Likewise.
67298         * math/w_log2.c: Likewise.
67299         * math/w_log2f.c: Likewise.
67300         * math/w_log2l.c: Likewise.
67301         * math/w_logf.c: Likewise.
67302         * math/w_logl.c: Likewise.
67303         * math/w_pow.c: Likewise.
67304         * math/w_powf.c: Likewise.
67305         * math/w_powl.c: Likewise.
67306         * math/w_remainder.c: Likewise.
67307         * math/w_remainderf.c: Likewise.
67308         * math/w_remainderl.c: Likewise.
67309         * math/w_scalb.c: Likewise.
67310         * math/w_scalbf.c: Likewise.
67311         * math/w_scalbl.c: Likewise.
67312         * math/w_sinh.c: Likewise.
67313         * math/w_sinhf.c: Likewise.
67314         * math/w_sinhl.c: Likewise.
67315         * math/w_sqrt.c: Likewise.
67316         * math/w_sqrtf.c: Likewise.
67317         * math/w_sqrtl.c: Likewise.
67318         * math/w_tgamma.c: Likewise.
67319         * math/w_tgammaf.c: Likewise.
67320         * math/w_tgammal.c: Likewise.
67322         * po/ja.po: Update from translation team.
67324 2011-09-29  Andreas Jaeger  <aj@suse.de>
67326         [BZ #13179]
67327         * sunrpc/netname.c (netname2host): Fix logic.
67329         [BZ #6779]
67330         [BZ #6783]
67331         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67332         correctly.
67333         * math/w_remainder.c (__remainder): Likewise.
67334         * math/w_remainderf.c (__remainderf): Likewise.
67335         * math/libm-test.inc (remainder_test): Add test cases.
67337 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67339         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67340         sdiv_qrnnd.
67342 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67344         * string/test-memcmp.c: Avoid unncessary #defines.
67345         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67347 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67349         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67350         Use new sse2 version for core i3 - i7 as it's faster
67351         than sse42 version.
67352         (bit_Prefer_PMINUB_for_stringop): New.
67353         * sysdeps/x86_64/rawmemchr.S: Update.
67354         Replace with faster SSE2 version.
67355         * sysdeps/x86_64/memrchr.S: New file.
67356         * sysdeps/x86_64/memchr.S: Update.
67357         Replace with faster SSE2 version.
67359 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67361         * elf/dl-load.c (lose): Add cast to avoid warning.
67363 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67365         * po/ca.po: Update from translation team.
67367         * inet/getnetgrent_r.c: Hook up nscd.
67368         * nscd/Makefile (routines): Add nscd_netgroup.
67369         (nscd-modules): Add netgroupcache.
67370         (CFLAGS-netgroupcache.c): Define.
67371         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67372         (cache_search): Add const to second parameter.
67373         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67374         INNETGR.
67375         (dbs): Add netgrdb entry.
67376         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67377         (verify_persistent_db): Handle netgrdb.
67378         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67379         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67380         GETFDNETGR.
67381         (netgroup_response_header): Define.
67382         (innetgroup_response_header): Define.
67383         (datahead): Add netgroup_response_header and innetgroup_response_header
67384         elements.
67385         * nscd/nscd.conf: Add entries for netgroup cache.
67386         * nscd/nscd.h (dbtype): Add netgrdb.
67387         (_PATH_NSCD_NETGROUP_DB): Define.
67388         (netgroup_iov_disabled): Declare.
67389         (xmalloc, xcalloc, xrealloc): Move declarations here.
67390         (cache_search): Adjust prototype.
67391         Add netgroup-related prototypes.
67392         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67393         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67394         (__nscd_innetgr): Declare.
67395         * nscd/selinux.c (perms): Use access_vector_t as element type and
67396         add netgroup-related initializers.
67397         * nscd/netgroupcache.c: New file.
67398         * nscd/nscd_netgroup.c: New file.
67399         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67400         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67401         For four parameters use innetgr.
67402         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67403         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67404         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67405         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67407         * nscd/connections.c (register_traced_file): Don't register file
67408         for disabled databases.
67410 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67412         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67414         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67415         from tree and freeing node.
67417 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67419         * nss/nsswitch.c (__nss_database_lookup): Handle
67420         nss_parse_service_list out of memory case.
67422 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67424         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67425         out of memory case.
67427 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67429         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67430         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67431         pass it down.
67432         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67433         elf_machine_rela, elf_machine_lazy_rel.
67434         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67435         (ELF_DYNAMIC_DO_REL): Likewise.
67436         (ELF_DYNAMIC_DO_RELA): Likewise.
67437         (ELF_DYNAMIC_RELOCATE): Likewise.
67438         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67439         to ELF_DYNAMIC_DO_REL.
67440         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67441         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67442         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67443         elf_machine_rela.
67444         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67445         skip_ifunc, don't call ifunc function if non-zero.
67446         (elf_machine_rela): Likewise.
67447         (elf_machine_lazy_rel): Likewise.
67448         (elf_machine_lazy_rela): Likewise.
67449         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67450         (elf_machine_lazy_rel): Likewise.
67451         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67452         Likewise.
67453         (elf_machine_lazy_rel): Likewise.
67454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67455         Likewise.
67456         (elf_machine_lazy_rel): Likewise.
67457         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67458         (elf_machine_lazy_rel): Likewise.
67459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67460         (elf_machine_lazy_rel): Likewise.
67461         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67462         (elf_machine_lazy_rel): Likewise.
67463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67464         (elf_machine_lazy_rel): Likewise.
67465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67466         (elf_machine_lazy_rel): Likewise.
67467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67468         (elf_machine_lazy_rel): Likewise.
67470 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67472         * nss/nss_files/files-init.c (_nss_files_init): Use static
67473         initialization for all the *_traced_file variables.
67475 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67477         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67479 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67481         [BZ #13226]
67482         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67484 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67487         Reread the line before reparsing it.
67489 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67491         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67493 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67494             Maxim Kuvyrkov  <maxim@codesourcery.com>
67495             Joseph Myers  <joseph@codesourcery.com>
67497         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67498         if needed for __stack_chk_guard.
67500 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67502         * sysdeps/posix/spawni.c (script_execute): Always define it.
67503         It will be optimized away if unused.
67504         (maybe_script_execute): New function.
67505         (__spawni): Call it.
67507         * Makerules: Don't include tls.make.
67508         (config-tls): Always set to thread.
67509         * tls.make.c: File removed.
67511 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67513         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67514         * config.make.in (CPPFLAGS-config): New substituted variable.
67516 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67520         [BZ #13192]
67521         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67522         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67524 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67526         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67527         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67529         (CALL_FAIL): Likewise.
67530         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67531         (CALL_FAIL): Macro removed.
67532         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67534 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67536         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67537         for __FINITE_MATH_ONLY__ == 1.
67539 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67541         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67542         __ieee754_sqrt instead of sqrt.
67543         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67544         __ieee754_sqrtf instead of sqrtf.
67545         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67546         __floorf instead of floorf.
67547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67548         __floorf, __truncf instead of floorf, truncf.
67550 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67552         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67554         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67555         __extern_always_inline.
67556         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67557         32-bit.
67559 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67561         * elf/rtld.c (dl_main): Also relocate in dependency order when
67562         doing symbol dependency testing.
67564 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67567         Always define `refsym'.
67569 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67571         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67572         (__FD_ELT): Renamed from __FDELT.
67573         * misc/bits/select2.h (__FD_ELT): Likewise.
67574         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67575         __FD_MASK instead of __FDELT, __FDMASK.
67576         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67577         Likewise.
67578         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67579         Likewise.
67581         * elf/Makefile (gen-ldd): Fix pattern.
67583         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67584         (init_tls): Likewise.
67586 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67590 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67592         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67593         `struct cmsghdr *' instead of `void *'.
67594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67595         Likewise.
67597 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67599         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67600         if non-absolute.
67601         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67602         ldd_rewrite_script.
67604 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67606         * configure.in: Remove --with-tls option.
67607         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67608         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67609         out in case it is missing.
67610         * sysdeps/ia64/elf/configure.in: Likewise.
67611         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67612         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67613         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67614         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67615         * sysdeps/sh/elf/configure.in: Likewise.
67616         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67617         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67618         * sysdeps/x86_64/elf/configure.in: Likewise.
67619         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67620         * sysdeps/mach/hurd/tls.h: Likewise.
67622         [BZ #13067]
67623         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67625         [BZ #13090]
67626         * configure.in: Fix use of AC_INIT.
67628         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67630 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67632         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67633         __set_errno.
67634         * malloc/hooks.c: Likewise.
67636         [BZ #11929]
67637         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67638         variables statically.
67639         (narenas): Initialize.
67640         (list_lock): Initialize.
67641         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67642         initializtion of main_arena and list_lock.  Small cleanups.
67643         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67644         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67645         Add initializers to main_arena and mp_.
67646         (malloc_state): Remove pagesize member.  Change all users to use
67647         GLRO(dl_pagesize).
67649         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67650         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67651         is always initialized.
67653         * malloc/malloc.c: Removed unused configurations and dead code.
67654         * malloc/arena.c: Likewise.
67655         * malloc/hooks.c: Likewise.
67656         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67658         * include/tls.h: Removed.  USE___THREAD must always be defined.
67659         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67660         * elf/dl-libc.c: Likewise.
67661         * elf/dl-tsd.c: Likewise.
67662         * include/errno.h: Likewise.
67663         * include/netdb.h: Likewise.
67664         * include/resolv.h: Likewise.
67665         * inet/herrno-loc.c: Likewise.
67666         * inet/herrno.c: Likewise.
67667         * malloc/arena.c: Likewise.
67668         * malloc/hooks.c: Likewise.
67669         * malloc/malloc.c: Likewise.
67670         * resolv/res-state.c: Likewise.
67671         * resolv/res_libc.c: Likewise.
67672         * sysdeps/i386/dl-machine.h: Likewise.
67673         * sysdeps/ia64/dl-machine.h: Likewise.
67674         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67675         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67676         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67677         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67678         * sysdeps/sh/dl-machine.h: Likewise.
67679         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67680         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67681         * sysdeps/unix/i386/sysdep.S: Likewise.
67682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67683         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67692         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67693         * sysdeps/x86_64/dl-machine.h: Likewise.
67694         * tls.make.c: Likewise.
67696         * configure.in: Remove --with-__thread option.  Make tests for
67697         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67698         tls_model attribute fail if no support is available.  Remove
67699         USE_IN_LIBIO.
67700         * Makeconfig: Adjust for dropped configure option.  All features are
67701         now mandatory.
67702         * Makerules: Likewise.
67703         * Versions.def: Likewise.
67704         * argp/argp-fmtstream.c: Likewise.
67705         * argp/argp-fmtstream.h: Likewise.
67706         * argp/argp-help.c: Likewise.
67707         * assert/assert.c: Likewise.
67708         * config.h.in: Likewise.
67709         * config.make.in: Likewise.
67710         * configure: Likewise.
67711         * configure.in: Likewise.
67712         * csu/Versions: Likewise.
67713         * csu/init.c: Likewise.
67714         * elf/tst-audit2.c: Likewise.
67715         * elf/tst-tls10.c: Likewise.
67716         * elf/tst-tls10.h: Likewise.
67717         * elf/tst-tls11.c: Likewise.
67718         * elf/tst-tls12.c: Likewise.
67719         * elf/tst-tls14.c: Likewise.
67720         * elf/tst-tlsmod11.c: Likewise.
67721         * elf/tst-tlsmod12.c: Likewise.
67722         * elf/tst-tlsmod13.c: Likewise.
67723         * elf/tst-tlsmod13a.c: Likewise.
67724         * elf/tst-tlsmod14a.c: Likewise.
67725         * elf/tst-tlsmod15b.c: Likewise.
67726         * elf/tst-tlsmod16a.c: Likewise.
67727         * elf/tst-tlsmod16b.c: Likewise.
67728         * elf/tst-tlsmod7.c: Likewise.
67729         * elf/tst-tlsmod8.c: Likewise.
67730         * elf/tst-tlsmod9.c: Likewise.
67731         * gmon/gmon.c: Likewise.
67732         * grp/fgetgrent_r.c: Likewise.
67733         * grp/putgrent.c: Likewise.
67734         * hurd/fopenport.c: Likewise.
67735         * include/libc-symbols.h: Likewise.
67736         * include/tls.h: Likewise.
67737         * intl/gettextP.h: Likewise.
67738         * intl/loadinfo.h: Likewise.
67739         * locale/global-locale.c: Likewise.
67740         * locale/localeinfo.h: Likewise.
67741         * mach/devstream.c: Likewise.
67742         * malloc/arena.c: Likewise.
67743         * malloc/set-freeres.c: Likewise.
67744         * misc/err.c: Likewise.
67745         * misc/getttyent.c: Likewise.
67746         * misc/mntent_r.c: Likewise.
67747         * posix/getopt.c: Likewise.
67748         * posix/wordexp.c: Likewise.
67749         * pwd/fgetpwent_r.c: Likewise.
67750         * resolv/Versions: Likewise.
67751         * resolv/res_hconf.c: Likewise.
67752         * shadow/fgetspent_r.c: Likewise.
67753         * shadow/putspent.c: Likewise.
67754         * stdio-common/printf_fphex.c: Likewise.
67755         * stdio-common/tmpfile.c: Likewise.
67756         * stdlib/abort.c: Likewise.
67757         * stdlib/fmtmsg.c: Likewise.
67758         * sunrpc/auth_unix.c: Likewise.
67759         * sunrpc/clnt_perr.c: Likewise.
67760         * sunrpc/clnt_tcp.c: Likewise.
67761         * sunrpc/clnt_udp.c: Likewise.
67762         * sunrpc/clnt_unix.c: Likewise.
67763         * sunrpc/openchild.c: Likewise.
67764         * sunrpc/svc_simple.c: Likewise.
67765         * sunrpc/svc_tcp.c: Likewise.
67766         * sunrpc/svc_udp.c: Likewise.
67767         * sunrpc/svc_unix.c: Likewise.
67768         * sunrpc/xdr.c: Likewise.
67769         * sunrpc/xdr_array.c: Likewise.
67770         * sunrpc/xdr_rec.c: Likewise.
67771         * sunrpc/xdr_ref.c: Likewise.
67772         * sunrpc/xdr_stdio.c: Likewise.
67774 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67776         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67778 2011-07-03  Andreas Jaeger  <aj@suse.de>
67780         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67781         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67782         regenerate with gen-libm-tests.pl.
67784 2010-05-12  Petr Baudis  <pasky@suse.cz>
67786         [BZ #11589]
67787         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67788         around j0() zero points by switching to j1().
67789         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67792         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67794 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67796         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67797         instead of 0.
67798         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67799         instead of 0.
67800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67801         Patch in part by Pavel Roskin <proski@gnu.org>.
67803         [BZ #13138]
67804         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67805         realloc.
67806         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67807         Free memory block if necessary.
67809         [BZ #12847]
67810         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67811         be NULL.  Don't lock in this case.
67813 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67815         * elf/elf.h (ELFOSABI_GNU): New macro.
67816         (ELFOSABI_LINUX): Define to that.
67818 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67820         * string/strncat.c (strncat): Undef the symbol in case it has been
67821         defined in bits/string.h.
67823 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67825         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67827         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67828         link map.
67830 2011-08-17  Andreas Jaeger  <aj@suse.de>
67832         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67834 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67835             Ian Lance Taylor  <iant@google.com>
67837         * math/libm-test.inc (lround_test): New testcase.
67838         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67840 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67842         * Makefile: Remove support for automatic cvs check-ins.
67843         * Makerules: Likewise.
67844         * config.make.in: Likewise.
67845         * configure.in: Likewise.
67846         * intl/Makefile: Likewise.
67847         * locale/Makefile: Likewise.
67848         * po/Makefile: Likewise.
67849         * posix/Makefile: Likewise.
67850         * sysdeps/gnu/Makefile: Likewise.
67851         * sysdeps/mach/hurd/Makefile: Likewise.
67852         * sysdeps/sparc/sparc32/Makefile: Likewise.
67854         [BZ #13118]
67855         * posix/Makefile (bug-regex32-ENV): Define.
67856         Patch by John Stanley <jpsinthemix@verizon.net>.
67858         * misc/Makefile (headers): Add bits/select2.h.
67859         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67860         * misc/bits/select2.h: New file.
67861         * include/bits/select2.h: New file.
67862         * debug/Makefile (routines): Add fdelt_chk.
67863         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67864         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67865         FD_ISSET.
67866         * debug/fdelt_chk.c: New file.
67868         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67869         * wcsmbs/test-wmemcmp.c: Likewise.
67870         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67871         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67873 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67875         * string/Makefile (strop-tests): Add memcmp.
67876         * string/test-wmemcmp.c: New file.
67877         * string/test-memcmp.c: Add wmemcmp support.
67879 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67881         [BZ #13153]
67882         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67883         2011-07-19 change.
67885         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67886         garbage value in a __mach_port_mod_refs call in the cases of the
67887         task-self and thread-self ports.
67889 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67891         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67893 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67895         * elf/dl-load.c (lose): Check for non-null L.
67897 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67899         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67901         * elf/dl-libc.c (dlerror_run): Pass back error code from
67902         dl_catch_error.
67904         [BZ #13123]
67905         * elf/dl-load.c (lose): Free l_origin if it is valid.
67907         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67908         names.
67909         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67912         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67913         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67914         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67916 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67918         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67919         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67920         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67921         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67922         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67923         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67924         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67925         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67926         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67927         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67929 2011-08-15  Alan Modra  <amodra@gmail.com>
67931         [BZ #13092]
67932         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67933         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67934         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67935         ppc_mcount to static-only-routines.
67936         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67937         __mcount_internal.
67938         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67939         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67941 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67943         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67944         for finite and infinity parameters.
67946 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67949         and add nop instructions for throughput optimization.
67950         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67952 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67954         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67955         aligned copy for power7 with vector-scalar instructions.
67956         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67958 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67961         AVX check.
67963 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67965         [BZ #13144]
67966         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67967         last change.
67969 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67971         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67972         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67973         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67974         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67975         clock_gettime.
67977 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67979         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67980         Forgot to demangle the pointer.
67982         * sysdeps/i386/sysdep.h: Define atom_text_section.
67983         * sysdeps/x86_64/sysdep.h: Likewise.
67984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67985         section with atom_text_section.
67986         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67987         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67988         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67990         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67992         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67993         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67994         already be defined.  Change to take two parameters and don't assign
67995         result to variable.  Adjust all users.
67996         Define INTERNAL_GETTIME if not already defined.
67997         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67998         call.
67999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68000         HAVE_CLOCK_GETTIME_VSYSCALL.
68001         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68004         gettimeofday vsyscall, just use time.
68006 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68009         <errno.h>.
68011 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68013         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68014         syscall on x86-64.
68015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68016         syscall.
68017         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68019         syscall if possible.
68021 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68023         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68024         e_ident.  Don't pass to find_mapsXX.
68025         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68030         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68031         * sysdeps/x86_64/multiarch/strchr.S: Update.
68032         Check bit_slow_BSF bit.
68033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68034         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68039         [BZ #13134]
68040         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68041         before glibc 2.15.
68042         (tryshell): Define.
68043         (__spawni): Change last parameter to be flag.  Test
68044         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68045         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68046         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68047         * posix/spawni.c: Likewise.
68048         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68049         * posix/spawnp.c: Likewise.  Change normal version to use
68050         SPAWN_XFLAGS_USE_PATH.
68051         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68052         SPAWN_XFLAGS_TRY_SHELL.
68054         [BZ #13150]
68055         * posix/glob.h: Remove gcc 1.x support.
68057         [BZ #13068]
68058         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68060 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68063         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68064         strrchr-sse2-bsf
68065         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68066         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68067         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68069         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68072 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68074         * sysdeps/x86_64/wcscmp.S: New file.
68076         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68077         wcscmp-c wcscmp-sse2
68078         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68079         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68080         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68081         * wcsmbs/wcscmp.c: Allow renaming.
68083 2011-09-05  David S. Miller  <davem@davemloft.net>
68085         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68086         stack slot, rather than the struct return pointer slot.
68087         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68088         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68090         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68092 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68094         * po/ja.po: Update from translation team.
68096         [BZ #13144]
68097         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68098         kernel in 64-bit binaries.
68100 2011-09-01  David S. Miller  <davem@davemloft.net>
68102         * elf/elf.h (HWCAP_SPARC_*): Move to..
68103         * sysdeps/sparc/sysdep.h: this new file and add new values.
68104         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68105         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68106         _DL_HWCAP_COUNT to 24.
68107         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68108         entries.
68109         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68110         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68111         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68113         instead of magic constants.
68114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68116 2011-08-31  David S. Miller  <davem@davemloft.net>
68118         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68120         Reimplement to do errno handling inline.
68121         (SYSCALL_ERROR_HANDLER): New macro.
68122         (__SYSCALL_STRING): Do not do errno handling in asm.
68123         (__CLONE_SYSCALL_STRING): Delete.
68124         (__INTERNAL_SYSCALL_STRING): Delete.
68125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68126         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68127         (PSEUDO): Reimplement to do errno handling inline.
68128         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68129         (SYSCALL_ERROR_HANDLER): New macro.
68130         (__SYSCALL_STRING): Do not do errno handling in asm.
68131         (__CLONE_SYSCALL_STRING): Delete.
68132         (__INTERNAL_SYSCALL_STRING): Delete.
68133         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68134         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68135         i386.
68136         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68137         (inline_syscall*): Add 'err' argument.
68138         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68139         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68140         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68141         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68143         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68144         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68146 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68148         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68150 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68152         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68153         directive.
68155 2011-08-24  David S. Miller  <davem@davemloft.net>
68157         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68159 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68161         * elf/Makefile: Add rules to build and run unload8 test.
68162         * elf/unload8.c: New file.
68163         * elf/unload8mod1.c: New file.
68164         * elf/unload8mod1x.c: New file.
68165         * elf/unload8mod2.c: New file.
68166         * elf/unload8mod3.c: New file.
68168         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68169         it wasn't used.
68171 2011-08-23  David S. Miller  <davem@davemloft.net>
68173         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68174         subtract stack bias.
68175         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68176         %sp not %fp in calculations.
68177         (_JMPBUF_UNWINDS_ADJ): Likewise.
68179         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68180         (aio_suspend): Call it to force an exception region around the
68181         AIO_MISC_WAIT() invocation.
68183 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68185         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68186         backslash.
68188 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68190         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68191         protection macro.
68192         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68193         and <dl-machine.h>.
68194         (Elf64_FuncDesc): Remove.
68196 2011-08-22  David S. Miller  <davem@davemloft.net>
68198         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68199         sigaltstack check, add missing cfi directives.
68200         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68201         missing cfi directives, and sigaltstack handling.
68203 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68205         [BZ #11724]
68206         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68207         object is seen twice.
68208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68210         * elf/Makefile (distribute): Add tst-initorder2.c.
68211         (tests): Add tst-initorder2.
68212         (modules-names): Add tst-initorder2a tst-initorder2b
68213         tst-initorder2c tst-initorder2d.  Add rules to build them.
68214         ($(objpfx)tst-initorder2.out): New rule.
68215         * elf/tst-initorder2.c: New file.
68216         * elf/tst-initorder2.exp: New file.
68218 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68220         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68222         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68223         dependencies back to end of function.
68225         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68226         $(elfobjdir)/ld.so.
68228 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68230         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68231         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68233         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68234         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68235         of __vdso_gettimeofday.
68236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68237         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68238         attribute_hidden.
68239         (_libc_vdso_platform_setup): Remove initialization of
68240         __vdso_gettimeofday and __vdso_time.
68242 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68244         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68245         and fgetc_unlocked.
68246         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68247         getc_unlocked.
68249         * elf/dl-open.c (add_to_global): Report additions to the global scope
68250         for LD_DEBUG=scopes.
68251         (dl_open_worker): Also print scope of newly loaded dependencies.
68252         (_dl_show_scope): Indicate if there is no scope.
68254         [BZ #13114]
68255         * stdio-common/Makefile (tests): Add bug24.
68256         * stdio-common/bug24.c: New file.
68258 2011-08-19  Andreas Jaeger  <aj@suse.de>
68260         [BZ #13114]
68261         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68262         non-existant file when using close-on-exec mode.
68264 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68267         the very first instruction.
68269         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68270         the CFI state in the end.
68271         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68272         inclusion of dl-trampoline.h.
68273         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68275 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68277         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68278         expectations for long double.
68280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68281         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68283 2011-08-14  David S. Miller  <davem@davemloft.net>
68285         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68286         artificual limit depends upon the system page size.
68288 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68290         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68291         * resolv/Makefile: Define CFLAGS-libresolv.
68293 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68295         * nss/makedb.c (compute_tables): Make variables used in nested
68296         function static.
68298 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68300         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68301         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68302         if buffer was too small.
68304         * elf/pldd.c (main): Attach to all threads in the process.
68305         Rewrite /proc handling to use *at functions.
68307 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68309         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68310         specifies first scope to show.
68311         (dl_open_worker): Update callers.  Move printing scope of new
68312         object to before the relocation.
68313         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68314         * sysdeps/generic/ldsodefs.h: Update declaration.
68316         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68317         string for the scope number.
68319 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68321         * nscd/servicescache.c (cache_addserv): Make sure written is always
68322         initialized.
68324 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68326         * sysdeps/i386/i486/bits/atomic.h
68327         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68328         statement expression, so as to suppress "set but not used" warning.
68329         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68331         * string/strncat.c (STRNCAT): Use prototype definition.
68333         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68334         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68335         -Iprograms here.
68336         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68337         (localedef-modules): Add localedef.
68338         (locale-modules): Add locale.
68340         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68341         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68342         to avoid a warning.
68344 2011-08-14  David S. Miller  <davem@davemloft.net>
68346         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68347         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68349 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68351         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68352         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68353         * elf/rtld.c (dl_main): Set l_name of vDSO.
68354         Call _dl_show_scope when DL_DEBUG_SCOPES.
68355         (process_dl_debug): Recognize scopes flag and also set it for all.
68356         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68357         Declare _dl_show_scope.
68359         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68360         (do_dlopen): Pass caller_dlopen to dl_open.
68361         (__libc_dlopen_mode): Initialize caller_dlopen.
68363         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68364         of libc.  Make tolower call locale-independent.  Optimize a bit by
68365         using isdigit instead of isalnum.
68366         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68368 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68370         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68371         was a dependency or dynamically loaded.
68373 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68375         * intl/l10nflist.c: Allow architecture-specific pop function.
68376         * sysdeps/x86_64/l10nflist.c: New file.
68378         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68379         classification.
68381 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68383         * include/dirent.h: Add libc_hidden_proto for scandirat and
68384         scandirat64.  Don't declare __scandirat64.
68385         * dirent/scandirat.c: Add libc_hidden_def.
68386         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68387         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68389 2011-08-10  David S. Miller  <davem@davemloft.net>
68391         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68392         enum.
68393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68397 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68399         * Versions.def [libc]: Add GLIBC_2.15.
68400         * dirent/Makefile (routines): Add scandirat and scandirat64.
68401         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68402         GLIBC_2.15.
68403         * dirent/dirent.h: Declare scandirat and scandirat64.
68404         * dirent/scandirat.c: New file.
68405         * dirent/scandirat64.c: New file.
68406         * sysdeps/wordsize-64/scandirat.c: New file.
68407         * sysdeps/wordsize-64/scandirat64.c: New file.
68408         * dirent/opendir.c: Define opendirat.
68409         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68410         using scandirat.
68411         * dirent/scandir64.c: Adjust for scandir.c change.
68412         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68413         __scandirat64, and __scandir_cancel_handler.
68414         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68415         additional parameter and use openat instead of open (outside of ld.so).
68416         Add new __opendir as wrapper around __opendirat.
68417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68418         here without requiring old scandirat implementation.
68420 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68422         * dirent/scandir.c (cancel_handler): Renamed to
68423         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68424         defined.  Adjust users.
68425         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68426         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68428 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68430         * string/test-string.h (IMPL): Use __STRING to expand name and then
68431         stringify it.
68433         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68434         of cleanups.
68436 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68438         * string/Makefile: Update.
68439         (strop-tests): Append strncat.
68440         * string/test-wcscmp.c: New file.
68441         New comprehensive test for wcscmp.
68442         * string/test-strcmp.c: Update.
68443         (WIDE): New define.
68445 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68447         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68448         line.
68450 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68453         encoding to ACE if AI_IDN.
68455 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68457         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68458         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68460 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68463         Fix overflow bug in strncat.
68464         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68466         * string/test-strncat.c: Update.
68467         Add new tests for checking overflow bugs.
68469 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68472         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68473         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68474         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68475         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68476         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68477         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68478         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68479         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68482         (USE_AS_STRCAT): Define.
68483         Add strcat and strncat support.
68484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68486 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68488         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68489         __n bigger than INT_MAX+1.
68490         (__strncmp_g): Likewise.
68492 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68494         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68495         * libio/stido.h: Likewise.
68497         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68498         (AF_NFC): Define.
68499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68500         (AF_NFC): Define.
68502         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68505         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68506         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68508         [BZ #13021]
68509         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68510         installed.
68512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68513         typo.
68514         (_dl_x86_64_save_sse): Likewise.
68516 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68519         OSXSAVE.
68520         (_dl_x86_64_save_sse): Likewise.
68522         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68524         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68526 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68529         change.
68530         (_dl_x86_64_save_sse): Use correct AVX check.
68532 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68535         bug in strncpy/strncat.
68536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68538 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68540         * string/tester.c (test_strcat): Add tests for different alignments
68541         of source and destination.
68542         (test_strncat): Likewise.
68544 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68546         [BZ #12852]
68547         * posix/glob.c (glob): Check passed in values before using them in
68548         expressions to avoid some overflows.
68549         (glob_in_dir): Likewise.
68551         [BZ #13007]
68552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68553         check for AVX enablement so that we don't crash with old kernels and
68554         new hardware.
68555         * elf/tst-audit4.c: Add same checks here.
68556         * elf/tst-audit6.c: Likewise.
68558         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68560 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68562         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68564 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68566         * po/cs.po: Update from translation team.
68567         * po/bg.po: Likewise.
68569 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68571         * misc/sys/cdefs.h: Add support for const attribute.
68572         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68573         to gnu_dev_{major,minor,makedev} functions.
68575 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68577         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68579 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68581         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68582         strlen results.
68584 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68587         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68588         register in order to avoid conflicts with the soft frame pointer
68589         being held in r11 when necessary.
68590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68591         (INTERNAL_VSYSCALL_NCS): Likewise.
68593 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68595         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68596         * elf/dl-fini.c (_dl_fini): Adjust caller.
68597         * elf/dl-close.c (_dl_close_worker): Likewise.
68598         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68600 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68602         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68603         "aux_cache->nlibs < 0".
68605         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68606         in the reload-count case.
68608 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68611         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68612         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68613         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68614         * sysdeps/x86_64/multiarch/strcat.S: New file.
68615         * sysdeps/x86_64/multiarch/strncat.S: New file.
68616         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68617         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68618         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68619         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68621         (USE_AS_STRCAT): Define.
68622         Add strcat and strncat support.
68623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68624         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68625         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68626         * string/strncat.c: Update.
68627         (USE_AS_STRNCAT): Define.
68628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68629         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68630         and i7.
68631         * sysdeps/x86_64/multiarch/init-arch.h
68632         (bit_Prefer_PMINUB_for_stringop): New.
68633         (index_Prefer_PMINUB_for_stringop): Likewise.
68634         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68635         bit_Prefer_PMINUB_for_stringop.
68637 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68639         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68640         buffer64.
68641         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68642         of casting of buffer.
68643         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68644         buffer32 and buffer64.
68645         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68646         writes instead of casting of buffer.
68647         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68648         buffer32.
68649         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68650         casting of buffer.
68652 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68654         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68656 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68658         * nscd/nscd.c (termination_handler): Don't do anything for a database
68659         if it has not yet been initialized.
68661 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68663         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68665 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68667         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68669 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68671         * po/nl.po: Update from translation team.
68672         * po/sv.po: Likewise.
68674 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68676         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68677         now disallowed by GCC.
68679         * configure.in (use-default-link): Default to yes if a test -shared
68680         link meets our qualifications.
68681         * configure: Regenerated.
68683         * config.make.in (output-format): New variable.
68684         * configure.in: Check for ld --print-output-format support.
68685         * configure: Regenerated.
68686         * Makerules ($(common-objpfx)format.lds)
68687         [$(output-format) != unknown]: Just use $(output-format),
68688         instead of the linker-script munging.
68690 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68692         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68693         of $(common-objpfx)shlib.lds.
68694         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68696         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68697         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68699         * configure.in (-z relro check): Adjust test code to add a large
68700         writable data section after it.
68701         * configure: Regenerated.
68703 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68705         * configure.in (-z relro check): Fix test code to make the variable
68706         truly const.
68707         * configure: Regenerated.
68709 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68711         * nscd/nscd.h (struct traced_file): Define.
68712         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68713         elements.  Add traced_files.
68714         (inotify_fd): Declare.
68715         (register_traced_file): Declare.
68716         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68717         (inotify_fd): Export.
68718         (resolv_conf_descr): Remove.
68719         (nscd_init): Move inotify descriptor creation to main.
68720         Don't register files for notification here.
68721         (register_traced_file): New function.
68722         (invalidate_cache): Don't use reset_res to determine whether to call
68723         res_init, go through the list of registered files.
68724         (main_loop_poll): The inotify descriptors are now stored in the
68725         structures for the traced files.
68726         (main_loop_epoll): Likewise
68727         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68728         to __nss_disable_nscd.
68729         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68730         for a database anymore.  Check the records for all the registered
68731         files instead.
68732         * nss/Makefile (libnss_files-routines): Add files-init.
68733         (libnss_db-routines): Add db-init.
68734         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68735         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68736         * nss/nss_db/db-init.c: New file.
68737         * nss/nss_files/files-init.c: New file.
68738         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68739         __nss_lookup_function.
68740         (__nss_lookup_function): Call nss_load_library.
68741         (nss_load_all_libraries): New function.
68742         (__nss_disable_nscd): Take parameter with callback function for files
68743         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68744         used for the cached services.
68745         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68746         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68747         options for features to all the files in nscd.
68749         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68751 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68753         * csu/elf-init.c (__libc_csu_init): Comment typo.
68755 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68757         * po/pl.po: Update from translation team.
68758         * po/ja.po: Likewise.
68759         * po/ru.po: Likewise.
68760         * po/ko.po: Likewise.
68761         * po/fr.po: Likewise.
68763 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68765         * configure.in (.ctors/.dtors header and trailer check):
68766         Use an empirical test on a built program.
68767         * configure: Regenerated.
68769         * configure.in (-z relro check): Use an empirical test on a built DSO.
68770         Detect, but do not require, on ia64.
68771         * configure: Regenerated.
68773         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68774         Update tests that use readelf to use $READELF instead.
68775         * configure: Regenerated.
68777 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68779         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68780         if the result is not used.
68782 2011-07-05  Andreas Jaeger  <aj@suse.de>
68784         [BZ#9696]
68785         * stdlib/tst-strtod.c: Add testcase.
68787 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68789         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68790         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68791         The latter has a higher limit.  Take additional parameter to pass to
68792         the new function.
68793         (__pathconf): Pass file to __statfs_link_max.
68794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68795         __statfs_link_max.
68796         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68797         __statfs_link_max.
68799         [BZ #12868]
68800         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68801         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68802         Handle Lustre.
68803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68804         (__statfs_filesize_max): Likewise.
68805         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68807 2011-07-05  Andreas Jaeger  <aj@suse.de>
68809         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68811 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68813         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68814         `status' variable.
68815         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68816         Likewise.
68818 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68820         * Makefile (strop-tests): Add strncat.
68821         * string/test-strncat.c: New file.
68823 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68825         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68827 2011-06-21  Andreas Jaeger  <aj@suse.de>
68829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68830         Copy rule from iconvdata/Makefile.
68832 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68834         [BZ #12922]
68835         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68836         but no long options are defined, just return 'W'.
68838 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68840         [BZ #9696]
68841         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68843 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68845         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68846         netgroups to read.
68847         (innetgr): Likewise.
68849 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68851         * config.make.in (install_root): Default to $(DESTDIR).
68853 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68857 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68859         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68861         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68862         containing directory rather than embedding absolute directory names.
68864         * scripts/check-local-headers.sh: Rewritten using awk.
68865         Match by word, not by line.  Print error messages for matches.
68866         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68868         * Makerules [shlib-lds-flags empty]:
68869         ($(common-objpfx)libc_pic.opts): New target.
68870         ($(common-objpfx)libc_pic.os.clean): New target.
68871         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68873         * config.make.in (OBJCOPY): New variable.
68874         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68875         * configure: Regenerated.
68877         * config.make.in (use-default-link): New variable.
68878         * configure.in (use_default_link): Grok --with-default-link to set it.
68879         * configure: Regenerated.
68880         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68881         (shlib-lds, shlib-lds-flags): Define to empty.
68883         * Makerules (shlib-lds): New variable.
68884         (shlib-lds-flags): New variable.
68885         (build-shlib, build-moduile, build-module-asneeded): Use it.
68886         ($(common-objpfx)libc.so): Use $(shlib-lds).
68887         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68888         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68890         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68891         DT_FLAGS/DT_FLAGS_1 with zero flags.
68893         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68894         linker script munging.
68896 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68898         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68899         as 128-bit value.
68900         * crypt/sha512.c (sha512_process_block): Perform total addition using
68901         128-bit if possible.
68902         (__sha512_finish_ctx): Likewise.
68903         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68904         as 64-bit value.
68905         * crypt/sha256.c (SWAP64): Define.
68906         (sha256_process_block): Perform total addition using 64-bit if
68907         possible.
68908         (__sha256_finish_ctx): Likewise.
68910 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68912         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68914         * nscd/hstcache.c (cache_addhst): Likewise.
68915         * nscd/grpcache.c (cache_addgr): Likewise.
68916         * nscd/aicache.c (addhstaiX): Likewise
68917         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68919 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68921         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68923         * nscd/hstcache.c (cache_addhst): Likewise.
68924         * nscd/grpcache.c (cache_addgr): Likewise.
68925         * nscd/aicache.c (addhstaiX): Likewise
68927 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68929         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68930         domain only when needed.
68932 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68935         is always restored.
68937 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68939         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68940         are re-adding the entry.
68941         * nscd/servicescache.c (cache_addserv): Likewise.
68943 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68945         * sysdeps/generic/dl-irel.h: fix protection against multiple
68946         inclusions.
68947         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68949 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68951         [BZ #12935]
68952         * malloc/memusage.sh: Fix quoting in message.
68953         * debug/xtrace.sh: Likewise.
68955         * configure.in: Remove support for --experimental-malloc option, make
68956         it the default.
68957         * config.make.in: Likewise.
68958         * malloc/Makefile: Likewise.
68960 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68962         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68963         two-byte characters.
68965 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68967         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68968         AC_CACHE_CHECK invocation.
68969         * configure: Regenerated.
68971         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68973 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68975         [BZ #12350]
68976         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68977         bit from old_res_options.
68979         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68981         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68982         value type for setfct.
68984 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68987         __gettimeofday instead of gettimeofday.
68989 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68991         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68993 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68998         info.
69000 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69003         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69004         strcpy-sse2-unaligned strncpy-sse2-unaligned
69005         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69006         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69007         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69008         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69009         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69012         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69013         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69014         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69015         (STRCPY): Support SSE2 and SSSE3 versions.
69017 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69019         [BZ #12874]
69020         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69021         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69022         kernels which artificially limit size of requests.
69024 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69027         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69028         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69029         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69030         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69031         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69032         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69033         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69036         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69037         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69038         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69039         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69040         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69042         Enable unaligned load optimization for Intel Core i3, i5 and i7
69043         processors.
69044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69045         Define.
69046         (index_Fast_Unaligned_Load): Define.
69047         (HAS_FAST_UNALIGNED_LOAD): Define.
69049 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69051         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69053 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69055         [BZ #12907]
69056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69057         until it is clear that the information is realy needed.
69058         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69060 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69064 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69066         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69067         /sys/devices/system/cpu/online if it is usable.
69069         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69070         reading the information from the /proc filesystem to once a second.
69072 2011-06-21  Andreas Jaeger  <aj@suse.de>
69074         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69075         NULL after inclusion of kernel headers.
69077 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69079         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69080         calls to internal_setent.
69082         [BZ #12885]
69083         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69084         addresses using gethostbyname4_r ignore IPv4 addresses.
69086         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69087         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69089         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69091 2011-06-20  David S. Miller  <davem@davemloft.net>
69093         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69094         inclusions.
69095         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69097         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69098         (elf_irel): Use it.
69099         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69100         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69101         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69102         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69103         * sysdeps/x86_64/dl-irel.h: Likewise.
69105         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69106         * elf/dl-sym.c: Likewise.
69108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69110         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69111         need to dereference resplen2.
69113 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69115         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69117 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69119         * Makeconfig: Define vardbdir and inst_vardbdir.
69120         * nss/Makefile: Add rules to install db-Makefile.
69122         * nss/nss_db/db-XXX.c: Cleanup.
69124         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69125         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69126         GLIBC_PRIVATE.
69127         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69128         * nss/makedb.c: Implement -g option to specify that value strings
69129         are generated and should not be added to table iterated over for
69130         get*ent calls.
69131         * nss/nss_db/db-initgroups.c: New file.
69133         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69134         interface.
69136         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69137         (internal_getgrouplist): Adjust to name change.
69138         Update use_initgroups_entry if this is not the first call.
69139         * nss/databases.def: Add initgroups entry.
69141         * nss/makedb.c (compute_tables): Check result of multiple hash table
69142         sizes to minimize maximum chain length.
69144 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69146         * Versions.def: Add entry for libnss_db.
69147         * shlib-versions: Likewise.
69148         * nss/Makefile: Add rules to build libnss_db.
69149         * nss/Versions: Add libnss_db information.  Organize libnss_files
69150         entries better.
69151         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69152         makedb progra.  Some minor improvements to generate smaller files.
69153         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69154         here from...
69155         * nss/makedb.c: ...here.
69156         Improve database format to be smaller and require less memory at
69157         runtime.
69158         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69159         db anymore.
69160         * nss/nss_db/db-netgrp.c: Likewise.
69161         * nss/nss_db/db-open.c: Likewise.
69162         * nss/nss_files/flies-XXX.x: Adjust comments.
69163         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69164         * nss/nss_files/files-grp.c: Likewise.
69165         * nss/nss_files/files-hosts.c: Likewise.
69166         * nss/nss_files/files-network.c: Likewise.
69167         * nss/nss_files/files-proto.c: Likewise.
69168         * nss/nss_files/files-pwd.c: Likewise.
69169         * nss/nss_files/files-rpc.c: Likewise.
69170         * nss/nss_files/files-service.c: Likewise.
69171         * nss/nss_files/files-sgrp.c: Likewise.
69172         * nss/nss_files/files-spwd.c: Likewise.
69173         * nss/nss_db/db-alias.c: Removed.
69174         * nss/nss_db/dummy-db.h: Removed.
69176 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69178         * nss/makedb.c: Rewritten to not use database library.
69179         * nss/Makefile: Update to build new makedb program.
69181 2011-06-14  Andreas Jaeger  <aj@suse.de>
69183         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69184         memset declaration.
69186 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69189         tmpbuf.
69191 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69193         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69194         * elf/Makefile ($(objpfx)ld.so): Likewise.
69196         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69197         Don't list ld.so twice in dependencies.
69199         * posix/bug-regex31.c: Include <stdlib.h>.
69201         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69203         * nis/nss_compat/compat-spwd.c
69204         (getspent_next_nss_netgr): Remove unused variable.
69205         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69207         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69208         nonmembers" output to use the right array.
69210         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69212         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69214         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69215         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69216         * catgets/gencat.c (read_input_file): Likewise.
69217         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69219         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69220         variable definition inside #if's controlling its use.
69222         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69224         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69226         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69228         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69229         unreachable code.
69231         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69233         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69234         * configure: Regenerated.
69236         * Makerules: Revert last change.
69237         * elf/Makefile: Likewise.
69239 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69241         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69242         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69243         (reloc-link): Likewise.
69245 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69247         * elf/Makefile: Add rules to build pldd.
69248         * elf/pldd.c: New file.
69249         * elf/pldd-xx.c: New file.
69251 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69253         * version.h: Update for 2.15 development version.
69255 2011-06-07  David S. Miller  <davem@davemloft.net>
69257         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69258         ifuncs.
69259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69260         elf_machine_lazy_rel): Likewise.
69261         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69263         elf_machine_lazy_rel): Likewise.
69264         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69265         dl_hwcap via passed in argument.
69266         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69267         Likewise.
69269 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69271         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69273 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69275         [BZ #12849]
69276         * manual/fdl-1.1.texi: New file, verbatim from:
69277         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69278         * manual/lgpl-2.1.texi: New file, verbatim from:
69279         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69280         * manual/Makefile (licenses): New variable, list those new file names.
69281         (texis): Use it.
69282         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69284         * manual/fdl.texi: File removed.
69285         * manual/lesser.texi: File removed.
69286         * manual/libc.texinfo (Copying, Documentation License):
69287         Use new @include file names, put @appendix directive before @include.
69289 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69291         [BZ #12841]
69292         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69293         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69294         (mq_open): Add __NTH.
69296 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69299         Assume Intel Core i3/i5/i7 processor if AVX is available.
69301 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69304         typo.
69306 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69308         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69309         memory.  Use alloca_account.  Fix memory leak when retrying.
69311 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69313         * version.h (RELEASE): Bump for 2.14 release.
69314         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69316         * config.make.in (RANLIB): Remove entry.
69318 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69320         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69321         (libc.pot): Work around missing support for .ksh extension in xgettext.
69323         [BZ #12684]
69324         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69325         if both request failed.
69326         (send_dg): In case of server errors clear resplen or *resplen2.
69328         [BZ #12454]
69329         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69330         when there are multiple maps.
69331         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69332         (_dl_fini): Remove test here.
69334         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69336 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69338         [BZ #12350]
69339         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69340         bit from old_res_options.
69341         (gaih_inet): Likewise.
69343         [BZ #11099]
69344         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69345         as signed.
69347         * resolv/res_init.c (res_setoptions): Make the code more compact.
69349         [BZ #11558]
69350         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69351         set RES_USEVC.
69353         [BZ #11634]
69354         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69356         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69358         [BZ #11781]
69359         * malloc/malloc.h: Declare malloc hook variables as volatile.
69361         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69362         in last patch.
69364         [BZ #11799]
69365         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69366         raise in the comment.
69367         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69369         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69371 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69373         [BZ #12811]
69374         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69375         grow the buffers more if it already has to be sufficient.
69376         (build_wcs_upper_buffer): Likewise.
69377         * posix/regexec.c (check_matching): Likewise.
69378         (clean_state_log_if_needed): Likewise.
69379         (extend_buffers): Don't enlarge buffers beyond size of the input
69380         buffer.
69381         Patches mostly by Emil Wojak <emil@wojak.eu>.
69382         * posix/bug-regex32.c: New file.
69383         * posix/Makefile (tests): Add bug-regex32.
69385         * locale/findlocale.c (_nl_find_locale): Return right away if
69386         _nl_explode_name failed.
69387         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69389         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69391         * debug/xtrace.sh: Unify messages.
69392         * malloc/memusage.sh: Likewise.
69394         [BZ #12813]
69395         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69396         time symbol from vDSO.  Substitute with vsyscall if not available.
69397         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69398         __vdso_time.
69400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69401         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69402         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69403         Add sendmmsg and internal_sendmmsg.
69404         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69405         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69406         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69408         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69409         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69412 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69414         [BZ #12813]
69415         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69416         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69417         available.
69418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69419         __vdso_getcpu.
69421         [BZ #12814]
69422         * iconvdata/Makefile (tests): Add bug-iconv9.
69423         * iconvdata/bug-iconv9.c: New file.
69425 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69427         [BZ #12814]
69428         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69430 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69432         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69433         (struct user_regs_struct): Change intcs field back to cs.
69435 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69437         * po/ja.po: Update from translation team.
69439 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69441         [BZ #12795]
69442         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69443         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69445 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69447         * stdlib/longlong.h: Update from GCC.
69449 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69451         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69452         parameter name.
69453         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69454         Add parameter name.
69455         (__sysconf): Pass it down.
69457 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69459         [BZ #12671]
69460         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69461         some situations.
69462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69463         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69464         add in in __libc_use_alloca calls.  Adjust callers.
69465         (glob): Use malloc in some situations.
69467         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69468         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69469         pltexit.
69471 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69473         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69474         and CLOCK_BOOTTIME_ALARM.
69476         [BZ #12782]
69477         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69478         is returned.
69480         * string/_strerror.c (__strerror_r): Print negative errors as signed
69481         numbers.
69483         [BZ #12777]
69484         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69485         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69486         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69488         * configure.in: Fix typo in redirection and correct removal of test
69489         files in two cases.
69491         [BZ #12788]
69492         * locale/setlocale.c (new_composite_name): Fix test to check for
69493         identical name of all categories.
69495         [BZ #12792]
69496         * libio/filedoalloc.c (local_isatty): New function.
69497         (_IO_file_doallocate): Use local_isatty.
69498         * stdio-common/perror.c (perror): In case a new stream is used
69499         forward the stream error.
69500         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69501         error flag.
69503 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69505         [BZ #11884]
69506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69507         alloca.
69508         * include/alloca.h (extend_alloca_account): Define.
69510         [BZ #11857]
69511         * posix/regex.h: Fix comments with documentation of user-accessible
69512         fields after compilation and describe correct free'ing of pattern
69513         after re_compile_pattern.
69514         Patch by Reuben Thomas <rrt@sc3d.org>.
69516 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69518         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69519         and -mno-altivec to prevent the compiler from using Altivec and/or
69520         VSX instructions when the corresponding registers are not available.
69522 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69524         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69526 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69528         * libio/freopen.c (freopen): Use __dup2, not dup2.
69529         * libio/freopen64.c (freopen64): Likewise.
69531 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69533         [BZ #12775]
69534         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69535         * math/Makefile (tests): Add test-powl.
69536         (CFLAGS-test-powl.c): Define.
69537         * math/test-powl.c: New file.
69539 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69541         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69543 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69545         [BZ #11837]
69546         * iconvdata/gb18030.c: Update to GB18020-2005.
69548 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69550         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69551         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69552         Patch by Aharon Robbins <arnold@skeeve.com>.
69554         [BZ #11892]
69555         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69556         on the stack.
69558         [BZ #11895]
69559         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69560         through underflows.
69562         [BZ #12766]
69563         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69564         point to strings before performing equality test for error_one_per_line
69565         mode.
69567         [BZ #11697]
69568         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69570         [BZ #11820]
69571         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69572         (struct user_fpregs_struct): Avoid __uint*_t types.
69574         [BZ #6420]
69575         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69576         symbol info.  Use it instead of calling _dl_addr locally.
69577         (lock_and_info): New function.
69578         (tr_freehook): Call lock_and_info and pass symbol info as additional
69579         parameter to tr_where.
69580         (tr_mallochook): Likewise.
69581         (tr_reallochook): Likewise.
69582         (tr_memalignhook): Likewise.
69584         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69585         used and couldn't be at all thread-safe.
69587 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69589         * libio/freopen.c (freopen): Don't close old file descriptor
69590         before the new one is opened.  Instead dup the new file descriptor
69591         to the old one after the new stream is created.
69592         * libio/freopen64.c (freopen64): Likewise.
69593         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69594         * libio/fileops.c (_IO_new_file_close_it): Handle new
69595         _IO_FLAGS2_NOCLOSE flag.
69596         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69597         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69598         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69599         _IO_FLAGS2_NOCLOSE flag.
69600         * include/unistd.h: Add hidden_proto for dup3.
69601         Define __have_dup3.
69602         * io/dup3.c: Define hidden symbol.
69603         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69605         [BZ #7101]
69606         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69607         when an incomplete long option is used.
69608         * posix/tst-getopt_long1.c: New file.
69609         * posix/Makefile (tests): Add tst-getopt_long1.
69611         [BZ #10138]
69612         * scripts/config.guess: Update from autoconf-2.68.
69613         * scripts/config.sub: Likewise.
69615         [BZ #10157]
69616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69617         tests into ...
69618         (has_cpuclock): ...this.  New function.
69619         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69620         macro here based on has_cpuclock code.
69622         [BZ #10149]
69623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69624         First byte (not low byte) is now always NUL.
69625         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69628         Use non-cancelable interfaces.
69630         [BZ #9809]
69631         * locale/iso-639.def: Add entry for Sorani.
69633         [BZ #11901]
69634         * include/stdlib.h: Move include protection to the right place.
69635         Define abort_msg_s.  Declare __abort_msg with it.
69636         * stdlib/abort.c (__abort_msg): Adjust type.
69637         * assert/assert.c (__assert_fail_base): New function.  Majority
69638         of code from __assert_fail.  Allocate memory for __abort_msg with
69639         mmap.
69640         (__assert_fail): Now call __assert_fail_base.
69641         * assert/assert-perr.c: Remove bulk of implementation.  Use
69642         __assert_fail_base.
69643         * include/assert.hL Declare __assert_fail_base.
69644         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69645         mmap.
69646         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69648 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69650         [BZ #11952]
69651         [BZ #12453]
69652         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69653         until all modules are registered in the DTV.
69654         * elf/Makefile: Add rules to build and run tst-tls19.
69655         * elf/tst-tls19.c: New file.
69656         * elf/tst-tls19mod1.c: New file.
69657         * elf/tst-tls19mod2.c: New file.
69658         * elf/tst-tls19mod3.c: New file.
69659         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69661         [BZ #12083]
69662         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69663         correctly.
69665         [BZ #12601]
69666         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69667         two-byte sequence errors.
69668         * iconvdata/Makefile (tests): Add bug-iconv8.
69669         * iconvdata/bug-iconv8.c: New file.
69671         [BZ #12626]
69672         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69673         buf2 definition.
69675         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69677         [BZ #12432]
69678         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69679         (dummy_getcfa): New function.
69680         (init): Get _Unwind_GetCFA address, use dummy if not found.
69681         (backtrace_helper): In recursion check, also check whether CFA changes.
69682         (__backtrace): Completely initialize arg.
69684         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69685         storing incomplete byte sequence in state object.  Avoid testing for
69686         guaranteed too small input if we know there is enough data available.
69688 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69690         * Makeconfig (+link-pie): Indent.
69691         * Rules (binaries-pie): Define if $(have-fpie) and
69692         $(build-shared).
69693         (binaries-shared): Also filter out $(binaries-pie).
69694         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69695         * nscd/Makefile (others-pie): Add nscd.
69696         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69697         ($(objpfx)nscd): Remove command override.
69698         * login/Makefile (others-pie): Add pt_chown.
69699         ($(objpfx)pt_chown): Remove command override.
69700         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69701         remove command overrides.
69703 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69705         * libio/tst_putwc.c: Fix error messages.
69707         [BZ #12724]
69708         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69709         currently writing and seek to current position when not.
69710         * libio/Makefile (tests): Add bug-fclose1.
69711         * libio/bug-fclose1.c: New file.
69713 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69715         [BZ #12511]
69716         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69717         don't set DF_1_NODELETE here.
69718         (do_lookup_x): When entering new entry test for copy relocation
69719         and if necessary set DF_1_NODELETE flag.
69720         * elf/tst-unique4.cc: New file.
69721         * elf/tst-unique4.h: New file.
69722         * elf/tst-unique4lib.cc: New file.
69723         * elf/Makefile: Add rules to build and run tst-unique4.
69724         Patch by Piotr Bury <pbury@goahead.com>.
69726 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69728         [BZ #12052]
69729         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69731         [BZ #12625]
69732         * misc/mntent_r.c (addmntent): Flush the stream after the output
69734         [BZ #12393]
69735         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69736         (is_trusted_path_normalize): Skip initial colon.  Append slash
69737         to empty buffer.  Duplicate is_trusted_path code but allow
69738         constructed patch to be prefix.
69739         (is_dst): Allow $ORIGIN followed by /.
69740         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69741         Correct testing of result of is_trusted_path_normalize
69742         (decompose_rpath): Fix warning.
69744 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69746         [BZ #11257]
69747         * grp/initgroups.c (internal_getgrouplist): When we found the service
69748         list through the initgroups entry in nsswitch.conf do not always
69749         continue on a successful lookup.  Don't always use the
69750         __nss_group_database value if it is set.
69751         * nss/nsswitch.conf (initgroups): Change action for successful db
69752         lookup to continue for compatibility.
69754 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69756         [BZ #11532]
69757         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69758         and CP774 modules.
69759         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69760         and CP774 modules.
69761         * iconvdata/tst-tables.sh: Likewise.
69762         * iconvdata/cp770.c: New file.
69763         * iconvdata/cp771.c: New file.
69764         * iconvdata/cp772.c: New file.
69765         * iconvdata/cp773.c: New file.
69766         * iconvdata/cp774.c: New file.
69767         * iconvdata/testdata/CP770: New file.
69768         * iconvdata/testdata/CP770..UTF8: New file.
69769         * iconvdata/testdata/CP771: New file.
69770         * iconvdata/testdata/CP771..UTF8: New file.
69771         * iconvdata/testdata/CP772: New file.
69772         * iconvdata/testdata/CP772..UTF8: New file.
69773         * iconvdata/testdata/CP773: New file.
69774         * iconvdata/testdata/CP773..UTF8: New file.
69775         * iconvdata/testdata/CP774: New file.
69776         * iconvdata/testdata/CP774..UTF8: New file.
69778         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69779         END CHARMAP line.
69780         * iconvdata/gen-8bit-gap.sh: Likewise.
69781         * iconvdata/gen-8bit.sh: Likewise.
69783         * locale/iso-639.def: Add ary entry.
69785         [BZ #11258]
69786         * locale/C-translit.h.in: Add U20A1 transliteration.
69788         [BZ #12178]
69789         * locale/iso-639.def: Add wae entry.
69790         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69792         [BZ #12545]
69793         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69794         for n.
69796         [BZ #12711]
69797         * locale/C-translit.h.in: Add entry for U20B9.
69798         Patch by pravin.d.s@gmail.com.
69800 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69802         [BZ #12713]
69803         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69804         ENAMETOOLONG use generic getcwd.
69805         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69806         in rtld.  Use *stat64.
69807         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69808         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69809         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69810         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69811         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69812         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69813         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69814         __fstatat64 macros.
69815         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69816         * dirent/rewinddir.c: Add libc_hidden_def.
69817         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69818         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69820         * include/dirent.h (__alloc_dir): Add flags parameter.
69821         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69822         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69823         __alloc_dir.
69824         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69825         from fdopendir if O_CLOEXEC is already set.
69827 2011-03-15  Alan Modra  <amodra@gmail.com>
69829         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69830         l_tls_firstbyte_offset non-zero.  Save padding offset in
69831         l_tls_firstbyte_offset for later use.
69832         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69833         freeing static tls block.
69835 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69837         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69838         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69839         being defined by the kernel headers.
69841 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69843         [BZ #12734]
69844         * resolv/resolv.h: Define RES_NOTLDQUERY.
69845         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69846         no-tld-query and set RES_NOTLDQUERY.
69847         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69848         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69849         modern BIND to search name as TLD unless forbidden.
69851 2011-05-07  Petr Baudis  <pasky@suse.cz>
69852             Ulrich Drepper  <drepper@gmail.com>
69854         [BZ #12393]
69855         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69856         (is_trusted_path): ...to here.
69857         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69858         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69859         using is_trusted_path_normalize() in setuid scripts.
69861 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69863         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69864         __BEGIN/__END_DECLS.
69866 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69868         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69869         NSS_STATUS_NOTFOUND if no record was found.
69871 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69873         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69874         (headers-not-in-tirpc): Remove rpc/netdb.h
69875         * resolv/netdb.h: Revert last change.
69877 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69879         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69880         circular dependency between libgcc.a and libc.a.
69882 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69884         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69885         * nis/Makefile: Don't install rpcsvc/*.
69886         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69887         instead of <rpc/types.h>.
69888         (MAXHOSTNAMELEN): Define.
69890 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69892         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69894 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69896         [BZ #12714]
69897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69898         gethostbyname4_r when IPv6 results are possible.
69900 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69902         [BZ #12723]
69903         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69904         _PC_PIPE_BUF handling.
69906 2011-04-30  Bruno Haible  <bruno@clisp.org>
69908         [BZ #12717]
69909         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69910         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69911         to 'int'.
69912         * inet/getnameinfo.c (getnameinfo): Likewise.
69914 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69916         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69917         to groups setting in database lookup.
69918         * nss/nsswitch.conf: Add initgroups entry.
69920 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69922         [BZ #12685]
69923         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69924         mode string.
69925         Patch by Eric Blake <eblake@redhat.com>.
69927 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69929         * sunrpc/Makefile (need-export-routines): Add svc_run.
69930         (routines): Remove svc_run.
69931         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69932         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69933         * sunrpc/svc_run.c (svc_run): Likewise.
69934         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69936 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69938         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69939         problem in reallocation in last patch.
69941 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69943         * sunrpc/Makefile: Move inclusion of Rules.
69945 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69947         * nss/nss_files/files-initgroups.c: New file.
69948         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69949         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69950         _nss_files_initgroups_dyn.
69952 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69954         * elf/elf.h (R_ARM_IRELATIVE): Define.
69956 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69958         * po/ru.po: Update from translation team.
69960 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69962         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69963         dependencies.
69965 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69967         [BZ #12653]
69968         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69969         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69970         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69974 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69976         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69977         differing bytes.
69978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69979         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69982 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69984         [BZ #12420]
69985         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69986         storing it.
69987         * stdlib/bug-getcontext.c: New file.
69988         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69990 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69992         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69993         instructions into .machine "z9-109".
69994         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69995         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69997 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69999         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70000         between environment variables and auxiliary vector.
70002 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70004         * Makefile: Add rules to build linkobj/libc.so.
70005         * include/libc-symbols.h: Define libc_hidden_nolink.
70006         * include/rpc/auth.h: Mark functions which are to be hidden.
70007         * include/rpc/auth_des.h: Likewise.
70008         * include/rpc/auth_unix.h: Likewise.
70009         * include/rpc/clnt.h: Likewise.
70010         * include/rpc/des_crypt.h: Likewise.
70011         * include/rpc/key_prot.h: Likewise.
70012         * include/rpc/pmap_clnt.h: Likewise.
70013         * include/rpc/pmap_prot.h: Likewise.
70014         * include/rpc/pmap_rmt.h: Likewise.
70015         * include/rpc/rpc_msg.h: Likewise.
70016         * include/rpc/svc.h: Likewise.
70017         * include/rpc/svc_auth.h: Likewise.
70018         * include/rpc/xdr.h: Likewise.
70019         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70020         * nss/Makefile: Likewise.
70021         * sunrpc/Makefile: Don't install headers.  Build library with normal
70022         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70023         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70024         for the compat linking library.  Remove use of INTDEF/INTUSE.
70025         * sunrpc/auth_none.c: Likewise.
70026         * sunrpc/auth_unix.c: Likewise.
70027         * sunrpc/authdes_prot.c: Likewise.
70028         * sunrpc/authuxprot.c: Likewise.
70029         * sunrpc/clnt_gen.c: Likewise.
70030         * sunrpc/clnt_perr.c: Likewise.
70031         * sunrpc/clnt_raw.c: Likewise.
70032         * sunrpc/clnt_simp.c: Likewise.
70033         * sunrpc/clnt_tcp.c: Likewise.
70034         * sunrpc/clnt_udp.c: Likewise.
70035         * sunrpc/clnt_unix.c: Likewise.
70036         * sunrpc/des_crypt.c: Likewise.
70037         * sunrpc/des_soft.c: Likewise.
70038         * sunrpc/get_myaddr.c: Likewise.
70039         * sunrpc/key_call.c: Likewise.
70040         * sunrpc/key_prot.c: Likewise.
70041         * sunrpc/netname.c: Likewise.
70042         * sunrpc/pm_getmaps.c: Likewise.
70043         * sunrpc/pm_getport.c: Likewise.
70044         * sunrpc/pmap_clnt.c: Likewise.
70045         * sunrpc/pmap_prot.c: Likewise.
70046         * sunrpc/pmap_prot2.c: Likewise.
70047         * sunrpc/pmap_rmt.c: Likewise.
70048         * sunrpc/publickey.c: Likewise.
70049         * sunrpc/rpc_cmsg.c: Likewise.
70050         * sunrpc/rpc_common.c: Likewise.
70051         * sunrpc/rpc_dtable.c: Likewise.
70052         * sunrpc/rpc_prot.c: Likewise.
70053         * sunrpc/rpc_thread.c: Likewise.
70054         * sunrpc/rtime.c: Likewise.
70055         * sunrpc/svc.c: Likewise.
70056         * sunrpc/svc_auth.c: Likewise.
70057         * sunrpc/svc_authux.c: Likewise.
70058         * sunrpc/svc_raw.c: Likewise.
70059         * sunrpc/svc_run.c: Likewise.
70060         * sunrpc/svc_simple.c: Likewise.
70061         * sunrpc/svc_tcp.c: Likewise.
70062         * sunrpc/svc_udp.c: Likewise.
70063         * sunrpc/svc_unix.c: Likewise.
70064         * sunrpc/svcauth_des.c: Likewise.
70065         * sunrpc/xcrypt.c: Likewise.
70066         * sunrpc/xdr.c: Likewise.
70067         * sunrpc/xdr_array.c: Likewise.
70068         * sunrpc/xdr_float.c: Likewise.
70069         * sunrpc/xdr_intXX_t.c: Likewise.
70070         * sunrpc/xdr_mem.c: Likewise.
70071         * sunrpc/xdr_rec.c: Likewise.
70072         * sunrpc/xdr_ref.c: Likewise.
70073         * sunrpc/xdr_sizeof.c: Likewise.
70074         * sunrpc/xdr_stdio.c: Likewise.
70076 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70078         [BZ #12650]
70079         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70080         * sysdeps/ia64/dl-tls.h: Likewise.
70081         * sysdeps/powerpc/dl-tls.h: Likewise.
70082         * sysdeps/s390/dl-tls.h: Likewise.
70083         * sysdeps/sh/dl-tls.h: Likewise.
70084         * sysdeps/sparc/dl-tls.h: Likewise.
70085         * sysdeps/x86_64/dl-tls.h: Likewise.
70086         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70088 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70090         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70091         rpath element also skip the following colon.
70092         (expand_dynamic_string_token): Add is_path parameter and pass
70093         down to DL_DST_REQUIRED and _dl_dst_substitute.
70094         (decompose_rpath): Call expand_dynamic_string_token with
70095         non-zero is_path.  Ignore empty rpaths.
70096         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70097         with zero is_path.
70099 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70102         Make cancelable.
70104 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70106         [BZ #12655]
70107         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70108         Patch by Filipe David Manana <fdmanana@apache.org>.
70110 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70113         Maintain aligned stack.
70114         (CHECK_RSP): Remove unused macro.
70116 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70118         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70119         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70121 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70123         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70125         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70127 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70129         [BZ #12518]
70130         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70131         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70132         * sysdeps/x86_64/memmove.c: New file.
70133         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70134         (memcpy): Renamed to ...
70135         (__new_memcpy): This.
70136         (memcpy): Provide GLIBC_2_14 memcpy.
70137         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70138         (memcpy): Provide GLIBC_2_2_5 memcpy.
70140 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70142         [BZ #12631]
70143         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70145 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70147         * misc/syncfs.c: New file.
70148         * misc/Makefile (routines): Add syncfs.
70149         * posix/unistd.h: Declare syncfs.
70150         * sysdeps/unix/syscalls.list: Add syncfs.
70152 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70154         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70155         open_by_handle_at.
70156         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70161         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70174         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70175         sync_file_range.c with -fexceptions.
70176         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70177         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70178         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70179         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70183         sync_file_range as cancellation point
70184         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70185         now a wrapper around __call_sync_file_range with cancellation handling.
70186         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70187         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70188         function name to __call_sync_file_range.
70189         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70190         Add call_sync_file_range.
70192 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70195         bits/timex.h.
70197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70199         * iconv/iconv.h: Fix typo in comment.
70200         * io/fcntl.h: Likewise.
70201         * libio/stdio.h: Likewise.
70202         * posix/spawn.h: Likewise.
70203         * posix/unistd.h: Likewise.
70204         * stdlib/stdlib.h: Likewise.
70205         * time/time.h: Likewise.
70206         * wcsmbs/wchar.h: Likewise.
70208         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70209         open_by_handle): Add.
70210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70211         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70212         Augment a few comments.
70213         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70215         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70218         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70219         open_by_handle.
70221         * io/fcntl.h (AT_EMPTY_PATH): Define.
70223 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70225         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70226         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70227         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70228         to...
70229         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70230         * Versions.def: Add GLIBC_2.14.
70231         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70232         Export.
70234 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70236         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70237         round counter.
70238         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70240 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70242         [BZ #12597]
70243         * string/test-strncmp.c (do_page_test): New function.
70244         (check2): Likewise.
70245         (test_main): Call check2.
70246         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70248 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70250         [BZ #12587]
70251         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70252         Handle cache information in CPU leaf 4.
70253         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70255 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70257         [BZ #12583]
70258         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70259         character representation.
70260         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70262 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70264         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70265         END(__isnan) to END(__isnanf) to match function entry point/label
70266         EALIGN(__isnanf,...).
70268 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70270         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70272 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70274         [BZ #12510]
70275         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70276         copy from the symbol referenced in the relocation to initialize the
70277         used variable.
70278         Patch by Piotr Bury <pbury@goahead.com>.
70279         * elf/Makefile: Add rules to build and tst-unique3.
70280         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70281         * elf/tst-unique3.cc: New file.
70282         * elf/tst-unique3.h: New file.
70283         * elf/tst-unique3lib.cc: New file.
70284         * elf/tst-unique3lib2.cc: New file.
70286         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70288 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70290         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70291         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70292         to _start.
70294 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70296         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70297         to-be-loaded object along a path to loader is ld.so.
70299 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70300             Ulrich Drepper  <drepper@gmail.com>
70302         * sysdeps/x86_64/memset.S: After aligning destination, code
70303         branches to different locations depending on the value of
70304         misalignment, when multiarch is enabled. Fix this.
70306 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70308         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70309         Set _x86_64_preferred_memory_instruction for AMD processsors.
70310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70311         Set bit_Prefer_SSE_for_memop for AMD processors.
70313 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70315         * libio/fmemopen.c (fmemopen): Optimize a bit.
70317 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70319         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70321 2011-03-03  Roland McGrath  <roland@redhat.com>
70323         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70325 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70327         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70328         __bzero_ultra1 instead of __memset_ultra1.
70330 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70331             Ulrich Drepper  <drepper@gmail.com>
70333         [BZ #12509]
70334         * include/link.h (struct link_map): Add l_orig_initfini.
70335         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70336         returning unsuccessfully.
70337         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70338         close of a file loaded at startup, restore the original l_initfini
70339         list.
70340         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70341         list, store the pointer.
70342         * elf/Makefile ($(objpfx)noload-mem): New rule.
70343         (noload-ENV): Define.
70344         (tests): Add $(objpfx)noload-mem.
70345         * elf/noload.c: Include <memcheck.h>.
70346         (main): Call mtrace.  Close all opened handles.
70348 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70350         [BZ #12454]
70351         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70352         dependencies are missing.
70354 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70356         Fix __if_freereq crash: Unlike the generic version which uses free,
70357         Hurd needs munmap.
70358         * sysdeps/mach/hurd/ifreq.h: New file.
70360 2011-01-27  Petr Baudis  <pasky@suse.cz>
70361             Ulrich Drepper  <drepper@gmail.com>
70363         [BZ 12445]#
70364         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70365         to extend_alloca().
70366         * stdio-common/bug23.c: New file.
70367         * stdio-common/Makefile (tests): Add bug23.
70369 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70370             Ulrich Drepper  <drepper@gmail.com>
70372         [BZ #12489]
70373         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70374         before performing relro protection.  At old place add assertion
70375         to make sure nothing changed.
70377 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70378             Glauber de Oliveira Costa  <glommer@gmail.com>
70380         * elf/elf.h: Add new ARM TLS relocs.
70382 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70385         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70386         cast from r3.
70387         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70388         'tests' variable.
70389         * sysdeps/wordsize-64/tst-writev.c: New file.
70391 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70393         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70394         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70395         insns in _dl_start to prevent a TOC reference before relocs are
70396         resolved.
70398 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70400         [BZ #12469]
70401         * Makeconfig: Remove RANLIB definition.
70402         * Makerules: Don't use RANLIB.
70403         * aclocal.m4: Remove ranlib test.
70404         * configure.in: No need to check for ranlib.
70405         * elf/rtld-Rules: Don't use RANLIB.
70407 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70409         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70410         protection macro.
70411         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70412         inclusion protection macro.
70414         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70415         SIGRTMIN and SIGRTMAX and print information in that case only when
70416         SIGRTMIN is defined.
70418 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70420         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70421         arginfo fn returning -1.
70423         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70424         and thousands string is zero terminated.
70426 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70429         sysdeps/unix/sysv/linux/bits/socket.h.
70431 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70433         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70434         (__CPU_COUNT): Remove old macros.
70435         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70436         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70437         (__CPU_ALLOC, __CPU_FREE): Add macros.
70438         (__sched_cpualloc, __sched_cpufree): Add declarations.
70440 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70442         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70443         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70444         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70445         (readdhstai): Return value of addhstaiX call.
70446         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70447         (addgrbyX): Return value returned by cache_addgr.
70448         (readdgrbyname): Return value returned by addgrbyX.
70449         (readdgrbygid): Likewise.
70450         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70451         (addpwbyX): Return value returned by cache_addpw.
70452         (readdpwbyname): Return value returned by addhstbyX.
70453         (readdpwbyuid): Likewise.
70454         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70455         (addservbyX): Return value returned by cache_addserv.
70456         (readdservbyname): Return value returned by addservbyX:
70457         (readdservbyport): Likewise.
70458         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70459         (addhstbyX): Return value returned by cache_addhst.
70460         (readdhstbyname): Return value returned by addhstbyX.
70461         (readdhstbyaddr): Likewise.
70462         (readdhstbynamev6): Likewise.
70463         (readdhstbyaddrv6): Likewise.
70464         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70465         (readdinitgroups): Return value returned by addinitgroupsX.
70466         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70467         (prune_cache): Keep track of timeout value of re-added entries.
70468         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70469         * nscd/nscd.h: Adjust prototypes of readd* functions.
70471 2011-02-04  Roland McGrath  <roland@redhat.com>
70473         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70474         (nis_stats): Likewise.
70475         * nis/nis_modify.c (nis_modify): Likewise.
70476         * nis/nis_remove.c (nis_remove): Likewise.
70477         * nis/nis_add.c (nis_add): Likewise.
70479         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70481         * posix/fnmatch_loop.c: Add some consts.
70483         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70485 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70487         [BZ #12460]
70488         * config.make.in (config-cflags-novzeroupper): Define.
70489         * configure.in: Substitute libc_cv_cc_novzeroupper.
70490         * elf/Makefile (AVX-CFLAGS): Define.
70491         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70492         (CFLAGS-tst-auditmod4a.c): Likewise.
70493         (CFLAGS-tst-auditmod4b.c): Likewise.
70494         (CFLAGS-tst-auditmod6b.c): Likewise.
70495         (CFLAGS-tst-auditmod6c.c): Likewise.
70496         (CFLAGS-tst-auditmod7b.c): Likewise.
70497         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70499 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70501         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70502         function to the callback.
70503         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70505 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70507         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70508         of errno.
70510 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70512         [BZ #11724]
70513         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70514         of constructors.
70515         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70516         of destructors.
70517         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70519         [BZ #11724]
70520         * elf/Makefile: Add rules to build and run new test.
70521         * elf/tst-initorder.c: New file.
70522         * elf/tst-initorder.exp: New file.
70523         * elf/tst-initordera1.c: New file.
70524         * elf/tst-initordera2.c: New file.
70525         * elf/tst-initordera3.c: New file.
70526         * elf/tst-initordera4.c: New file.
70527         * elf/tst-initorderb1.c: New file.
70528         * elf/tst-initorderb2.c: New file.
70529         * elf/tst-order-a1.c: New file.
70530         * elf/tst-order-a2.c: New file.
70531         * elf/tst-order-a3.c: New file.
70532         * elf/tst-order-a4.c: New file.
70533         * elf/tst-order-b1.c: New file.
70534         * elf/tst-order-b2.c: New file.
70535         * elf/tst-order-main.c: New file.
70536         New test case by George Gensure <werkt0@gmail.com>.
70538 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70541         decoding ACE if AI_CANONIDN.
70543 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70545         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70547 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70549         * version.h (RELEASE): Bump for 2.13 release.
70550         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70552         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70554         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70555         MADV_NOHUGEPAGE.
70556         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70557         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70561         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70563         * posix/getconf.c: Update copyright year.
70564         * catgets/gencat.c: Likewise.
70565         * csu/version.c: Likewise.
70566         * debug/catchsegv.sh: Likewise.
70567         * debug/xtrace.sh: Likewise.
70568         * elf/ldconfig.c: Likewise.
70569         * elf/ldd.bash.in: Likewise.
70570         * elf/sprof.c (print_version): Likewise.
70571         * iconv/iconv_prog.c: Likewise.
70572         * iconv/iconvconfig.c: Likewise.
70573         * locale/programs/locale.c: Likewise.
70574         * locale/programs/localedef.c: Likewise.
70575         * malloc/memusage.sh: Likewise.
70576         * malloc/mtrace.pl: Likewise.
70577         * nscd/nscd.c (print_version): Likewise.
70578         * nss/getent.c: Likewise.
70580         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70581         PF_CAIF, and PF_ALG.
70582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70584 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70586         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70587         (modules-names): Use them.
70588         (ifunc-test-modules, ifunc-pie-tests): Define.
70589         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70590         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70591         (test-extras): Likewise.
70592         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70593         $(compile-command.c).
70594         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70595         (all-built-dso): Define.
70596         (check-textrel.out, check-execstack.out): Depend on it.
70598         * configure.in: Don't override --enable-multi-arch.
70600 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70602         [BZ #6812]
70603         * nscd/hstcache.c (tryagain): Define.
70604         (cache_addhst): Return tryagain not notfound for temporary errors.
70605         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70606         failed.
70608 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70610         [BZ #10563]
70611         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70612         to make the syscall.
70613         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70615         [BZ #12378]
70616         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70617         and fall back to matching as normal character if the string ends before
70618         the matching ']' is found.  This is what POSIX requires.
70619         * posix/testfnm.c: Adjust test result.
70620         * posix/globtest.sh: Adjust test result.  Add new test.
70621         * posix/tst-fnmatch.input: Likewise.
70622         * posix/tst-fnmatch2.c: Add new test.
70624 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70626         * elf/Makefile (check-execstack): Revert last change.  Depend on
70627         check-execstack.h.
70628         (check-execstack.h): New target.
70629         (generated): Add check-execstack.h.
70630         * elf/check-execstack.c: Include "check-execstack.h".
70631         (main): Revert last change.
70632         (handle_file): Return zero if GNU_STACK is absent and
70633         DEFAULT_STACK_PERMS doesn't include PF_X.
70635 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70637         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70638         in child fails because the descriptor is already closed.
70639         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70640         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70641         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70643         [BZ #12397]
70644         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70645         syscall.
70647         [BZ #10484]
70648         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70649         temporary buffer used to handle multi lookups locally.
70650         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70652 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70654         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70655         loader is ld.so.
70657 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70659         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70660         alignment for SSE2.
70662 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70664         [BZ #12394]
70665         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70666         characters.  When rounding increased number of integer digits recompute
70667         number of groups.
70668         * stdio-common/tst-grouping.c: New file.
70669         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70671 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70673         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70674         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70676         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70677         void.
70678         * bits/select.h: Likewise.
70680 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70682         * po/ja.po: Update from translation team.
70684 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70686         [BZ #11155]
70687         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70688         implementation just like for lxstat, fxstatat, et al.
70690 2010-12-27  Jim Meyering  <meyering@redhat.com>
70692         [BZ #12348]
70693         * posix/regexec.c (build_trtable): Return failure indication upon
70694         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70696 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70698         [BZ #12201]
70699         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70700         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70701         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70702         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70704         [BZ #12207]
70705         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70707         [BZ #12204]
70708         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70709         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70711 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70713         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70714         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70715         script has SORT_BY_INIT_PRIORITY.
70716         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70717         NO_CTORS_DTORS_SECTIONS is defined.
70718         * elf/soinit.c: Likewise.
70719         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70720         NO_CTORS_DTORS_SECTIONS is defined.
70721         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70722         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70723         * sysdeps/sh/init-first.c: Likewise.
70724         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70726 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70728         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70729         always use the slow path.
70731 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70733         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70734         similar rule which adds the sysdep directories to the header search in
70735         order to pick up the correct platform stackinfo.h.
70736         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70737         perform test if it is, otherwise return successfully without testing.
70738         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70739         DEFAULT_STACK_PERMS define in stackinfo.h.
70740         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70741         defined in stackinfo.h.
70742         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70743         DEFAULT_STACK_PERMS defined in stackinfo.h.
70744         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70745         * sysdeps/ia64/stackinfo.h: Likewise.
70746         * sysdeps/s390/stackinfo.h: Likewise.
70747         * sysdeps/sh/stackinfo.h: Likewise.
70748         * sysdeps/sparc/stackinfo.h: Likewise.
70749         * sysdeps/x86_64/stackinfo.h: Likewise.
70750         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70751         PF_X for powerpc64.  Retain PF_X for powerpc32.
70753 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70755         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70756         accurately.
70757         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70758         GETDENTS_64BIT_ALIGNED.
70760 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70762         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70764 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70766         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70767         _GNU_SOURCE.
70769         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70770         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70771         Remove __restrict.
70772         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70773         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70775 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70777         [BZ #11655]
70778         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70779         are initialized.
70781 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70783         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70785 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70787         * po/it.po: Update from translation team.
70789 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70792         unused codes.
70794 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70796         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70798 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70800         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70801         specially.
70802         (gaih_getanswer_slice): Likewise.
70804 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70806         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70808 2010-05-31  Petr Baudis  <pasky@suse.cz>
70810         [BZ #11149]
70811         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70812         silently even in the chroot mode.
70814 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70816         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70817         last patch a bit.  Pretty printing
70819 2010-05-31  Petr Baudis <pasky@suse.cz>
70821         [BZ #10085]
70822         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70823         initialization of skip_initgroups_dyn.
70825 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70827         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70828         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70830 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70832         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70834 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70836         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70837         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70838         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70839         ($(objpfx)tst-fnmatch-mem): New rule.
70840         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70841         * posix/tst-fnmatch.c (main): Call mtrace.
70843 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70846         Support Intel processor model 6 and model 0x2c.
70848 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70850         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70851           signed comparison.
70853 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70855         [BZ #12205]
70856         * string/test-strncasecmp.c (check_result): New function.
70857         (do_one_test): Use it.
70858         (check1): New function.
70859         (test_main): Use it.
70860         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70861         Support strcasecmp and strncasecmp.
70863 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70865         [BZ #12194]
70866         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70867         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70869 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70871         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70872         IFUNC support.
70873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70874         memset-x86-64.
70875         * sysdeps/x86_64/multiarch/bzero.S: New file.
70876         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70877         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70878         * sysdeps/x86_64/multiarch/memset.S: New file.
70879         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70881         Set bit_Prefer_SSE_for_memop for Intel processors.
70882         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70883         Define.
70884         (index_Prefer_SSE_for_memop): Define.
70885         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70887 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70889         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70890         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70892 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70894         [BZ #12191]
70895         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70896         (__x86_64_raw_data_cache_size_half): Likewise.
70897         (__x86_64_raw_shared_cache_size): Likewise.
70898         (__x86_64_raw_shared_cache_size_half): Likewise.
70900         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70901         (__x86_64_raw_data_cache_size_half): Likewise.
70902         (__x86_64_raw_shared_cache_size): Likewise.
70903         (__x86_64_raw_shared_cache_size_half): Likewise.
70904         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70905         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70906         and __x86_64_raw_shared_cache_size_half.  Round
70907         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70908         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70909         to multiple of 256 bytes.
70911 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70913         [BZ #12167]
70914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70915         of inacessible symlinks.  Verify result of symlink before returning it.
70916         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70917         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70919 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70921         * math/math.h (isinf): Fix typo in comment.
70923 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70925         * po/da.po: Update from translation team.
70927 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70929         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70930         is added to the list.
70932 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70933             Ulrich Drepper  <drepper@gmail.com>
70935         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70936         the global list here.  Move code to...
70937         (_dl_add_to_namespace_list): ...here.  New function.
70938         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70939         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70940         * elf/dl-load.c (lose): Don't remove the element from the list.
70941         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70942         (_dl_map_object): Likewise.
70944 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70946         [BZ #12159]
70947         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70948         into all bytes of SSE register.
70949         Patch by Richard Li <richardpku@gmail.com>.
70951 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70953         [BZ #12140]
70954         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70955         perturbing.
70957 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70959         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70960         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70961         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70962         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70964         submachine.
70965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70967 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70969         * include/dlfcn.h (__RTLD_SECURE): Define.
70970         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70971         mode & __RTLD_SECURE instead.
70972         (open_path): Rename preloaded parameter to secure.
70973         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70974         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70975         * elf/dl-deps.c (openaux): Likewise.
70976         * elf/rtld.c (struct map_args): Remove is_preloaded.
70977         (map_doit): Don't use it.
70978         (dl_main): Likewise.
70979         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70980         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70982 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70984         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70985         (sysd-rules-targets): Remove duplicates.
70986         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70987         rtld-%.$o dependency.
70989 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70991         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70992         _dl_map_object do it.
70994 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70996         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70997         fast fma builtins, define the macros in the C99 standard.
70998         (FP_FAST_FMAF): Likewise.
70999         (FP_FAST_FMAL): Likewise.
71000         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71002         * bits/mathdef.h: Update copyright year.
71003         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71005 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71007         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71008         builtins, define the macros in the C99 standard.
71009         (FP_FAST_FMAF): Likewise.
71010         (FP_FAST_FMAL): Likewise.
71011         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71012         multiply/add.
71013         (FP_FAST_FMAF): Likewise.
71015 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71017         [BZ #3268]
71018         * math/libm-test.inc (fma_test): Some new testcases.
71019         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71021         y and infinite z.  Do multiplication by C already in long double.
71022         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71024         y and infinite z.  Do bitwise or of inexact bit into u.d.
71025         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71026         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71027         * sysdeps/i386/fpu/s_fma.S: Removed.
71028         * sysdeps/i386/fpu/s_fmal.S: Removed.
71030 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71032         [BZ #3268]
71033         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71035         computation is not scheduled after fetestexcept.  Fix value
71036         of minimum denormal long double.
71038 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71040         [BZ #3268]
71041         * math/libm-test.inc (fma_test): Add some more tests.
71042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71043         correctly.
71045 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71047         * scripts/data/localplt-s390-linux-gnu.data: New file.
71048         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71050 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71052         [BZ #3268]
71053         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71054         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71055         instead of dbl-64.
71056         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71057         inlines.
71058         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71060         if one of x and y is very large and the other is subnormal.
71061         * sysdeps/s390/fpu/s_fmaf.c: New file.
71062         * sysdeps/s390/fpu/s_fma.c: New file.
71063         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71064         * sysdeps/powerpc/fpu/s_fma.S: New file.
71065         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71066         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71067         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71069 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71071         [BZ #3268]
71072         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71073         fma tests.
71074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71075         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71076         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71077         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71078         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71079         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71080         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71082 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71084         [BZ #12078]
71085         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71086         * posix/bug-regex31.input: Add test case.
71088 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71090         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71091         * posix/bug-regex31.input: New file.
71093         [BZ #12078]
71094         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71095         (parse_sub_exp): Fix last change, use postorder.
71097         * posix/bug-regex31.c: New file.
71098         * posix/Makefile: Add rules to build and run bug-regex31.
71100         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71102         [BZ #12078]
71103         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71105         [BZ #12108]
71106         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71107         to have entries in sys_siglist.
71109         [BZ #12093]
71110         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71111         be NULL.
71113 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71115         [BZ #3268]
71116         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71117         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71118         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71119         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71120         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71121         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71122         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71123         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71124         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71125         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71126         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71127         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71128         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71129         * math/ftestexcept.c (fetestexcept): Likewise.
71130         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71131         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71132         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71133         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71134         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71135         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71136         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71138 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71140         [BZ #12107]
71141         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71142         newline.
71144 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71146         * string/bug-strstr1.c: New file.
71147         * string/Makefile: Add rules to build and run bug-strstr1.
71149 2010-10-05  Eric Blake  <eblake@redhat.com>
71151         [BZ #12092]
71152         * string/str-two-way.h (two_way_long_needle): Always clear memory
71153         when skipping input due to the shift table.
71155 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71157         [BZ #12005]
71158         * malloc/mcheck.c: Handle large requests.
71160         [BZ #12077]
71161         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71162         for strncmp and strncasecmp.
71163         * string/stratcliff.c: Add tests for strcmp and strncmp.
71164         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71166 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71168         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71169         __set_fpscr.
71171 2010-09-30  Andreas Jaeger  <aj@suse.de>
71173         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71174         (CGROUP_SUPER_MAGIC): Define.
71175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71176         Handle btrfs and cgroup file systems.
71177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71178         Likewise.
71180 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71182         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71183         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71185 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71187         [BZ #12067]
71188         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71189         trying to locate the ELF header.
71191 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71193         [BZ #11611]
71194         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71195         Mask out sign-bit copies when constructing f_fsid.
71197 2010-09-24  Petr Baudis <pasky@suse.cz>
71199         * debug/stack_chk_fail_local.c: Add missing licence exception.
71200         * debug/warning-nop.c: Likewise.
71202 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71204         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71205         implementing getdents64 using getdents syscall, set d_type if
71206         __ASSUME_GETDENTS32_D_TYPE.
71208 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71210         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71211         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71213 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71215         [BZ #12037]
71216         * posix/unistd.h: Undo change of feature selection for ftruncate from
71217         2010-01-11.
71219 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71221         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71222         detection.
71224 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71226         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71227         fanotify_mark.
71228         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71230 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71232         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71233         variables after CHECK_SP call.
71234         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71236 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71237             Ulrich Drepper  <drepper@redhat.com>
71239         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71240         re-relocationg ld.so.
71241         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71242         _dl_init_paths call.
71243         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71244         here anymore.
71246 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71248         * resolv/res_init.c (__res_vinit): Count the default server we added.
71250 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71251             Ulrich Drepper  <drepper@redhat.com>
71253         [BZ #11968]
71254         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71255         (____longjmp_chk): Use %ebx for saving value across system call.
71256         Add unwind info.
71258 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71260         * manual/Makefile: Don't mix pattern rules with normal rules.
71262 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71264         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71265         operation.
71266         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71267         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71268         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71269         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71271         Likewise.
71273 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71275         [BZ #11979]
71276         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71277         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71279 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71281         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71282         * sysdeps/x86_64/addmul_1.S: Likewise.
71283         * sysdeps/x86_64/lshift.S: Likewise.
71284         * sysdeps/x86_64/mul_1.S: Likewise.
71285         * sysdeps/x86_64/rshift.S: Likewise.
71286         * sysdeps/x86_64/sub_n.S: Likewise.
71287         * sysdeps/x86_64/submul_1.S: Likewise.
71289 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71291         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71292         Define __sched_param instead of SCHED_* and sched_param when
71293         <bits/sched.h> is included with __need_schedparam defined.
71294         * bits/sched.h [__need_schedparam]
71295         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71296         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71297         (__defined_schedparam): Define to 1.
71298         (__sched_param): New structure, identical to sched_param.
71299         (__need_schedparam): Undefine.
71301 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71304         (epoll_create1): Declare.
71306         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71308 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71310         [BZ #7066]
71311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71312         shifting retval into place.
71314 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71316         * nis/rpcsvc/nis.h: Update copyright notice.
71317         * nis/rpcsvc/nis.x: Likewise.
71318         * nis/rpcsvc/nis_callback.h: Likewise.
71319         * nis/rpcsvc/nis_callback.x: Likewise.
71320         * nis/rpcsvc/nis_object.x: Likewise.
71321         * nis/rpcsvc/nis_tags.h: Likewise.
71322         * nis/rpcsvc/yp.h: Likewise.
71323         * nis/rpcsvc/yp.x: Likewise.
71324         * nis/rpcsvc/ypupd.h: Likewise.
71325         * nis/yp_xdr.c: Likewise.
71326         * nis/ypupdate_xdr.c: Likewise.
71328         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71329         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71330         (pmap_getport): Use __libc_rpc_getport.
71331         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71332         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71333         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71335 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71338         fanotify_mark.
71340 2010-08-27  Roland McGrath  <roland@redhat.com>
71342         * sysdeps/i386/i686/multiarch/Makefile
71343         (CFLAGS-varshift.c): New variable.
71345 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71347         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71348         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71352         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71354 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71356         * sysdeps/x86_64/strlen.S: Unroll the loop.
71357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71358         strlen-sse2 strlen-sse2-bsf.
71359         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71360         __strlen_no_bsf if bit_Slow_BSF is set.
71361         (__strlen_sse42): Removed.
71362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71363         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71365 2010-08-25  Roland McGrath  <roland@redhat.com>
71367         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71368         * sysdeps/x86_64/multiarch/varshift.c: New file.
71369         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71370         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71371         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71372         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71374 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71377         strlen-sse2 strlen-sse2-bsf.
71378         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71379         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71380         (__strlen_sse2): Removed.
71381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71384         bit_Slow_BSF for Atom.
71385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71386         (index_Slow_BSF): Define.
71387         (HAS_SLOW_BSF): Define.
71389 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71391         [BZ #10851]
71392         * resolv/res_init.c (__res_vinit): When no server address at all
71393         is given default to loopback.
71395 2010-08-24  Roland McGrath  <roland@redhat.com>
71397         * configure.in: Remove config-name.h generation.
71398         * configure: Regenerated.
71399         * config-name.in: File removed.
71400         * scripts/config-uname.sh: New file.
71401         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71402         ($(objdir)config-name.h): New target.
71404         * sunrpc/rpc_parse.h: Avoid nested comment.
71406 2010-08-24  Richard Henderson  <rth@redhat.com>
71407             Ulrich Drepper  <drepper@redhat.com>
71408             H.J. Lu  <hongjiu.lu@intel.com>
71410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71412         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71413         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71414         _mm_alignr_epi8 with _mm_loadu_si128.
71415         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71416         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71417         (__m128i_shift_right): Removed.
71418         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71419         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71420         * sysdeps/x86_64/multiarch/varshift.h: New file.
71421         * sysdeps/x86_64/multiarch/varshift.S: New file.
71423 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71425         * configure.in: Move assembler checks to before sysdep dir checking.
71427 2010-08-20  Petr Baudis  <pasky@suse.cz>
71429         * LICENSES: Sync the sunrpc license.
71431 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71433         * sunrpc/auth_des.c: Update copyright notice once again.
71434         * sunrpc/auth_none.c: Likewise.
71435         * sunrpc/auth_unix.c: Likewise.
71436         * sunrpc/authdes_prot.c: Likewise.
71437         * sunrpc/authuxprot.c: Likewise.
71438         * sunrpc/bindrsvprt.c: Likewise.
71439         * sunrpc/clnt_gen.c: Likewise.
71440         * sunrpc/clnt_perr.c: Likewise.
71441         * sunrpc/clnt_raw.c: Likewise.
71442         * sunrpc/clnt_simp.c: Likewise.
71443         * sunrpc/clnt_tcp.c: Likewise.
71444         * sunrpc/clnt_udp.c: Likewise.
71445         * sunrpc/clnt_unix.c: Likewise.
71446         * sunrpc/des_crypt.c: Likewise.
71447         * sunrpc/des_soft.c: Likewise.
71448         * sunrpc/get_myaddr.c: Likewise.
71449         * sunrpc/getrpcport.c: Likewise.
71450         * sunrpc/key_call.c: Likewise.
71451         * sunrpc/key_prot.c: Likewise.
71452         * sunrpc/openchild.c: Likewise.
71453         * sunrpc/pm_getmaps.c: Likewise.
71454         * sunrpc/pm_getport.c: Likewise.
71455         * sunrpc/pmap_clnt.c: Likewise.
71456         * sunrpc/pmap_prot.c: Likewise.
71457         * sunrpc/pmap_prot2.c: Likewise.
71458         * sunrpc/pmap_rmt.c: Likewise.
71459         * sunrpc/rpc/auth.h: Likewise.
71460         * sunrpc/rpc/auth_unix.h: Likewise.
71461         * sunrpc/rpc/clnt.h: Likewise.
71462         * sunrpc/rpc/des_crypt.h: Likewise.
71463         * sunrpc/rpc/key_prot.h: Likewise.
71464         * sunrpc/rpc/netdb.h: Likewise.
71465         * sunrpc/rpc/pmap_clnt.h: Likewise.
71466         * sunrpc/rpc/pmap_prot.h: Likewise.
71467         * sunrpc/rpc/pmap_rmt.h: Likewise.
71468         * sunrpc/rpc/rpc.h: Likewise.
71469         * sunrpc/rpc/rpc_des.h: Likewise.
71470         * sunrpc/rpc/rpc_msg.h: Likewise.
71471         * sunrpc/rpc/svc.h: Likewise.
71472         * sunrpc/rpc/svc_auth.h: Likewise.
71473         * sunrpc/rpc/types.h: Likewise.
71474         * sunrpc/rpc/xdr.h: Likewise.
71475         * sunrpc/rpc_clntout.c: Likewise.
71476         * sunrpc/rpc_cmsg.c: Likewise.
71477         * sunrpc/rpc_common.c: Likewise.
71478         * sunrpc/rpc_cout.c: Likewise.
71479         * sunrpc/rpc_dtable.c: Likewise.
71480         * sunrpc/rpc_hout.c: Likewise.
71481         * sunrpc/rpc_main.c: Likewise.
71482         * sunrpc/rpc_parse.c: Likewise.
71483         * sunrpc/rpc_parse.h: Likewise.
71484         * sunrpc/rpc_prot.c: Likewise.
71485         * sunrpc/rpc_sample.c: Likewise.
71486         * sunrpc/rpc_scan.c: Likewise.
71487         * sunrpc/rpc_scan.h: Likewise.
71488         * sunrpc/rpc_svcout.c: Likewise.
71489         * sunrpc/rpc_tblout.c: Likewise.
71490         * sunrpc/rpc_util.c: Likewise.
71491         * sunrpc/rpc_util.h: Likewise.
71492         * sunrpc/rpcinfo.c: Likewise.
71493         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71494         * sunrpc/rpcsvc/key_prot.x: Likewise.
71495         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71496         * sunrpc/rpcsvc/mount.x: Likewise.
71497         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71498         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71499         * sunrpc/rpcsvc/rex.x: Likewise.
71500         * sunrpc/rpcsvc/rstat.x: Likewise.
71501         * sunrpc/rpcsvc/rusers.x: Likewise.
71502         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71503         * sunrpc/rpcsvc/spray.x: Likewise.
71504         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71505         * sunrpc/rtime.c: Likewise.
71506         * sunrpc/svc.c: Likewise.
71507         * sunrpc/svc_auth.c: Likewise.
71508         * sunrpc/svc_authux.c: Likewise.
71509         * sunrpc/svc_raw.c: Likewise.
71510         * sunrpc/svc_run.c: Likewise.
71511         * sunrpc/svc_simple.c: Likewise.
71512         * sunrpc/svc_tcp.c: Likewise.
71513         * sunrpc/svc_udp.c: Likewise.
71514         * sunrpc/svc_unix.c: Likewise.
71515         * sunrpc/svcauth_des.c: Likewise.
71516         * sunrpc/xcrypt.c: Likewise.
71517         * sunrpc/xdr.c: Likewise.
71518         * sunrpc/xdr_array.c: Likewise.
71519         * sunrpc/xdr_float.c: Likewise.
71520         * sunrpc/xdr_mem.c: Likewise.
71521         * sunrpc/xdr_rec.c: Likewise.
71522         * sunrpc/xdr_ref.c: Likewise.
71523         * sunrpc/xdr_sizeof.c: Likewise.
71524         * sunrpc/xdr_stdio.c: Likewise.
71526         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71527         handling.
71529 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71531         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71533 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71535         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71538         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71540         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71541         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71542         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71543         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71544         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71545         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71546         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71547         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71548         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71550 2010-07-26  Anton Blanchard  <anton@samba.org>
71552         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71553         * malloc/arena.c (heap_trim): Likewise.
71555 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71557         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71558         here.  Not...
71559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71560         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71562 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71564         * sysdeps/i386/elf/Makefile: New file.
71566 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71568         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71569         from fanotify_init.
71570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71573 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71575         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71576         of strncasecmp_l.
71577         * sysdeps/multiarch/strcmp.S: Likewise.
71579 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71581         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71582         strncase_l-nonascii.
71583         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71584         Add strncase_l-ssse3.
71585         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71586         * sysdeps/x86_64/strcmp.S: Likewise.
71587         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71588         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71589         * sysdeps/x86_64/strncase.S: New file.
71590         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71591         * sysdeps/x86_64/strncase_l.S: New file.
71592         * string/Makefile (strop-tests): Add strncasecmp.
71593         * string/test-strncasecmp.c: New file.
71595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71596         warning.
71598         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71599         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71601 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71603         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71605 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71607         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71608         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71609         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71611 2010-05-01  Alan Modra  <amodra@gmail.com>
71613         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71614         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71615         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71616         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71617         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71618         tidying.  Don't tail-call __sigjmp_save for static lib.
71619         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71620         save location.
71621         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71622         (CALL_MCOUNT): Add eh info, and nop after bl.
71623         (TAIL_CALL_SYSCALL_ERROR): New macro.
71624         (PSEUDO_RET): Use it.
71625         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71626         Correct save location of integer regs and cr.
71627         (_dl_profile_resolve): Correct cr save location.  Delete nops
71628         after bl when SHARED.  Reduce cfi size a little by better
71629         placement of cfi directives.
71630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71631         make a stack frame.  Instead use parm save area as a temp.
71632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71633         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71635         Don't make a stack frame for parent, use parm save area.
71636         Increase child stack frame to 112 bytes.  Don't save unused reg,
71637         and adjust reg usage.  Set up cfi on error recovery and
71638         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71640         (__makecontext): Add dummy nop after jump to exit.
71641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71642         Use correct parm save area and cr save, reduce stack frame.
71643         Correct cfi for possible PSEUDO_RET frame setup.
71644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71645         Branch to local label emitted by PSEUDO_RET rather than
71646         __syscall_error.
71648 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71650         [BZ #11904]
71651         * locale/programs/locale.c (print_assignment): New function.
71652         (show_locale_vars): Use it.
71654 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71656         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71657         field.
71658         (struct statfs64): Likewise.
71659         (_STATFS_F_FLAGS): Define.
71660         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71661         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71662         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71663         (ST_VALID): Define locally.
71664         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71665         __statvfs_getflags, use the provided value.
71666         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71667         __ASSUME_STATFS_F_FLAGS.
71669         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71672         Add sys/fanotify.h.
71673         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71674         fanotify_mask for GLIBC_2.13.
71675         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71676         fanotify_init and fanotify_mark.
71677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71678         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71680         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71681         Add prlimit.
71682         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71683         prlimit64 for GLIBC_2.13.
71684         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71685         prlimit64.
71686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71687         syscall.
71688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71690         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71691         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71693         add prlimit alias.
71694         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71696         [BZ #11903]
71697         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71698         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71700         * nss/Makefile: Add rules to build and run tst-nss-test1.
71701         * shlib-versions: Add entry for libnss_test1.
71702         * nss/nss_test1.c: New file.
71703         * nss/tst-nss-test1.c: New file.
71705         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71706         (__nss_configure_lookup): Set appropriate entry in
71707         __nss_configure_lookup to true.
71708         * nss/nsswitch.h: Define enum with indeces of databases in
71709         databases and __nss_database_custom arrays.  Declare
71710         __nss_database_custom.
71711         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71712         to avoid using nscd when custom rules are installed.
71713         * nss/getXXbyYY_r.c: Likewise.
71714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71716         * nss/nss_files/files-parse.c: Whitespace fixes.
71718 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71720         [BZ #11883]
71721         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71722         * posix/fnmatch_loop.c: Likewise.
71724 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71726         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71727         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71728         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71729         * Versions.def [GLIBC_2.13]: Add.
71731 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71733         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71734         Also fail if tpwd after pwuid call is NULL.
71736 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71738         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71739         when converting to ms.
71741 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71743         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71744         EOPNOTSUPP errors with ENOTTY.
71745         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71746         EOPNOTSUPP errors with ENOTTY.
71748 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71750         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71751         Add strcasecmp_l-ssse3.
71752         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71753         strcasecmp.
71754         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71755         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71756         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71758 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71760         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71762         * string/Makefile (strop-tests): Add strcasecmp.
71763         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71764         strcasecmp_l-nonascii.
71765         (gen-as-const-headers): Add locale-defines.sym.
71766         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71767         * sysdeps/x86_64/strcasecmp.S: New file.
71768         * sysdeps/x86_64/strcasecmp_l.S: New file.
71769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71770         * sysdeps/x86_64/locale-defines.sym: New file.
71771         * string/test-strcasecmp.c: New file.
71773         * string/test-strcasestr.c: Test both ends of the range of characters.
71774         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71776 2010-07-29  Roland McGrath  <roland@redhat.com>
71778         [BZ #11856]
71779         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71781 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71783         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71784         for ld.so.
71786 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71788         * manual/memory.texi (Malloc Tunable Parameters): Document
71789         M_PERTURB.
71791 2010-07-26  Roland McGrath  <roland@redhat.com>
71793         [BZ #11840]
71794         * configure.in (-fgnu89-inline check): Set and substitute
71795         gnu89_inline, not libc_cv_gnu89_inline.
71796         * configure: Regenerated.
71797         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71799 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71801         * string/test-strnlen.c: New file.
71802         * string/Makefile (strop-tests): Add strnlen.
71803         * string/tester.c (test_strnlen): Add a few more test cases.
71804         * string/tst-strlen.c: Better error reporting.
71806         * sysdeps/x86_64/strnlen.S: New file.
71808 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71810         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71811         lower-latency instructions.
71813 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71815         * string/test-strcasestr.c: New file.
71816         * string/test-strstr.c: New file.
71817         * string/Makefile (strop-tests): Add strstr and strcasestr.
71818         * string/str-two-way.h: Don't undefine MAX.
71819         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71821 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71824         strcasestr-nonascii.
71825         (CFLAGS-strcasestr-nonascii.c): Define.
71826         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71827         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71828         Remove unused attribute.
71830 2010-07-20  Roland McGrath  <roland@redhat.com>
71832         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71833         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71834         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71835         like LD_HWCAP_MASK can disable hwcaps.
71837 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71839         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71841 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71843         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71844         call in strcasestr.
71845         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71846         __strcasestr_sse42_nonascii.
71847         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71848         strcasestr-nonascii.c.
71849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71851 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71853         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71854         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71855         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71856         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71858 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71861         fcntl.
71863 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71865         [BZ #11577]
71866         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71867         dl_signal_cerror.
71869 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71872         _PC_PIPE_BUF using F_GETPIPE_SZ.
71874 2010-07-05  Roland McGrath  <roland@redhat.com>
71876         * manual/arith.texi (Rounding Functions): Fix rint description
71877         implicit in round description.
71879 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71881         * elf/Makefile: Fix linking for a few tests to make recent linker
71882         happy.
71884 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71886         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71887         $(common-objpfx)libc_nonshared.a.
71889 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71891         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71892         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71893         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71894         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71895         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71896         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71897         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71898         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71913         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71914         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71915         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71916         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71917         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71918         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71919         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71920         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71921         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71922         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71923         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71924         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71940 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71942         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71943         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71944         * string/memmove.c (memmove): Renamed to ...
71945         (MEMMOVE): ...this.  Default to memmove.
71946         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71947         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71948         (END_CHK): Define.
71949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71950         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71951         mempcpy-ssse3-back memmove-ssse3-back.
71952         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71955         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71956         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71957         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71958         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71959         * sysdeps/x86_64/multiarch/memmove.c: New file.
71960         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71961         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71962         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71963         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71964         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71965         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71966         Define.
71967         (index_Fast_Copy_Backward): Define.
71968         (HAS_ARCH_FEATURE): Define.
71969         (HAS_FAST_REP_STRING): Define.
71970         (HAS_FAST_COPY_BACKWARD): Define.
71972 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71974         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71975         Restore proper fallback handling.
71977 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71979         [BZ #11701]
71980         * posix/group_member.c (__group_member): Correct checking loop.
71982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71983         OOM in getpwuid_r correctly.  Return error number when the caller
71984         should return, otherwise -1.
71985         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71986         call returning > 0 value.
71987         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71989 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71991         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71992         libc_nonshared.a from targets in modules-names.
71994 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71996         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71997         requires it.
71999 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72002         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72006 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72008         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72010 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72013         and F_GETPIPE_SZ.
72014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72019         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
72021 2010-06-14  Roland McGrath  <roland@redhat.com>
72023         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72025 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72027         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72028         __REDIRECT followed by __THROW.
72029         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72030         * posix/getopt.h (getopt): Likewise.
72032 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72034         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72035         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72036         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72037         in AT_FLAGS.
72038         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72039         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72041 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72045 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72047         [BZ #11640]
72048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72049         Properly check family and model.
72051 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72053         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72055 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72057         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72059 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72061         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72062         symbol reference.
72064 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72066         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72067         symbol reference.
72069 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72072         and internal_recvmmsg.
72073         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72074         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72075         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72076         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72078         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72079         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72080         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72082 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72084         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72086 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72088         POWER7 optimizations.
72089         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72090         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72092 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72094         * version.h: Update for 2.13 development version.
72096 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72098         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72099         exceptions.  Return 0.
72101 2010-05-07  Roland McGrath  <roland@redhat.com>
72103         * elf/ldconfig.c (main): Add a const.
72105 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72107         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72108         (args_options): Add no-idn option.
72109         (ahosts_keys_int): Add idn_flags to ai_flags.
72110         (parse_option): Handle 'i' option to clear idn_flags.
72112         * malloc/malloc.c (_int_free): Possible race in the most recently
72113         added check.  Only act on the data if no current modification
72114         happened.
72116 See ChangeLog.17 for earlier changes.